Make WordPress Core

Ticket #19020: HelpTabDashboardFix.patch

File HelpTabDashboardFix.patch, 1.3 KB (added by dougwrites, 14 years ago)

Include Welcome Box when discussing Screen Options; don't mention Plugins if part of a multisite

  • wp-admin/index.php

     
    6262$help_content .= '<p>' . __('<strong>Recent Drafts</strong> - Displays links to the 5 most recent draft posts you&#8217;ve started.') . '</p>';
    6363$help_content .= '<p>' . __('<strong>WordPress Blog</strong> - Latest news from the official WordPress project.') . '</p>';
    6464$help_content .= '<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>';
    65 $help_content .= '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>';
     65( is_multisite() ? '' :$help_content .= '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>' ) ;
     66$help_content .= '<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>';
    6667
    6768get_current_screen()->add_help_tab( array(
    6869        'id'      => 'help-content',