Make WordPress Core


Ignore:
Timestamp:
07/05/2019 01:44:41 AM (5 years ago)
Author:
pento
Message:

Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r45590 r45599  
    334334    public function customize_controls_init() {
    335335        /** This action is documented in wp-admin/includes/ajax-actions.php */
    336         do_action( 'load-widgets.php' );
     336        do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    337337
    338338        /** This action is documented in wp-admin/includes/ajax-actions.php */
    339         do_action( 'widgets.php' );
     339        do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    340340
    341341        /** This action is documented in wp-admin/widgets.php */
     
    644644    public function print_styles() {
    645645        /** This action is documented in wp-admin/admin-header.php */
    646         do_action( 'admin_print_styles-widgets.php' );
     646        do_action( 'admin_print_styles-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    647647
    648648        /** This action is documented in wp-admin/admin-header.php */
     
    658658    public function print_scripts() {
    659659        /** This action is documented in wp-admin/admin-header.php */
    660         do_action( 'admin_print_scripts-widgets.php' );
     660        do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    661661
    662662        /** This action is documented in wp-admin/admin-header.php */
     
    861861    public function print_footer_scripts() {
    862862        /** This action is documented in wp-admin/admin-footer.php */
    863         do_action( 'admin_print_footer_scripts-widgets.php' );
     863        do_action( 'admin_print_footer_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    864864
    865865        /** This action is documented in wp-admin/admin-footer.php */
     
    867867
    868868        /** This action is documented in wp-admin/admin-footer.php */
    869         do_action( 'admin_footer-widgets.php' );
     869        do_action( 'admin_footer-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    870870    }
    871871
     
    15391539
    15401540        /** This action is documented in wp-admin/includes/ajax-actions.php */
    1541         do_action( 'load-widgets.php' );
     1541        do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    15421542
    15431543        /** This action is documented in wp-admin/includes/ajax-actions.php */
    1544         do_action( 'widgets.php' );
     1544        do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    15451545
    15461546        /** This action is documented in wp-admin/widgets.php */
Note: See TracChangeset for help on using the changeset viewer.