Move welcome panel link to a 'Show on screen' checkbox. see #11651.

git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-10-19 21:43:21 +00:00
parent 5914353c06
commit 6c8c746dbc
5 changed files with 15 additions and 9 deletions
-3
View File
@@ -30,9 +30,6 @@ else
$overview = '<p>' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the top bar.' ) . '</p>';
if ( current_user_can( 'edit_theme_options' ) )
$overview .= '<a href="#" class="welcome-panel-open">' . __('Show the welcome panel.') . '</a>';
add_screen_option( 'overview', $overview );
// Help tabs