Changeset 45599 for trunk/src/wp-admin/admin.php
- Timestamp:
- 07/05/2019 01:44:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r45440 r45599 229 229 * @since 2.1.0 230 230 */ 231 do_action( "load-{$page_hook}" ); 231 do_action( "load-{$page_hook}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 232 232 if ( ! isset( $_GET['noheader'] ) ) { 233 233 require_once( ABSPATH . 'wp-admin/admin-header.php' ); … … 273 273 * @since 1.5.0 274 274 */ 275 do_action( "load-{$plugin_page}" ); 275 do_action( "load-{$plugin_page}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 276 276 277 277 if ( ! isset( $_GET['noheader'] ) ) { … … 314 314 * @since 3.5.0 315 315 */ 316 do_action( "load-importer-{$importer}" ); 316 do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 317 317 318 318 $parent_file = 'tools.php'; … … 363 363 * @since 2.1.0 364 364 */ 365 do_action( "load-{$pagenow}" ); 365 do_action( "load-{$pagenow}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 366 366 367 367 /* … … 371 371 if ( $typenow == 'page' ) { 372 372 if ( $pagenow == 'post-new.php' ) { 373 do_action( 'load-page-new.php' ); 373 do_action( 'load-page-new.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 374 374 } elseif ( $pagenow == 'post.php' ) { 375 do_action( 'load-page.php' ); 375 do_action( 'load-page.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 376 376 } 377 377 } elseif ( $pagenow == 'edit-tags.php' ) { 378 378 if ( $taxnow == 'category' ) { 379 do_action( 'load-categories.php' ); 379 do_action( 'load-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 380 380 } elseif ( $taxnow == 'link_category' ) { 381 do_action( 'load-edit-link-categories.php' ); 381 do_action( 'load-edit-link-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 382 382 } 383 383 } elseif ( 'term.php' === $pagenow ) { 384 do_action( 'load-edit-tags.php' ); 384 do_action( 'load-edit-tags.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 385 385 } 386 386 }
Note: See TracChangeset
for help on using the changeset viewer.