[wp-trac] [WordPress Trac] #62373: Coding Standards: esc_attr to esc_url
WordPress Trac
noreply at wordpress.org
Mon Nov 11 15:44:02 UTC 2024
#62373: Coding Standards: esc_attr to esc_url
------------------------------+-------------------------------
Reporter: hiteshhuptechweb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
------------------------------+-------------------------------
Changes (by sabernhardt):
* milestone: Awaiting Review => 6.8
Comment:
#56140 did not replace the function in `user-new.php`, but `esc_url()`
seems more appropriate for comment authors. The comment author URL
requires a valid URL (it adds `http://` to something like 'none').
Changesets related to escaping `newcomment_author_url` include [5543],
[9436], [11104], [11204] and [11739].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62373#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list