[wp-trac] [WordPress Trac] #35898: Customizer eats backslashes when sanitizing (including updates for nav menus and some widgets)

WordPress Trac noreply at wordpress.org
Tue Feb 23 01:01:46 UTC 2016


#35898: Customizer eats backslashes when sanitizing (including updates for nav
menus and some widgets)
------------------------------+--------------------------
 Reporter:  westonruter       |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  Customize         |     Version:  2.7
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"36622"]:
 {{{
 #!CommitTicketReference repository="" revision="36622"
 Customize: Prevent dropping backslashes from input on general settings and
 settings for nav menus and some widgets.

 Ensures that intentional backslashes (e.g. "\o/") can be used in:

 * Site title
 * Site description
 * Nav menu name
 * Custom Menu widget title
 * Tag Cloud widget title
 * Text widget body if can't `unfiltered_html`

 The latter three are also fixed on the widgets admin page.

 Fixes #35898.
 }}}

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


More information about the wp-trac mailing list