Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#59337 new defect (bug)

Change the escape esc_attr() to esc_url()

Reported by: truptikanzariya's profile truptikanzariya Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: coding-standards Cc:


Change the esc_attr() function to esc_url() in "wp-admin/user-edit.php"

Change History (2)

#2 @jakariaistauk
5 months ago

hi @truptikanzariya
Your change to use esc_url instead of esc_attr makes a lot of sense. It's a safer option for handling URLs in this context. on the same file "wp-admin/user-edit.php:261" esc_url is used instead of esc_attr. thanks for your change.

Version 0, edited 5 months ago by jakariaistauk (next)
Note: See TracTickets for help on using tickets.