[wp-trac] [WordPress Trac] #55496: Escaping function missing.

WordPress Trac noreply at wordpress.org
Fri Apr 1 05:27:45 UTC 2022


#55496: Escaping function missing.
-------------------------------------+-----------------------------
 Reporter:  chintan1896              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.0
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  administration
-------------------------------------+-----------------------------
Changes (by mukesh27):

 * keywords:  has-patch => has-patch needs-refresh
 * component:  General => Menus
 * milestone:  Awaiting Review => 6.0


Comment:

 Hi there!

 Thanks for the ticket and patch.

 Can you please update the escape function for
 https://github.com/WordPress/WordPress/blob/master/wp-admin/menu-
 header.php#L132 from `esc_attr` to `esc_url`?

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


More information about the wp-trac mailing list