[wp-trac] [WordPress Trac] #59141: Escaping function is missing in $post_edit_link

WordPress Trac noreply at wordpress.org
Fri Aug 18 14:48:25 UTC 2023


#59141: Escaping function is missing in $post_edit_link
------------------------------+---------------------
 Reporter:  nidhidhandhukiya  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.4
Component:  Revisions         |     Version:  6.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------
Changes (by mukesh27):

 * keywords:   => has-patch
 * component:  Administration => Revisions
 * milestone:  Awaiting Review => 6.4


Comment:

 Thanks @nidhidhandhukiya for ticket and patch.

 @Presskopp It's better to escape the output of `get_edit_post_link`.

 Patch works fine in my test. @costdev you could commit you first one 😉

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


More information about the wp-trac mailing list