[wp-trac] [WordPress Trac] #23934: Calling sidebar two times, widgets have the same ID
WordPress Trac
noreply at wordpress.org
Fri Feb 21 21:19:04 UTC 2014
#23934: Calling sidebar two times, widgets have the same ID
--------------------------+------------------------------
Reporter: alexvorn2 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: close | Focuses: template
--------------------------+------------------------------
Changes (by Ipstenu):
* keywords: reporter-feedback close => close
Comment:
Thanks for the report alexvorn2. Sorry you never got a response for so
long.
While you're certainly correct that the ID shouldn't be reused, the use-
case of someone calling the same widget-area twice is exceptionally rare
(and possibly not permissible for acceptance into the wporg theme
repository). I suggest this as wontfix since the proper (and expected) use
would be to not reuse a widget area on the same page. I could see footer1
(show only on pages) and footer2 (show only on posts) but plugins like
widget visibility seem more appropriate for that.
Basically this error would be as expected, you're calling the same sidebar
twice.
Plugin that may help you here: http://wordpress.org/plugins/duplicate-
widget/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23934#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list