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/media.php

    r45583 r45599  
    520520     * @since 2.9.0
    521521     */
    522     do_action( 'admin_print_styles-media-upload-popup' );
     522    do_action( 'admin_print_styles-media-upload-popup' );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    523523
    524524    /** This action is documented in wp-admin/admin-header.php */
     
    530530     * @since 2.9.0
    531531     */
    532     do_action( 'admin_print_scripts-media-upload-popup' );
     532    do_action( 'admin_print_scripts-media-upload-popup' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    533533
    534534    /** This action is documented in wp-admin/admin-header.php */
     
    541541     * @since 2.9.0
    542542     */
    543     do_action( 'admin_head-media-upload-popup' );
     543    do_action( 'admin_head-media-upload-popup' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    544544
    545545    /** This action is documented in wp-admin/admin-header.php */
     
    20052005     * @since 2.6.0
    20062006     */
    2007     do_action( 'pre-upload-ui' );
     2007    do_action( 'pre-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    20082008
    20092009    $post_params = array(
     
    20842084     * @since 3.3.0
    20852085     */
    2086     do_action( 'pre-plupload-upload-ui' );
     2086    do_action( 'pre-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    20872087    ?>
    20882088<div id="drag-drop-area">
     
    21002100     * @since 3.3.0
    21012101     */
    2102     do_action( 'post-plupload-upload-ui' );
     2102    do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    21032103    ?>
    21042104</div>
     
    21112111     * @since 2.6.0
    21122112     */
    2113     do_action( 'pre-html-upload-ui' );
     2113    do_action( 'pre-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    21142114    ?>
    21152115    <p id="async-upload-wrap">
     
    21262126     * @since 2.6.0
    21272127     */
    2128     do_action( 'post-html-upload-ui' );
     2128    do_action( 'post-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    21292129    ?>
    21302130</div>
     
    21402140     * @since 2.6.0
    21412141     */
    2142     do_action( 'post-upload-ui' );
     2142    do_action( 'post-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    21432143}
    21442144
Note: See TracChangeset for help on using the changeset viewer.