[wp-trac] [WordPress Trac] #56667: Coding Standards: Escape 'get_permalink' where appropriate in 'twentyten/functions.php'

WordPress Trac noreply at wordpress.org
Tue Sep 27 13:14:34 UTC 2022


#56667: Coding Standards: Escape 'get_permalink' where appropriate in
'twentyten/functions.php'
------------------------------+-----------------------------
 Reporter:  hztyfoon          |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 In 'wp-content/themes/twentyten/functions.php' there are multiple
 instances where  I think esc_url should be used.

 To me, it's also a basic safety practice to use 'esc_url' where
 appropriate.
 So, I think they should be escaped.

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


More information about the wp-trac mailing list