[wp-trac] [WordPress Trac] #58387: Use esc_attr() in _navigation_markup()

WordPress Trac noreply at wordpress.org
Tue May 23 17:59:25 UTC 2023


#58387: Use esc_attr() in _navigation_markup()
--------------------------+--------------------
 Reporter:  sabernhardt   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.3
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 Follow-up to #47123 / [46236]

 The `esc_attr` escaping function should be more appropriate for the `aria-
 label` attribute than `esc_html`.
 source:/tags/6.2/src/wp-includes/link-template.php#L3024

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58387>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list