Changeset 4144 for trunk/wp-admin/menu-header.php
- Timestamp:
- 08/30/2006 09:46:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu-header.php
r3536 r4144 14 14 if ( !empty($submenu[$item[2]]) || current_user_can($item[1]) ) { 15 15 if ( file_exists(ABSPATH . "wp-content/plugins/{$item[2]}") ) 16 echo "\n\t<li><a href='" . get_ settings('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>";16 echo "\n\t<li><a href='" . get_option('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>"; 17 17 else 18 echo "\n\t<li><a href='" . get_ settings('siteurl') . "/wp-admin/{$item[2]}'$class>{$item[0]}</a></li>";18 echo "\n\t<li><a href='" . get_option('siteurl') . "/wp-admin/{$item[2]}'$class>{$item[0]}</a></li>"; 19 19 } 20 20 } … … 43 43 if (file_exists(ABSPATH . "wp-content/plugins/{$item[2]}") || ! empty($menu_hook)) { 44 44 if ( 'admin.php' == $pagenow ) 45 echo "\n\t<li><a href='" . get_ settings('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>";45 echo "\n\t<li><a href='" . get_option('siteurl') . "/wp-admin/admin.php?page={$item[2]}'$class>{$item[0]}</a></li>"; 46 46 else 47 echo "\n\t<li><a href='" . get_ settings('siteurl') . "/wp-admin/{$parent_file}?page={$item[2]}'$class>{$item[0]}</a></li>";47 echo "\n\t<li><a href='" . get_option('siteurl') . "/wp-admin/{$parent_file}?page={$item[2]}'$class>{$item[0]}</a></li>"; 48 48 } else { 49 echo "\n\t<li><a href='" . get_ settings('siteurl') . "/wp-admin/{$item[2]}'$class>{$item[0]}</a></li>";49 echo "\n\t<li><a href='" . get_option('siteurl') . "/wp-admin/{$item[2]}'$class>{$item[0]}</a></li>"; 50 50 } 51 51 endforeach;
Note: See TracChangeset
for help on using the changeset viewer.