[wp-trac] [WordPress Trac] #31675: register_sidebar() without `id` parameter should be _doing_it_wrong()
WordPress Trac
noreply at wordpress.org
Fri Mar 20 18:29:15 UTC 2015
#31675: register_sidebar() without `id` parameter should be _doing_it_wrong()
--------------------------------------+--------------------------
Reporter: markjaquith | Owner: markjaquith
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Widgets | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+--------------------------
Changes (by markjaquith):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"31850"]:
{{{
#!CommitTicketReference repository="" revision="31850"
Trigger `_doing_it_wrong()` if `register_sidebar()` is not passed an `id`
* If you don't pass an `id`, WP sets an auto-increment one for you.
* But this depends on order of sidebar definition.
* Change the order or remove a sidebar? They jumble.
fixes #31675
props tschutter, valendesigns
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31675#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list