[wp-trac] [WordPress Trac] #22781: setUserSetting cannot handle hyphens
WordPress Trac
noreply at wordpress.org
Tue Sep 1 03:56:46 UTC 2015
#22781: setUserSetting cannot handle hyphens
---------------------------------+-----------------------------
Reporter: nacin | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Options, Meta APIs | Version: 2.7
Severity: normal | Resolution: fixed
Keywords: 3.6-early has-patch | Focuses:
---------------------------------+-----------------------------
Changes (by wonderboymusic):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"33840"]:
{{{
#!CommitTicketReference repository="" revision="33840"
User Settings: allow dashes in `get|set_user_setting()` in PHP and
`get|setUserSetting()` in JS.
Add unit tests - there were none. Mock `set_user_setting()` since it won't
run due to `headers_sent()` being `true`.
Fixes #22781.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22781#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list