[wp-trac] [WordPress Trac] #58182: Use esc_url in default_password_nag()

WordPress Trac noreply at wordpress.org
Mon Apr 24 10:42:03 UTC 2023


#58182: Use esc_url in default_password_nag()
------------------------------+-------------------------------
 Reporter:  utsav72640        |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  6.3
Component:  Users             |     Version:  2.8
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch commit
 * component:  General => Users


Comment:

 Hello and thanks for the ticket and patch,

 As the result of `get_edit_profile_url()` can be filtered, let's escape it
 properly.

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


More information about the wp-trac mailing list