Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 23, 2025

Description

NamingConventions/PrefixAllGlobals: update the functions list based on WP 6.9.0-RC2

Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue #1803.

WP/ClassNameCase: update the class lists based on WP 6.9.0-RC2

Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue #1803.

WP/DeprecatedFunctions: update the functions list based on WP 6.9.0-RC2

Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue #1803.

Includes tests.

WP/DeprecatedParameters: update the functions list based on WP 6.9.0-RC2

Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue #1803.

Includes tests.

Various sniffs: update docs

... to document when the lists were verified against WP Core last.

Suggested changelog entry

  • WordPress.NamingConventions.PrefixAllGlobals has been updated to recognize pluggable functions introduced in WP up to WP 6.9.0.
  • WordPress.WP.ClassNameCase has been updated to recognize classes introduced in WP up to WP 6.9.0.
  • WordPress.WP.DeprecatedFunctions now detects functions deprecated in WordPress up to WP 6.9.0.
  • WordPress.WP.DeprecatedParameters now detects parameters deprecated in WordPress up to WP 6.9.0.

…n WP 6.9.0-RC2

Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue 1803.
Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue 1803.
Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue 1803.

Includes tests.
Based on a scan of WP Core at commit WordPress/wordpress-develop@87e656 using a preliminary sniff created for issue 1803.

Includes tests.
... to document when the lists were verified against WP Core last.
@jrfnl
Copy link
Member Author

jrfnl commented Nov 23, 2025

P.S.: update of the minimum_wp_version will follow in a separate PR.

Copy link
Collaborator

@rodrigoprimo rodrigoprimo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants