Changeset 11566
- Timestamp:
- 06/15/2009 12:23:13 AM (17 years ago)
- Location:
- branches/2.8
- Files:
-
- 2 edited
-
wp-admin/includes/plugin.php (modified) (1 diff)
-
wp-includes/plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-admin/includes/plugin.php
r11450 r11566 945 945 } 946 946 947 if ( isset( $plugin_page ) && ( $plugin_page == $parent ) && isset( $_wp_menu_nopriv[$plugin_page] ) ) 948 return false; 949 947 950 if ( isset( $submenu[$parent] ) ) { 948 951 foreach ( $submenu[$parent] as $submenu_array ) { -
branches/2.8/wp-includes/plugin.php
r11409 r11566 496 496 $mu_plugin_dir = preg_replace('|/+|','/', $mu_plugin_dir); // remove any duplicate slash 497 497 $file = preg_replace('#^' . preg_quote($plugin_dir, '#') . '/|^' . preg_quote($mu_plugin_dir, '#') . '/#','',$file); // get relative path from plugins dir 498 $file = trim($file, '/'); 498 499 return $file; 499 500 }
Note: See TracChangeset
for help on using the changeset viewer.