mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +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:
@@ -108,7 +108,7 @@ do_action( 'admin_enqueue_scripts', $hook_suffix );
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( "admin_print_styles-{$hook_suffix}" );
|
||||
do_action( "admin_print_styles-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Fires when styles are printed for all admin pages.
|
||||
@@ -122,7 +122,7 @@ do_action( 'admin_print_styles' );
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" );
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Fires when scripts are printed for all admin pages.
|
||||
@@ -139,7 +139,7 @@ do_action( 'admin_print_scripts' );
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_head-{$hook_suffix}" );
|
||||
do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Fires in head section for all admin pages.
|
||||
|
||||
Reference in New Issue
Block a user