[wp-trac] [WordPress Trac] #60324: Add missing esc_html()

WordPress Trac noreply at wordpress.org
Sat Jan 27 10:52:28 UTC 2024


#60324: Add missing esc_html()
-----------------------------------------+-------------------------------
 Reporter:  nareshbheda                  |       Owner:  audrasjb
     Type:  defect (bug)                 |      Status:  reviewing
 Priority:  normal                       |   Milestone:  6.5
Component:  Customize                    |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:  coding-standards
-----------------------------------------+-------------------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch changes-requested


Comment:

 Given similar instances are escaped, these one should be escaped too, at
 least for better consistency.

 Adding `changes-requested` to take into account comment:3.

 > I also found similar <option elements for bulk actions in WP_List_Table,
 but should this ticket remain focused on the Customizer classes instead of
 searching wp-admin too?

 Yeah I think that's another ticket :)

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


More information about the wp-trac mailing list