Ticket #902: manu-patch.diff
| File manu-patch.diff, 0.9 kB (added by ringmaster, 3 years ago) |
|---|
-
wp-admin/menu-header.php
old new 40 40 else $class = ''; 41 41 42 42 if (file_exists(ABSPATH . "wp-content/plugins/{$item[2]}")) { 43 $ page_hook = get_plugin_page_hook($item[2], $parent_file);44 if ( $ page_hook )43 $menu_hook = get_plugin_page_hook($item[2], $parent_file); 44 if ( $menu_hook ) 45 45 echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/{$parent_file}?page={$item[2]}'$class>{$item[0]}</a></li>"; 46 46 else 47 47 echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>";
