Changeset 19473
- Timestamp:
- 11/29/2011 05:34:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r19119 r19473 38 38 if ( current_user_can( 'switch_themes' ) ) : 39 39 40 $help = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>'; 41 $help .= '<p>' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '</p>'; 42 if ( current_user_can('install_themes') ) 43 $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '</p>'; 44 45 add_contextual_help($current_screen, $help); 40 $help_manage = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>' . 41 '<p>' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '</p>'; 42 43 get_current_screen()->add_help_tab( array( 44 'id' => 'manage-themes', 45 'title' => __('Manage Themes'), 46 'content' => $help_manage, 47 ) ); 48 49 if ( current_user_can( 'install_themes' ) ) { 50 if ( is_multisite() ) { 51 $help_install = '<p>' . __('Installing themes on MultiSite can only be done from the Network Admin section.') . '</p>'; 52 } else { 53 $help_install = '<p>' . sprintf( __('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/' ) . '</p>'; 54 } 55 56 get_current_screen()->add_help_tab( array( 57 'id' => 'install-themes', 58 'title' => __('Install Themes'), 59 'content' => $help_install, 60 ) ); 61 } 46 62 47 63 get_current_screen()->set_help_sidebar(
Note: See TracChangeset
for help on using the changeset viewer.