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-admin/includes/ajax-actions.php

    r45583 r45599  
    21832183     * @since 2.8.0
    21842184     */
    2185     do_action( 'load-widgets.php' );
     2185    do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    21862186
    21872187    /**
     
    21902190     * @since 2.8.0
    21912191     */
    2192     do_action( 'widgets.php' );
     2192    do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    21932193
    21942194    /** This action is documented in wp-admin/widgets.php */
     
    22932293    unset( $_POST['removeinactivewidgets'], $_POST['action'] );
    22942294    /** This action is documented in wp-admin/includes/ajax-actions.php */
    2295     do_action( 'load-widgets.php' );
     2295    do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    22962296    /** This action is documented in wp-admin/includes/ajax-actions.php */
    2297     do_action( 'widgets.php' );
     2297    do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    22982298    /** This action is documented in wp-admin/widgets.php */
    22992299    do_action( 'sidebar_admin_setup' );
Note: See TracChangeset for help on using the changeset viewer.