Implement wp_login_url() and wp_registration_url() in places where wp-login.php is currently hard-coded.
See #31495 Props GregLone Built from https://develop.svn.wordpress.org/trunk@34213 git-svn-id: http://core.svn.wordpress.org/trunk@34177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -14,7 +14,7 @@ require( dirname(__FILE__) . '/wp-load.php' );
|
||||
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
|
||||
|
||||
if ( !is_multisite() ) {
|
||||
wp_redirect( site_url( '/wp-login.php?action=register' ) );
|
||||
wp_redirect( wp_registration_url() );
|
||||
die();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user