Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22116, comment 6


Ignore:
Timestamp:
12/11/2015 07:32:10 AM (9 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22116, comment 6

    initial v1  
    11Reproduced with the example above.
    22
    3 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.
     3The issue happens when a sidebar has the same ID as the sanitized name of another sidebar registered earlier. Seems to be an edge case.
    44
    55[attachment:22116.patch] only falls back to searching by name if the ID (which is also the array key) is not found.