Make WordPress Core


Ignore:
Timestamp:
04/25/2012 08:49:57 PM (12 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r20000 r20596  
    15351535            $registration_pages['.*wp-activate.php$'] = $this->index . '?activate=true';
    15361536        }
     1537        $registration_pages['.*wp-register.php$'] = $this->index . '?register=true'; // Deprecated
    15371538
    15381539        // Post
Note: See TracChangeset for help on using the changeset viewer.