Skip to content

Issues: WordPress/WordPress-Coding-Standards

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

PrefixAllGlobals: sniff should check for four-letter prefixes Component: Extra Status: Requirement not met On hold until WPCS supports a particular version of a dependency (PHP, PHP_CodeSniffer, etc.). Type: Enhancement
#2467 opened Jul 20, 2024 by davidperezgar
Enforce handling of WP_Error. Component: Extra Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native Type: Enhancement
#1974 opened Feb 4, 2021 by herregroen
Unsetting a global variable should report an error. Component: Extra Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native Type: Enhancement
#1902 opened Jun 18, 2020 by 9brada6
Check hook callback is not boolean Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Type: Enhancement
#1653 opened Feb 27, 2019 by GaryJones
Check correct args in wp_cache_add and wp_cache_set Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Type: Enhancement
#1512 opened Oct 24, 2018 by rebeccahum
Flag when checked(), selected() etc should be used Component: Extra Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native Type: Enhancement
#1402 opened Jun 29, 2018 by jrfnl
Sniff to detect proper usage of preg_quote() ? Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Type: Enhancement
#1371 opened Jun 9, 2018 by jrfnl
Warn about "doing it wrong" / WP 4.9.6 Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Status: Help wanted Type: Enhancement
#1361 opened May 23, 2018 by jrfnl
Suggestion: new sniff to detect code inefficiencies Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Type: Enhancement
#1315 opened Mar 1, 2018 by jrfnl
Add sniff to check that WP is killed in ajax response functions Component: Extra Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native Type: Enhancement
#1206 opened Oct 20, 2017 by jrfnl
Add sniff to check that WP is killed after wp_(safe_)redirect Component: Extra Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native Type: Enhancement
#1205 opened Oct 20, 2017 by jrfnl
Extra: sniff to check for usage of reserved words Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native
#871 opened Mar 11, 2017 by jrfnl
Extra: Sniff to check for overruling of WP included scripts Component: Extra Focus: WP interoperability Doing things the WP way, prefer using WP functionality over userland/PHP native Type: Enhancement
#867 opened Mar 7, 2017 by jrfnl
Check for encoding values passed to add_query_arg() Component: Extra Focus: Code analysis Sniffs to prevent common mistakes and improve code in general Type: Enhancement
#461 opened Sep 30, 2015 by westonruter
ProTip! Adding no:label will show everything without a label.