Opened 12 months ago
Last modified 12 months ago
#59337 new defect (bug)
Change the escape esc_attr() to esc_url()
Reported by: | 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)
This ticket was mentioned in PR #5199 on WordPress/wordpress-develop by @truptikanzariya.
12 months ago
#1
#2
@
12 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 12 months ago
by
(next)
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/59337