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:
@@ -333,10 +333,10 @@ final class WP_Customize_Widgets {
|
||||
*/
|
||||
public function customize_controls_init() {
|
||||
/** This action is documented in wp-admin/includes/ajax-actions.php */
|
||||
do_action( 'load-widgets.php' );
|
||||
do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/includes/ajax-actions.php */
|
||||
do_action( 'widgets.php' );
|
||||
do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/widgets.php */
|
||||
do_action( 'sidebar_admin_setup' );
|
||||
@@ -643,7 +643,7 @@ final class WP_Customize_Widgets {
|
||||
*/
|
||||
public function print_styles() {
|
||||
/** This action is documented in wp-admin/admin-header.php */
|
||||
do_action( 'admin_print_styles-widgets.php' );
|
||||
do_action( 'admin_print_styles-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/admin-header.php */
|
||||
do_action( 'admin_print_styles' );
|
||||
@@ -657,7 +657,7 @@ final class WP_Customize_Widgets {
|
||||
*/
|
||||
public function print_scripts() {
|
||||
/** This action is documented in wp-admin/admin-header.php */
|
||||
do_action( 'admin_print_scripts-widgets.php' );
|
||||
do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/admin-header.php */
|
||||
do_action( 'admin_print_scripts' );
|
||||
@@ -860,13 +860,13 @@ final class WP_Customize_Widgets {
|
||||
*/
|
||||
public function print_footer_scripts() {
|
||||
/** This action is documented in wp-admin/admin-footer.php */
|
||||
do_action( 'admin_print_footer_scripts-widgets.php' );
|
||||
do_action( 'admin_print_footer_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/admin-footer.php */
|
||||
do_action( 'admin_print_footer_scripts' );
|
||||
|
||||
/** This action is documented in wp-admin/admin-footer.php */
|
||||
do_action( 'admin_footer-widgets.php' );
|
||||
do_action( 'admin_footer-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1538,10 +1538,10 @@ final class WP_Customize_Widgets {
|
||||
}
|
||||
|
||||
/** This action is documented in wp-admin/includes/ajax-actions.php */
|
||||
do_action( 'load-widgets.php' );
|
||||
do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/includes/ajax-actions.php */
|
||||
do_action( 'widgets.php' );
|
||||
do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
|
||||
/** This action is documented in wp-admin/widgets.php */
|
||||
do_action( 'sidebar_admin_setup' );
|
||||
|
||||
Reference in New Issue
Block a user