diff --git a/wp-admin/comment.php b/wp-admin/comment.php index cd948ebf0e..b2c69cb752 100644 --- a/wp-admin/comment.php +++ b/wp-admin/comment.php @@ -45,9 +45,13 @@ switch( $action ) { case 'editcomment' : $title = __('Edit Comment'); - add_contextual_help( $current_screen, '
' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '
' . - '' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '
' - ); + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '
' . + '' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '
' + ) ); get_current_screen()->set_help_sidebar( '' . __( 'For more information:' ) . '
' . diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index b2701a664f..b9f2640bb2 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -80,12 +80,15 @@ class Custom_Background { * @since 3.0.0 */ function admin_load() { - add_contextual_help( $this->page, + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => '' . __( 'You can customize the look of your site without touching any of your theme’s code by using a custom background. Your background can be an image or a color.' ) . '
' . '' . __( 'To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '
' . '' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '
' . '' . __( 'Don’t forget to click on the Save Changes button when you are finished.' ) . '
' - ); + ) ); get_current_screen()->set_help_sidebar( '' . __( 'For more information:' ) . '
' . diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 58747bb9f3..85f4fe263a 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -99,11 +99,14 @@ class Custom_Image_Header { * @since 3.0.0 */ function help() { - add_contextual_help( $this->page, + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => '' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.' ) . '
' . '' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.' ) . '
' . '' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you’d like and click the Save Changes button.' ) . '
' - ); + ) ); get_current_screen()->set_help_sidebar( '' . __( 'For more information:' ) . '
' . diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index 1e7c0d6e0d..a6051ce142 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -39,11 +39,14 @@ do_action('do_meta_boxes', 'link', 'side', $link); add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); -add_contextual_help($current_screen, +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => '' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '
' . '' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '
' . '' . __( 'XFN stands for XHTML Friends Network, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '
' -); +) ); get_current_screen()->set_help_sidebar( '' . __( 'For more information:' ) . '
' . diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index e08087c67b..22fdc603ba 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -200,7 +200,7 @@ if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $t $help .='' . __( 'What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information in your post (names, subjects, etc) that may or may not recur in other posts, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.' ) . '
'; get_current_screen()->add_help_tab( array( - 'id' => 'help-overview', + 'id' => 'overview', 'title' => __('Overview'), 'content' => $help, ) ); diff --git a/wp-admin/media.php b/wp-admin/media.php index 7a1666c58b..1b750d585a 100644 --- a/wp-admin/media.php +++ b/wp-admin/media.php @@ -67,12 +67,15 @@ case 'edit' : wp_enqueue_script('image-edit'); wp_enqueue_style('imgareaselect'); - add_contextual_help( $current_screen, - '' . __('This screen allows you to edit five fields for metadata in a file within the media library.') . '
' . - '' . __('For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.') . '
' . - '' . __('Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.') . '
' . - '' . __('Remember to click Update Media to save metadata entered or changed.') . '
' - ); + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('This screen allows you to edit five fields for metadata in a file within the media library.') . '
' . + '' . __('For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.') . '
' . + '' . __('Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.') . '
' . + '' . __('Remember to click Update Media to save metadata entered or changed.') . '
' + ) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index 8411387a67..873b03cf95 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -35,10 +35,13 @@ if ( 'updateblogsettings' == $action && isset( $_POST['primary_blog'] ) ) { $title = __( 'My Sites' ); $parent_file = 'index.php'; -add_contextual_help($current_screen, - '' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. He or she can use the links under each site to visit either the frontend or the dashboard for that site.') . '
' . - '' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. He or she can use the links under each site to visit either the frontend or the dashboard for that site.') . '
' . + '' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/index.php b/wp-admin/network/index.php index 55e6b2332b..d2875f3e83 100644 --- a/wp-admin/network/index.php +++ b/wp-admin/network/index.php @@ -22,12 +22,15 @@ if ( ! current_user_can( 'manage_network' ) ) $title = __( 'Dashboard' ); $parent_file = 'index.php'; -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.') . '
' -); + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index 3fa9245aee..7f04e1a5af 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -19,17 +19,20 @@ if ( ! current_user_can( 'manage_network_options' ) ) $title = __( 'Network Settings' ); $parent_file = 'settings.php'; -add_contextual_help( $current_screen, - '' . __('This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site’s options.') . '
' . - '' . __('Operational settings has fields for the network’s name and admin email.') . '
' . - '' . __('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.') . '
' . - '' . __('Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network.') . '
' . - '' . __('New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what᾿s put in the first post, page, comment, comment author, and comment URL.') . '
' . - '' . __('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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site’s options.') . '
' . + '' . __('Operational settings has fields for the network’s name and admin email.') . '
' . + '' . __('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.') . '
' . + '' . __('Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network.') . '
' . + '' . __('New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what᾿s put in the first post, page, comment, comment author, and comment URL.') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/site-info.php b/wp-admin/network/site-info.php index e4248bfc54..8cf9a5ee6b 100644 --- a/wp-admin/network/site-info.php +++ b/wp-admin/network/site-info.php @@ -16,13 +16,16 @@ if ( ! is_multisite() ) if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have sufficient permissions to edit this site.' ) ); -add_contextual_help($current_screen, - '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . - '' . __('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.') . '
' -); + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/site-new.php b/wp-admin/network/site-new.php index 2e13d2e03b..3abcca1a4b 100644 --- a/wp-admin/network/site-new.php +++ b/wp-admin/network/site-new.php @@ -16,10 +16,13 @@ if ( ! is_multisite() ) if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have sufficient permissions to add sites to this network.' ) ); -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.') . '
' -); + get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php index 6ef6d8aeb7..09ebeaad7d 100644 --- a/wp-admin/network/site-settings.php +++ b/wp-admin/network/site-settings.php @@ -16,13 +16,16 @@ if ( ! is_multisite() ) if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have sufficient permissions to edit this site.' ) ); -add_contextual_help($current_screen, - '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . - '' . __('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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/site-themes.php b/wp-admin/network/site-themes.php index 736561da2a..33dc39ff47 100644 --- a/wp-admin/network/site-themes.php +++ b/wp-admin/network/site-themes.php @@ -21,13 +21,16 @@ if ( empty( $menu_perms['themes'] ) && ! is_super_admin() ) if ( ! current_user_can( 'manage_sites' ) ) wp_die( __( 'You do not have sufficient permissions to manage themes for this site.' ) ); -add_contextual_help($current_screen, - '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . - '' . __('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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php index 0b743ab535..6079c54f93 100644 --- a/wp-admin/network/site-users.php +++ b/wp-admin/network/site-users.php @@ -19,13 +19,16 @@ if ( ! current_user_can('manage_sites') ) $wp_list_table = _get_list_table('WP_Users_List_Table'); $wp_list_table->prepare_items(); -add_contextual_help($current_screen, - '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . - '' . __('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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/sites.php b/wp-admin/network/sites.php index 50a83ac23d..5ed6d3468a 100644 --- a/wp-admin/network/sites.php +++ b/wp-admin/network/sites.php @@ -24,18 +24,21 @@ $parent_file = 'sites.php'; add_screen_option( 'per_page', array('label' => _x( 'Sites', 'sites per page (screen options)' )) ); -add_contextual_help($current_screen, - '' . __('Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.') . '
' . - '' . __('This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.') . '
' . - '' . __('Hovering over each site reveals seven options (three for the primary site):') . '
' . - '' . __('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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.') . '
' . + '' . __('This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.') . '
' . + '' . __('Hovering over each site reveals seven options (three for the primary site):') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index 8a2f854544..3e1e357e17 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -203,11 +203,14 @@ add_thickbox(); add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page (screen options)' )) ); -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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/upgrade.php b/wp-admin/network/upgrade.php index 07b78e7a12..29767242b9 100644 --- a/wp-admin/network/upgrade.php +++ b/wp-admin/network/upgrade.php @@ -18,11 +18,14 @@ require_once( ABSPATH . WPINC . '/http.php' ); $title = __( 'Update Network' ); $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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/user-new.php b/wp-admin/network/user-new.php index 68951af904..bd7458f346 100644 --- a/wp-admin/network/user-new.php +++ b/wp-admin/network/user-new.php @@ -17,10 +17,13 @@ if ( ! current_user_can('create_users') ) wp_die(__('You do not have sufficient permissions to add users to this network.')); -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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/network/users.php b/wp-admin/network/users.php index 9780e733a7..ddf4a0aa28 100644 --- a/wp-admin/network/users.php +++ b/wp-admin/network/users.php @@ -229,14 +229,17 @@ $parent_file = 'users.php'; add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) ); -add_contextual_help($current_screen, - '' . __('This table shows all users across the network and the sites to which they are assigned.') . '
' . - '' . __('Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to his or her Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site.') . '
' . - '' . __('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.') . '
' -); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => + '' . __('This table shows all users across the network and the sites to which they are assigned.') . '
' . + '' . __('Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to his or her Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site.') . '
' . + '' . __('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.') . '
' +) ); get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 4e845ae402..333ac44f01 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -42,7 +42,11 @@ $help = '' . sprintf(__('You can find additional themes for your site by usin $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:') . '
' .