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

WordPress Trac noreply at wordpress.org
Thu Apr 9 22:22:19 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 commit  |     Focuses:
------------------------------+--------------------------

Comment (by DrewAPicture):

 Replying to [comment:20 miqrogroove]:
 > I really can't find a reason for throwing a new error when the
 recommended action has no effect.

 There isn't a good reason for throwing a new error ''right now'', other
 than that it paves the way toward actually requiring the `id` parameter in
 the future. My +1 recommendation for the new `_doing_it_wrong()` call
 stands.

 Thank you for the feedback.

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


More information about the wp-trac mailing list