[wp-trac] [WordPress Trac] #29095: The get/set_user_setting fails on multisite/network with sub-domains

WordPress Trac noreply at wordpress.org
Sat Aug 2 01:09:03 UTC 2014


#29095: The get/set_user_setting fails on multisite/network with sub-domains
--------------------------------+-----------------
 Reporter:  azaozz              |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  4.0
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------
 When both the main site (network.domain) and a particular site
 (site.network.domain) set the `wp-settings-123` cookie for a user, both
 cookies are send by the browsers when that user visits the sub-domain
 site. This results in one cookie overloading the other in the `$_COOKIE`
 array, as both have the same name.

 The end result is that user settings like default editor, image size and
 link when inserting in a post, menu folded/unfolded, etc. are not set
 properly on page load.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29095>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list