mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use WP_Screen::add_help_tab(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19514 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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,
|
||||
'<p>' . __('Add User will set up a new user account on the network and send that person an email with username and password.') . '</p>' .
|
||||
'<p>' . __('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.') . '</p>'
|
||||
);
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
'title' => __('Overview'),
|
||||
'content' =>
|
||||
'<p>' . __('Add User will set up a new user account on the network and send that person an email with username and password.') . '</p>' .
|
||||
'<p>' . __('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.') . '</p>'
|
||||
) );
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
|
||||
Reference in New Issue
Block a user