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

WordPress Trac noreply at wordpress.org
Tue Sep 27 22:24:29 UTC 2022


#56667: Twenty Ten: Escape 'get_permalink' where appropriate in
'twentyten/functions.php'
------------------------------+-------------------------------
 Reporter:  hztyfoon          |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.1
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54341" 54341]:
 {{{
 #!CommitTicketReference repository="" revision="54341"
 Twenty Ten: Escape `get_permalink()` where appropriate in `functions.php`
 file.

 This changeset adds missing `esc_url()` to some instances of
 `get_permalink()` used in Twenty Ten, as per WordPress Coding Standards.

 Props hztyfoon, robinwpdeveloper, mukesh27, rudlinkon, fuadragib01.
 Fixes #56667.
 }}}

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


More information about the wp-trac mailing list