-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Label
Projects
Milestones
Assignee
Sort
Issues list
Add sniff to warn about missing Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
$autoload
parameter when calling relevant WordPress option functions
Component: Extra
Focus: Code analysis
#2473
opened Aug 12, 2024 by
felixarntz
Extra: add sniff to discourage the use of "long" closures
Component: Extra
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Status: Review ready
Type: Enhancement
Alert when add_filter is used with a function with type hinting
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
#2014
opened Nov 3, 2021 by
Mte90
Improving the meta_query sniff
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
#1871
opened Mar 4, 2020 by
rmccue
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
PHP as Module vs CGI - Warning on using features with different results
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
#1651
opened Feb 21, 2019 by
apermo
Check correct args in Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
wp_cache_add
and wp_cache_set
Component: Extra
Focus: Code analysis
#1512
opened Oct 24, 2018 by
rebeccahum
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
Add sniff to detect double quotes in database queries
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Focus: DB
Type: Enhancement
#1332
opened Mar 30, 2018 by
moorscode
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
Flag use of 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
Type: Enhancement
the_title()
within a HTML element attribute
Focus: Code analysis
#1235
opened Nov 21, 2017 by
danielbachhuber
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
Type: Enhancement
#871
opened Mar 11, 2017 by
jrfnl
Sniff for correct usage of add_action vs add_filter
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
#713
opened Nov 14, 2016 by
johnbillion
$wpdb->(insert|update|delete|replace)() return value shouldn't be used in boolean comparisons
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
#674
opened Aug 30, 2016 by
JDGrimes
Some regex best practices
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
Upstream: PHPCSExtra
#632
opened Jul 25, 2016 by
jrfnl
Add arithmetic bracketing sniff ?
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
Type: Question
#589
opened Jul 12, 2016 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
Flag echo usage errors when selected(), disabled(), checked() helpers
Component: Extra
Focus: Code analysis
Sniffs to prevent common mistakes and improve code in general
Type: Enhancement
#346
opened Apr 6, 2015 by
westonruter
Create sniff to make sure that wp_reset_postdata() is called after sub-loop
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
Type: Enhancement
#34
opened Apr 8, 2013 by
westonruter
ProTip!
Mix and match filters to narrow down what you’re looking for.