[wp-trac] [WordPress Trac] #22781: setUserSetting cannot handle hyphens
WordPress Trac
noreply at wordpress.org
Thu Dec 6 06:18:40 UTC 2012
#22781: setUserSetting cannot handle hyphens
----------------------------+--------------------------
Reporter: nacin | Type: defect (bug)
Status: new | Priority: normal
Milestone: Future Release | Component: General
Version: 2.7 | Severity: normal
Keywords: |
----------------------------+--------------------------
sanitize_key() can, setUserSetting should be able to as well. It's not
that sanitize_key() plays a role, but it sets expectations for what is
allowed in keys across core. Both keys and values should be able to accept
a hyphen.
The post-thumbnail image size cannot be remembered, for example, if it is
added to image_size_names_choose.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22781>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list