Ticket #26051: 26051.2.diff
File 26051.2.diff, 946 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/menu-header.php
19 19 $self = preg_replace('|^.*/mu-plugins/|i', '', $self); 20 20 21 21 global $menu, $submenu, $parent_file; //For when admin-header is included from within a function. 22 $parent_file = apply_filters("parent_file", $parent_file); // For plugins to move submenu tabs around.23 22 23 /** 24 * Filter the parent file of a submenu item in the Multisite Network admin menu. 25 * 26 * @since MU 27 * 28 * @param string $parent_file The parent file for the current screen. 29 */ 30 $parent_file = apply_filters( 'parent_file', $parent_file ); 31 24 32 get_admin_page_parent(); 25 33 26 34 /** … … 195 203 <?php 196 204 197 205 _wp_menu_output( $menu, $submenu ); 206 /** 207 * Fires after the admin menu is created. 208 * 209 * @since 2.5.0 210 */ 198 211 do_action( 'adminmenu' ); 199 212 200 213 ?>