[wp-trac] [WordPress Trac] #11160: Inconsistancies in Naming and Using Sidebar Names and IDs.
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 20 09:24:59 UTC 2009
#11160: Inconsistancies in Naming and Using Sidebar Names and IDs.
-----------------------------+----------------------------------------------
Reporter: CharlesClarkson | Owner: azaozz
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Widgets | Version: 2.9
Severity: normal | Keywords: has-patch needs-testing
-----------------------------+----------------------------------------------
Comment(by azaozz):
Replying to [comment:5 CharlesClarkson]:
I see your point about `(int) $args`.
Don't think the order of checking the id and name is that important. It's
very unlikely one sidebar's id to match another sidebar's sanitized name
and if that happens it will fail anyways. Perhaps we can put both tests in
the same code block.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11160#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list