[wp-trac] [WordPress Trac] #23423: sanitize_title() in dynamic_sidebar() restricts the use of specific characters for sidebar IDs

WordPress Trac noreply at wordpress.org
Thu Sep 24 00:29:55 UTC 2015


#23423: sanitize_title() in dynamic_sidebar() restricts the use of specific
characters for sidebar IDs
-----------------------------+------------------------
 Reporter:  paulvandermeijs  |       Owner:  chriscct7
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.4
Component:  Widgets          |     Version:  2.2
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------
Changes (by wonderboymusic):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34465"]:
 {{{
 #!CommitTicketReference repository="" revision="34465"
 Widgets: when passing a string arg value to `dynamic_sidebar()`, don't
 reset `$index` when the arg's sanitized value matches the sanitized name
 of a sidebar.

 Adds unit test.

 Props tyxla, fjarrett.
 Fixes #23423.
 }}}

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


More information about the wp-trac mailing list