[wp-trac] [WordPress Trac] #29095: The get/set_user_setting fails on multisite/network with sub-domains
WordPress Trac
noreply at wordpress.org
Tue Aug 12 23:07:20 UTC 2014
#29095: The get/set_user_setting fails on multisite/network with sub-domains
--------------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------------+-----------------------
Changes (by azaozz):
* status: closed => reopened
* resolution: fixed =>
Comment:
Ugh, this was actually broken by [28895], more specifically by adding
`COOKIE_DOMAIN` to the `'wp-settings-' . $user_id` cookie...
[http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Path Reference]:
"... However, there is a difference between a cookie set from foo.com
without a domain, and a cookie set with the foo.com domain. In the former
case, the cookie will only be sent for requests to foo.com. In the latter
case, all sub domains are also included."
Seems some of this needs to be reverted.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29095#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list