[wp-trac] [WordPress Trac] #31675: register_sidebar() without `id` parameter should be _doing_it_wrong()
WordPress Trac
noreply at wordpress.org
Tue Apr 7 19:53:03 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:
------------------------------+--------------------------
Changes (by DrewAPicture):
* keywords: has-patch => has-patch commit
Comment:
[attachment:31675.6.diff] adjusts the new string just a little bit, and
adds the other two placeholders to the translator comment, where %1$s is
`id`, %2$s is the sidebar name, %3$s is the sidebar id:
> No %1$s was set in the arguments array for the "%2$s" sidebar,
defaulting to "%3$s". Manually set the %1$s to "%3$s" to silence this
notice and keep existing sidebar content.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31675#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list