Ticket #47052: #47052.patch
File #47052.patch, 5.0 KB (added by , 8 months ago) |
---|
-
wp-admin/custom-background.php
67 67 return; 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 } 78 78 -
wp-admin/custom-header.php
75 75 return; 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 } 87 87 -
wp-admin/includes/class-wp-themes-list-table.php
204 204 $actions = apply_filters( 'theme_action_links', $actions, $theme, 'all' ); 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'] ); 210 210 -
wp-admin/includes/template.php
1923 1923 do_action( 'admin_enqueue_scripts', $hook_suffix ); 1924 1924 1925 1925 /** This action is documented in wp-admin/admin-header.php */ 1926 do_action( "admin_print_styles- $hook_suffix" );1926 do_action( "admin_print_styles-{$hook_suffix}" ); 1927 1927 1928 1928 /** This action is documented in wp-admin/admin-header.php */ 1929 1929 do_action( 'admin_print_styles' ); 1930 1930 1931 1931 /** This action is documented in wp-admin/admin-header.php */ 1932 do_action( "admin_print_scripts- $hook_suffix" );1932 do_action( "admin_print_scripts-{$hook_suffix}" ); 1933 1933 1934 1934 /** This action is documented in wp-admin/admin-header.php */ 1935 1935 do_action( 'admin_print_scripts' ); 1936 1936 1937 1937 /** This action is documented in wp-admin/admin-header.php */ 1938 do_action( "admin_head- $hook_suffix" );1938 do_action( "admin_head-{$hook_suffix}" ); 1939 1939 1940 1940 /** This action is documented in wp-admin/admin-header.php */ 1941 1941 do_action( 'admin_head' ); … … 1996 1996 do_action( 'admin_footer', $hook_suffix ); 1997 1997 1998 1998 /** This action is documented in wp-admin/admin-footer.php */ 1999 do_action( "admin_print_footer_scripts- $hook_suffix" );1999 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); 2000 2000 2001 2001 /** This action is documented in wp-admin/admin-footer.php */ 2002 2002 do_action( 'admin_print_footer_scripts' ); -
wp-admin/includes/update.php
355 355 if ( isset( $plugins->response ) && is_array( $plugins->response ) ) { 356 356 $plugins = array_keys( $plugins->response ); 357 357 foreach ( $plugins as $plugin_file ) { 358 add_action( "after_plugin_row_ $plugin_file", 'wp_plugin_update_row', 10, 2 );358 add_action( "after_plugin_row_{$plugin_file}", 'wp_plugin_update_row', 10, 2 ); 359 359 } 360 360 } 361 361 } … … 543 543 $themes = array_keys( $themes->response ); 544 544 545 545 foreach ( $themes as $theme ) { 546 add_action( "after_theme_row_ $theme", 'wp_theme_update_row', 10, 2 );546 add_action( "after_theme_row_{$theme}", 'wp_theme_update_row', 10, 2 ); 547 547 } 548 548 } 549 549 }