Move help links to top, kill menu item.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-10-14 02:28:35 +00:00
parent 042719a152
commit 7627c0db06
2 changed files with 4 additions and 6 deletions

View File

@ -93,7 +93,10 @@ $settings_pages = array( 'categories.php', 'edit.php', 'edit-comments.php', 'edi
<?php } ?></h1>
</div>
<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> <a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p></div>
<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity) ?> |
<?php _e('<a href="http://codex.wordpress.org/">Documentation</a>'); ?> |
<?php _e('<a href="http://wordpress.org/support/forum/4">Feedback</a>'); ?> |
<a href="<?php echo wp_logout_url() ?>" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a></p></div>
<?php
require(ABSPATH . 'wp-admin/menu-header.php');
?>

View File

@ -89,11 +89,6 @@ $menu[50] = array(__('Settings'), 'manage_options', 'options-general.php');
$submenu['options-general.php'][40] = array(__('Permalinks'), 'manage_options', 'options-permalink.php');
$submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
$menu[55] = array( __('Help'), 'read', 'dummy.php' );
$submenu['dummy.php'][5] = array( __('Documentation'), 'read', __('http://codex.wordpress.org/') );
$submenu['dummy.php'][10] = array( __('Forums'), 'read', __('http://wordpress.org/support/') );
$submenu['dummy.php'][15] = array( __('Feedback'), 'read', __('http://wordpress.org/support/forum/4') );
// Back-compat for old top-levels
$_wp_real_parent_file['post.php'] = 'post-new.php';
$_wp_real_parent_file['edit.php'] = 'post-new.php';