diff --git a/wp-admin/network.php b/wp-admin/network.php index 1237097d94..463c99a6c0 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -109,7 +109,10 @@ add_contextual_help($current_screen, '
' . __('The next screen for Network Setup will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '
' . '' . __('Add a blogs.dir
directory under /wp-content
and add the designated lines of code to wp-config.php (just before /*...stop editing...*/
) and .htaccess
(replacing the existing WordPress rules).') . '
' . __('Once you add this code and refresh your browser, multisite should be enabled. This screen will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Howdy (Username) dropdown in the upper right of the administration area.') . '
' . - '' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed soon in a future version.') . '
' . + '' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed soon in a future version.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Creating a Network') . '
' . '' . __('Documentation on the Network Screen') . '
' . diff --git a/wp-admin/network/index.php b/wp-admin/network/index.php index 9a60af640c..328a1db22a 100644 --- a/wp-admin/network/index.php +++ b/wp-admin/network/index.php @@ -26,7 +26,10 @@ add_contextual_help($current_screen, '' . __('Until WordPress 3.0, running multiple sites required using WordPress MU instead of regular WordPress. In version 3.0, these applications have merged. If you are a former MU user, you should be aware of the following changes:') . '
' . '' . __('The Right Now box provides the network administrator with links to the screens to either create a new site or user, or to search existing users and sites. Screens for Sites and Users are also accessible through the left-hand navigation in the Network Admin section.') . '
' . + '' . __('The Right Now box provides the network administrator with links to the screens to either create a new site or user, or to search existing users and sites. Screens for Sites and Users are also accessible through the left-hand navigation in the Network Admin section.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on the Network Admin') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index fdb91eef7f..1ccba103e8 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -28,7 +28,10 @@ add_contextual_help( $current_screen, '' . __('Upload settings control the size of the uploaded files and the amount of available upload space for each site. You can change the default value for specific sites when you edit a particular site. Allowed file types are also listed (space separated only).') . '
' . '' . __('Checkboxes for media upload buttons set which are shown in the visual editor. If unchecked, a generic upload button is still visible; other media types can still be uploaded if on the allowed file types list.') . '
' . '' . __('Menu setting enables/disables the plugin menus from appearing for non super admins, so that only super admins, not site admins, have access to activate plugins.') . '
' . - '' . __('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Network Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.') . '
' . + '' . __('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Network Admin > Users and click on Username or the Edit action link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Network Settings') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php index 4d584f82b6..6ee7af8084 100644 --- a/wp-admin/network/site-new.php +++ b/wp-admin/network/site-new.php @@ -18,7 +18,10 @@ if ( ! current_user_can( 'manage_sites' ) ) add_contextual_help($current_screen, '' . __('This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings.') . '
' . - '' . __('If the admin email for the new site does not exist in the database, a new user will also be created.') . '
' . + '' . __('If the admin email for the new site does not exist in the database, a new user will also be created.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Site Management') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php index 1f76e8b1d6..3d012a8a66 100644 --- a/wp-admin/network/site-users.php +++ b/wp-admin/network/site-users.php @@ -24,7 +24,10 @@ add_contextual_help($current_screen, '' . __('Info - The domain and path are rarely edited as this can cause the site to not work properly. The Registered date and Last Updated date are displayed. Network admins can mark a site as archived, spam, deleted and mature, to remove from public listings or disable.') . '
' . '' . __('Users - This displays the users associated with this site. You can also change their role, reset their password, or remove them from the site. Removing the user from the site does not remove the user from the network.') . '
' . '' . sprintf( __('Themes - This area shows themes that are not already enabled across the network. Enabling a theme in this menu makes it accessible to this site. It does not activate the theme, but allows it to show in the site’s Appearance menu. To enable a theme for the entire network, see the Network Themes screen.' ), network_admin_url( 'themes.php' ) ) . '
' . - '' . __('Settings - This page shows a list of all settings associated with this site. Some are created by WordPress and others are created by plugins you activate. Note that some fields are grayed out and say Serialized Data. You cannot modify these values due to the way the setting is stored in the database.') . '
' . + '' . __('Settings - This page shows a list of all settings associated with this site. Some are created by WordPress and others are created by plugins you activate. Note that some fields are grayed out and say Serialized Data. You cannot modify these values due to the way the setting is stored in the database.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Site Management') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php index 52778d8ecf..c158b76c23 100644 --- a/wp-admin/network/sites.php +++ b/wp-admin/network/sites.php @@ -34,7 +34,10 @@ add_contextual_help($current_screen, '' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '
' . - '' . __('Clicking on bold headings can re-sort this table.') . '
' . + '' . __('Clicking on bold headings can re-sort this table.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Site Management') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index e33f8fa2c4..2846c1ef90 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -206,7 +206,10 @@ add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page ( add_contextual_help($current_screen, '' . __('This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.') . '
' . '' . __('If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site’s Appearance > Themes screen.') . '
' . - '' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes.') . '
' . + '' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Network Themes') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/upgrade.php b/wp-admin/network/upgrade.php index 560407948a..30a2f96a70 100644 --- a/wp-admin/network/upgrade.php +++ b/wp-admin/network/upgrade.php @@ -21,7 +21,10 @@ $parent_file = 'upgrade.php'; add_contextual_help($current_screen, '' . __('Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Admin Bar). Clicking the Update Network button will step through each site in the network, five at a time, and make sure any database updates are applied.') . '
' . '' . __('If a version update to core has not happened, clicking this button won’t affect anything.') . '
' . - '' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '
' . + '' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Update Network') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php index 6690d994c2..2e9f408c42 100644 --- a/wp-admin/network/user-new.php +++ b/wp-admin/network/user-new.php @@ -19,7 +19,10 @@ if ( ! current_user_can('create_users') ) add_contextual_help($current_screen, '' . __('Add User will set up a new user account on the network and send that person an email with username and password.') . '
' . - '' . __('Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them.') . '
' . + '' . __('Users who are signed up to the network without a site are added as subscribers to the main or primary dashboard site, giving them profile pages to manage their accounts. These users will only see Dashboard and My Sites in the main navigation until a site is created for them.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Network Users') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/network/users.php b/wp-admin/network/users.php index 3a5002fbd0..45eec641be 100644 --- a/wp-admin/network/users.php +++ b/wp-admin/network/users.php @@ -235,7 +235,10 @@ add_contextual_help($current_screen, '' . __('You can also go to the user’s profile page by clicking on the individual username.') . '
' . '' . __('You can sort the table by clicking on any of the bold headings and switch between list and excerpt views by using the icons in the upper right.') . '
' . '' . __('The bulk action will permanently delete selected users, or mark/unmark those selected as spam. Spam users will have posts removed and will be unable to sign up again with the same email addresses.') . '
' . - '' . __('You can make an existing user an additional super admin by going to the Edit User profile page and checking the box to grant that privilege.') . '
' . + '' . __('You can make an existing user an additional super admin by going to the Edit User profile page and checking the box to grant that privilege.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Network Users') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index b7beddf944..29ac979fab 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -115,7 +115,10 @@ default: '' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.') . '
' . '' . __('The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Lookup takes you to a web page about that particular function.') . '
' . '' . __('If you want to make changes but don’t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit plugins, write your own from scratch, or just better understand their anatomy, check out the links below.') . '
' . - ( is_network_admin() ? '' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '
' : '' ) . + ( is_network_admin() ? '' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '
' : '' ) + ); + + get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Editing Plugins') . '
' . '' . __('Documentation on Writing Plugins') . '
' . diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 4d43929dd8..9b5827f671 100644 --- a/wp-admin/plugin-install.php +++ b/wp-admin/plugin-install.php @@ -39,7 +39,10 @@ add_contextual_help($current_screen, '' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official WordPress.org Plugin Directory are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '
' . '' . __('If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '
' . '' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '
' . - '' . __('If you want to install a plugin that you’ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '
' . + '' . __('If you want to install a plugin that you’ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '
' +); + +get_current_screen()->add_help_sidebar( '' . __('For more information:') . '
' . '' . __('Documentation on Installing Plugins') . '
' . '' . __('Support Forums') . '
' diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index c97729eea6..836b2dbd90 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -28,14 +28,18 @@ $help .= '' . __('Advice: think very carefully about your si $help .= '
' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead.') . '
'; if ( is_network_admin() ) $help .= '' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '
'; -$help .= '' . __('For more information:') . '
'; -$help .= '' . __('Documentation on Theme Development') . '
'; -$help .= '' . __('Documentation on Using Themes') . '
'; -$help .= '' . __('Documentation on Editing Files') . '
'; -$help .= '' . __('Documentation on Template Tags') . '
'; -$help .= '' . __('Support Forums') . '
'; + add_contextual_help($current_screen, $help); +get_current_screen()->add_help_sidebar( + '' . __('For more information:') . '
' . + '' . __('Documentation on Theme Development') . '
' . + '' . __('Documentation on Using Themes') . '
' . + '' . __('Documentation on Editing Files') . '
' . + '' . __('Documentation on Template Tags') . '
' . + '' . __('Support Forums') . '
' +); + wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme', 'dir')); $themes = get_themes(); diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index c9050d90b8..08fc66ff89 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -41,11 +41,15 @@ do_action('install_themes_pre_' . $tab); //Used to override the general interfac $help = '' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the WordPress.org Theme Directory. These themes are designed and developed by third parties, are available free of charge, and are compatible with the license WordPress uses.'), 'http://wordpress.org/extend/themes/') . '
'; $help .= '' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '
'; $help .= '' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme’s folder via FTP into your /wp-content/themes
directory.') . '
' . __('For more information:') . '
'; -$help .= '' . __('Documentation on Adding New Themes') . '
'; -$help .= '' . __('Support Forums') . '
'; + add_contextual_help($current_screen, $help); +get_current_screen()->add_help_sidebar( + '' . __('For more information:') . '
' . + '' . __('Documentation on Adding New Themes') . '
' . + '' . __('Support Forums') . '
' +); + include(ABSPATH . 'wp-admin/admin-header.php'); ?>