[wp-trac] [WordPress Trac] #56064: PHPCS issue in wp-admin/include/media.php .

WordPress Trac noreply at wordpress.org
Fri Jun 24 07:05:52 UTC 2022


#56064: PHPCS issue in wp-admin/include/media.php .
-------------------------+-----------------------------
 Reporter:  smit08       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 Used escaping function esc_attr instead of esc_url.


 {{{
 $html = '<a href="' . esc_attr( $url ) . '"' . $rel . '>' . $html .
 '</a>';
 }}}

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


More information about the wp-trac mailing list