Make WordPress Core

Changeset 19920


Ignore:
Timestamp:
02/14/2012 05:23:31 PM (12 years ago)
Author:
nacin
Message:

Cap check help text. see #19933.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index.php

    r19919 r19920  
    7373if ( ! is_multisite() && current_user_can( 'install_plugins' ) )
    7474    $help .= '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>';
    75 $help .= '<p>' . __('<strong>Welcome</strong> - Shows links for some of the most common tasks when setting up a new site.') . '</p>';
     75if ( current_user_can( 'edit_theme_options' ) )
     76    $help .= '<p>' . __('<strong>Welcome</strong> - Shows links for some of the most common tasks when setting up a new site.') . '</p>';
    7677
    7778get_current_screen()->add_help_tab( array(
Note: See TracChangeset for help on using the changeset viewer.