[wp-trac] [WordPress Trac] #11160: Inconsistancies in Naming and Using Sidebar Names and IDs.
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 6 22:07:24 UTC 2012
#11160: Inconsistancies in Naming and Using Sidebar Names and IDs.
-------------------------------------------------+-------------------------
Reporter: CharlesClarkson | Owner: azaozz
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Widgets | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- |
tests 3.4-early |
-------------------------------------------------+-------------------------
Comment (by CharlesClarkson):
Replying to [comment:25 rofflox]:
> I'm using the latest trunk (3.5-alpha-21157) and I've stepped into an
issue using register_sidebar() with an ID in camelCase format.
IIRC that is one of the problems with the current IDs. If possible, you
should only use lowercase letters and numbers with the _ or - and the ID
can only start with a letter: [a-z][a-z0-9_-]+
HTH,
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11160#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list