[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 20:27:34 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:  has-patch     |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 3singes]:
 > That's why setcookie() doesn't work: you can't call it with a
 COOKIE_DOMAIN different from the domain the script is accessed from
 (security reason, I think).

 Note that you can define `COOKIE_DOMAIN` in `wp-config.php` (not sure
 about security implications though).

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


More information about the wp-trac mailing list