mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Remove wp-register.php.
* Don't remove it on update. If you have it now, you'll keep it. New installs won't get it. * Peform a redirect using rewrite + canonical to the new location, if the file doesn't exist. props SergeyBiryukov. fixes #18544. git-svn-id: https://develop.svn.wordpress.org/trunk@20596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1534,6 +1534,7 @@ class WP_Rewrite {
|
||||
$registration_pages['.*wp-signup.php$'] = $this->index . '?signup=true';
|
||||
$registration_pages['.*wp-activate.php$'] = $this->index . '?activate=true';
|
||||
}
|
||||
$registration_pages['.*wp-register.php$'] = $this->index . '?register=true'; // Deprecated
|
||||
|
||||
// Post
|
||||
$post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK, false, true, false, false );
|
||||
|
||||
Reference in New Issue
Block a user