mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored.
See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45599 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2848,7 +2848,7 @@ function current_theme_supports( $feature ) {
|
||||
* @param array $args Array of arguments for the feature.
|
||||
* @param string $feature The theme feature.
|
||||
*/
|
||||
return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] );
|
||||
return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user