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

    r45583 r45599  
    19251925
    19261926    /** This action is documented in wp-admin/admin-header.php */
    1927     do_action( "admin_print_styles-$hook_suffix" );
     1927    do_action( "admin_print_styles-$hook_suffix" );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    19281928
    19291929    /** This action is documented in wp-admin/admin-header.php */
     
    19311931
    19321932    /** This action is documented in wp-admin/admin-header.php */
    1933     do_action( "admin_print_scripts-$hook_suffix" );
     1933    do_action( "admin_print_scripts-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    19341934
    19351935    /** This action is documented in wp-admin/admin-header.php */
     
    19371937
    19381938    /** This action is documented in wp-admin/admin-header.php */
    1939     do_action( "admin_head-$hook_suffix" );
     1939    do_action( "admin_head-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    19401940
    19411941    /** This action is documented in wp-admin/admin-header.php */
     
    19981998
    19991999    /** This action is documented in wp-admin/admin-footer.php */
    2000     do_action( "admin_print_footer_scripts-$hook_suffix" );
     2000    do_action( "admin_print_footer_scripts-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    20012001
    20022002    /** This action is documented in wp-admin/admin-footer.php */
Note: See TracChangeset for help on using the changeset viewer.