[wp-trac] [WordPress Trac] #56065: PHPCS issue in wp-load.php .
WordPress Trac
noreply at wordpress.org
Fri Jun 24 11:58:11 UTC 2022
#56065: PHPCS issue in wp-load.php .
-------------------------------+-------------------------------
Reporter: hilayt24 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: coding-standards
-------------------------------+-------------------------------
Changes (by SergeyBiryukov):
* keywords: => reporter-feedback
* focuses: => coding-standards
* component: General => Bootstrap/Load
Comment:
Hi there, welcome back to WordPress Trac! Thanks for the ticket.
Do you get any PHPCS warnings from this file? When running WPCS checks for
WordPress core with the default [source:tags/6.0/phpcs.xml.dist
phpcs.xml.dist] file, `wp-load.php` appears to pass all the checks
successfully in my testing.
Since we're directly checking for `setup-config` appearing anywhere in
`$_SERVER['REQUEST_URI']`, I think it would not matter here whether it's
slashed or not.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56065#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list