[wp-trac] [WordPress Trac] #63320: Sanitize key parameter in activation flow to enhance security
WordPress Trac
noreply at wordpress.org
Mon Apr 21 15:03:53 UTC 2025
#63320: Sanitize key parameter in activation flow to enhance security
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
khushipatel15 |
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Security | Version: 6.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance, privacy, coding-
| standards, php-compatibility
-------------------------+-------------------------------------------------
Comment (by narenin):
Welcome to the core trac @khushipatel15
The PR looks good to me but we should add space after opening **(** and
closing of **)** as per PHPCS coding standards so
{{{
sanitize_text_field($_GET['key'])
}}}
Should be
{{{
sanitize_text_field( $_GET['key'] )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63320#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list