Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored.
See #47632. Built from https://develop.svn.wordpress.org/trunk@45599 git-svn-id: http://core.svn.wordpress.org/trunk@45410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -80,7 +80,7 @@ do_action( 'admin_footer', '' );
|
||||
*
|
||||
* @since 4.6.0
|
||||
*/
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/**
|
||||
* Prints any scripts and data queued for the footer.
|
||||
@@ -97,7 +97,7 @@ do_action( 'admin_print_footer_scripts' );
|
||||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( "admin_footer-{$hook_suffix}" );
|
||||
do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
// get_site_option() won't exist when auto upgrading from <= 2.7
|
||||
if ( function_exists( 'get_site_option' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user