Ticket #26051: 26051.3.diff
File 26051.3.diff, 953 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 an admin menu sub-menu item. 25 * 26 * Allows plugins to move sub-menu items around. 27 * 28 * @since MU 29 * 30 * @param string $parent_file The parent file. 31 */ 32 $parent_file = apply_filters( 'parent_file', $parent_file ); 33 24 34 get_admin_page_parent(); 25 35 26 36 /** … … 195 205 <?php 196 206 197 207 _wp_menu_output( $menu, $submenu ); 208 /** 209 * Fires after the admin menu has been output. 210 * 211 * @since 2.5.0 212 */ 198 213 do_action( 'adminmenu' ); 199 214 200 215 ?>