Make WordPress Core

Opened 13 months ago

Last modified 13 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:

Description

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

Change History (2)

#2 @jakariaistauk
13 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.

Last edited 13 months ago by jakariaistauk (previous) (diff)
Note: See TracTickets for help on using tickets.