Ticket #26051: 26051.diff
File 26051.diff, 946 bytes (added by , 11 years ago) |
---|
-
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 * Filters parent_file variable, and allows plugins to move submenu tabs around. 25 * 26 * @since MU 27 * 28 * @param string $parent_file The parent file for the screen per the admin menu system. 29 */ 30 $parent_file = apply_filters("parent_file", $parent_file); 31 24 32 get_admin_page_parent(); 25 33 26 34 /** … … 181 189 <?php 182 190 183 191 _wp_menu_output( $menu, $submenu ); 192 193 /** 194 * Fires after the admin menu is created. 195 * 196 * @since 2.5.0 197 */ 184 198 do_action( 'adminmenu' ); 185 199 186 200 ?>