[wp-trac] [WordPress Trac] #18824: Password protected pages don't work if site address is different from wordpress address

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 9 19:01:51 UTC 2011


#18824: Password protected pages don't work if site address is different from
wordpress address
--------------------------+------------------------------
 Reporter:  3singes       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by nacin):

 * keywords:  has-patch dev-feedback =>


Comment:

 siteurl indicates where the files are. Example: www.example.com is home,
 example.com/wordpress is siteurl. So this patch won't work.

 I think the fix might just be to use COOKIE_DOMAIN in setcookie(), which
 should be correct.

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


More information about the wp-trac mailing list