[wp-trac] [WordPress Trac] #18544: Remove wp-register.php

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 11 22:03:56 UTC 2012


#18544: Remove wp-register.php
------------------------------+------------------
 Reporter:  christopherross   |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  General           |     Version:  3.3
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by christopherross):

 @SergeyBiryukov / @Nacin would it be possible to remove the wp-pass.php
 file using the same approach? Chris

 if ( 'wp-pass.php' == basename( $redirect['path'] ) ) {
     // 10 days
     setcookie('wp-postpass_' . COOKIEHASH, stripslashes(
 $_POST['post_password'] ), time() + 864000, COOKIEPATH);
     wp_safe_redirect(wp_get_referer());
     die();
 }

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18544#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list