[wp-trac] [WordPress Trac] #22116: bug in dynamic_sidebar function
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 8 10:45:18 UTC 2012
#22116: bug in dynamic_sidebar function
--------------------------+------------------------------
Reporter: alexvorn2 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.4.2
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback => has-patch
Comment:
Reproduced with the example above.
The issue happens when a widget has the same ID as the sanitized name of
another widget registered earlier. Seems to be an edge case.
[attachment:22116.patch] only falls back to searching by name if the ID
(which is also the array key) is not found.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22116#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list