Changeset 45881
- Timestamp:
- 08/22/2019 07:07:57 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-custom-background.php
r45662 r45881 68 68 } 69 69 70 add_action( "load- $page", array( $this, 'admin_load' ) );71 add_action( "load- $page", array( $this, 'take_action' ), 49 );72 add_action( "load- $page", array( $this, 'handle_upload' ), 49 );70 add_action( "load-{$page}", array( $this, 'admin_load' ) ); 71 add_action( "load-{$page}", array( $this, 'take_action' ), 49 ); 72 add_action( "load-{$page}", array( $this, 'handle_upload' ), 49 ); 73 73 74 74 if ( $this->admin_header_callback ) { 75 add_action( "admin_head- $page", $this->admin_header_callback, 51 );75 add_action( "admin_head-{$page}", $this->admin_header_callback, 51 ); 76 76 } 77 77 } -
trunk/src/wp-admin/includes/class-custom-image-header.php
r45654 r45881 76 76 } 77 77 78 add_action( "admin_print_scripts- $page", array( $this, 'js_includes' ) );79 add_action( "admin_print_styles- $page", array( $this, 'css_includes' ) );80 add_action( "admin_head- $page", array( $this, 'help' ) );81 add_action( "admin_head- $page", array( $this, 'take_action' ), 50 );82 add_action( "admin_head- $page", array( $this, 'js' ), 50 );78 add_action( "admin_print_scripts-{$page}", array( $this, 'js_includes' ) ); 79 add_action( "admin_print_styles-{$page}", array( $this, 'css_includes' ) ); 80 add_action( "admin_head-{$page}", array( $this, 'help' ) ); 81 add_action( "admin_head-{$page}", array( $this, 'take_action' ), 50 ); 82 add_action( "admin_head-{$page}", array( $this, 'js' ), 50 ); 83 83 if ( $this->admin_header_callback ) { 84 add_action( "admin_head- $page", $this->admin_header_callback, 51 );84 add_action( "admin_head-{$page}", $this->admin_header_callback, 51 ); 85 85 } 86 86 } -
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r45583 r45881 205 205 206 206 /** This filter is documented in wp-admin/includes/class-wp-ms-themes-list-table.php */ 207 $actions = apply_filters( "theme_action_links_ $stylesheet", $actions, $theme, 'all' );207 $actions = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, 'all' ); 208 208 $delete_action = isset( $actions['delete'] ) ? '<div class="delete-theme">' . $actions['delete'] . '</div>' : ''; 209 209 unset( $actions['delete'] ); -
trunk/src/wp-admin/includes/template.php
r45873 r45881 1959 1959 1960 1960 /** This action is documented in wp-admin/admin-header.php */ 1961 do_action( "admin_print_styles- $hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores1961 do_action( "admin_print_styles-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1962 1962 1963 1963 /** This action is documented in wp-admin/admin-header.php */ … … 1965 1965 1966 1966 /** This action is documented in wp-admin/admin-header.php */ 1967 do_action( "admin_print_scripts- $hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores1967 do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1968 1968 1969 1969 /** This action is documented in wp-admin/admin-header.php */ … … 1971 1971 1972 1972 /** This action is documented in wp-admin/admin-header.php */ 1973 do_action( "admin_head- $hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores1973 do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1974 1974 1975 1975 /** This action is documented in wp-admin/admin-header.php */ … … 2028 2028 2029 2029 /** This action is documented in wp-admin/admin-footer.php */ 2030 do_action( "admin_print_footer_scripts- $hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores2030 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2031 2031 2032 2032 /** This action is documented in wp-admin/admin-footer.php */ -
trunk/src/wp-admin/includes/update.php
r45599 r45881 358 358 $plugins = array_keys( $plugins->response ); 359 359 foreach ( $plugins as $plugin_file ) { 360 add_action( "after_plugin_row_ $plugin_file", 'wp_plugin_update_row', 10, 2 );360 add_action( "after_plugin_row_{$plugin_file}", 'wp_plugin_update_row', 10, 2 ); 361 361 } 362 362 } … … 546 546 547 547 foreach ( $themes as $theme ) { 548 add_action( "after_theme_row_ $theme", 'wp_theme_update_row', 10, 2 );548 add_action( "after_theme_row_{$theme}", 'wp_theme_update_row', 10, 2 ); 549 549 } 550 550 } -
trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php
r45768 r45881 104 104 } 105 105 106 add_action( "load- $theme_page", 'twentyeleven_theme_options_help' );106 add_action( "load-{$theme_page}", 'twentyeleven_theme_options_help' ); 107 107 } 108 108 add_action( 'admin_menu', 'twentyeleven_theme_options_add_page' );
Note: See TracChangeset
for help on using the changeset viewer.