[wp-trac] [WordPress Trac] #27878: Custom Menu widget can't be previewed without changing a field

WordPress Trac noreply at wordpress.org
Thu Apr 24 22:47:12 UTC 2014


#27878: Custom Menu widget can't be previewed without changing a field
-----------------------------------+--------------------------
 Reporter:  kucrut                 |       Owner:  markjaquith
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  3.9.1
Component:  Widgets                |     Version:  3.9
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+--------------------------

Comment (by westonruter):

 Replying to [comment:12 nacin]:
 > What's the esc_html() for?

 In `esc_html( $menu->name )`? Just for good measure, to prevent any
 possibility of the value introducing malformed markup.

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


More information about the wp-trac mailing list