WordPress.org

Make WordPress Core

Ticket #19933: HelpTabsDashboardBoxesList.patch

File HelpTabsDashboardBoxesList.patch, 1.9 KB (added by dougwrites, 2 years ago)

Adds description for the Welcome box checkbox; puts in a ternary to have Plugins in this list only if not a multisite install

  • wp-admin/index.php

     
    6161$help .= '<p>' . __('<strong>Right Now</strong> - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.') . '</p>'; 
    6262$help .= '<p>' . __('<strong>Recent Comments</strong> - Shows the most recent comments on your posts (configurable, up to 30) and allows you to moderate them.') . '</p>'; 
    6363$help .= '<p>' . __('<strong>Incoming Links</strong> - Shows links to your site found by Google Blog Search.') . '</p>'; 
     64( is_multisite() ? '' : $help .= '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>' ) ;  
    6465$help .= '<p>' . __('<strong>QuickPress</strong> - Allows you to create a new post and either publish it or save it as a draft.') . '</p>'; 
    6566$help .= '<p>' . __('<strong>Recent Drafts</strong> - Displays links to the 5 most recent draft posts you&#8217;ve started.') . '</p>'; 
    6667$help .= '<p>' . __('<strong>WordPress Blog</strong> - Latest news from the official WordPress project.') . '</p>'; 
    6768$help .= '<p>' . __('<strong>Other WordPress News</strong> - Shows the <a href="http://planet.wordpress.org" target="_blank">WordPress Planet</a> feed. You can configure it to show a different feed of your choosing.') . '</p>'; 
    68 $help .= '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>'; 
    69  
     69$help .= '<p>' . __('<strong>Welcome</strong> - Checking this restores the large box with links for some of the most common tasks when setting up a new site.') . '</p>';  
    7070get_current_screen()->add_help_tab( array( 
    7171        'id'      => 'help-content', 
    7272        'title'   => __('Content'),