[wp-trac] [WordPress Trac] #31675: register_sidebar() without `id` parameter should be _doing_it_wrong()

WordPress Trac noreply at wordpress.org
Mon Apr 6 17:13:36 UTC 2015


#31675: register_sidebar() without `id` parameter should be _doing_it_wrong()
-------------------------+--------------------------
 Reporter:  markjaquith  |       Owner:  markjaquith
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.2
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------

Comment (by markjaquith):

 There's a more verbose message that identified the problematic sidebar by
 name, says what auto-increment `id` it has defaulted to, and suggests that
 the dev hardcode that auto-increment `id` as a manual `id`, which will
 cement it protect it against `id` "drift".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31675#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list