WordPress.org

Make WordPress Core

Ticket #15314: 15314.diff

File 15314.diff, 13.3 KB (added by andrea_r, 3 years ago)
  • wp-admin/network/site-new.php

     
    1616if ( ! current_user_can('manage_sites') ) 
    1717        wp_die(__('You do not have sufficient permissions to add sites to this network.')); 
    1818 
     19add_contextual_help($current_screen, 
     20        '<p>' . __('This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings.') . '</p>' . 
     21        '<p>' . __('If the admin email for the new site does not exist in the database, a new user will also be created.') . '</p>' . 
     22        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     23        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Sites_SubPanel" target="_blank">Documentation on Sites</a>') . '</p>' . 
     24        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
     25); 
     26 
    1927if ( isset($_REQUEST['action']) && 'add-site' == $_REQUEST['action'] ) { 
    2028        check_admin_referer( 'add-blog', '_wpnonce_add-blog' ); 
    2129 
  • wp-admin/network/site-options.php

     
    1616if ( ! current_user_can('manage_sites') ) 
    1717        wp_die(__('You do not have sufficient permissions to edit this site.')); 
    1818 
     19add_contextual_help($current_screen, 
     20        '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' . 
     21        '<p>' . __('<strong>Options</strong> This information is filled in my default as well as plugin data. Note that some fields are grayed out and say Serialized Data. These are stored values in the database which you cannot change from here. ') . '</p>' . 
     22        '<p>' . __('See the contextual help on the next tab. ') . '</p>' . 
     23        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     24        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Options_SubPanel" target="_blank">Network Options Documentation</a>') . '</p>' . 
     25        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
     26); 
     27 
    1928$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; 
    2029 
    2130if ( ! $id ) 
  • wp-admin/network/site-info.php

     
    1616if ( ! current_user_can('manage_sites') ) 
    1717        wp_die(__('You do not have sufficient permissions to edit this site.')); 
    1818 
     19add_contextual_help($current_screen, 
     20        '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' . 
     21        '<p>' . __('<strong>Info</strong> 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, Spammed, Deleted and Mature, to remove from public listings or disable.') . '</p>' . 
     22        '<p>' . __('See the contextual help on the next tab. ') . '</p>' . 
     23        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     24        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Options_SubPanel" target="_blank">Network Options Documentation</a>') . '</p>' . 
     25        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
     26); 
     27 
    1928$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; 
    2029 
    2130if ( ! $id ) 
  • wp-admin/network/users.php

     
    2828        '<p>' . __('You can also go to the user&#8217;s profile page by clicking on the individual username.') . '</p>' . 
    2929        '<p>' . __('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.') . '</p>' . 
    3030        '<p>' . __('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.') . '</p>' . 
    31         '<p>' . __('Add User will add that person to this table and send them an email.') . '</p>' . 
    32         '<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>' . 
    3331        '<p>' . __('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.') . '</p>' . 
    3432        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    3533        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Users_SubPanel" target="_blank">Network Users Documentation</a>') . '</p>' . 
    36         '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     34        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
    3735); 
    3836 
    3937require_once( '../admin-header.php' ); 
  • wp-admin/network/site-users.php

     
    1616if ( ! current_user_can('manage_sites') ) 
    1717        wp_die(__('You do not have sufficient permissions to edit this site.')); 
    1818 
     19add_contextual_help($current_screen, 
     20        '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' . 
     21        '<p>' . __('<strong>Users</strong> This displays the users associated with this site. You can also change their role, reset their passowrd, or remove them from the site. Removing the user from the site does not remove the user from the network. ') . '</p>' . 
     22        '<p>' . __('See the contextual help on the next tab. ') . '</p>' . 
     23        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     24        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Options_SubPanel" target="_blank">Network Options Documentation</a>') . '</p>' . 
     25        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
     26); 
     27 
    1928$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; 
    2029 
    2130if ( ! $id ) 
  • wp-admin/network/user-new.php

     
    1616if ( ! current_user_can('create_users') ) 
    1717        wp_die(__('You do not have sufficient permissions to add users to this network.')); 
    1818 
     19 
     20add_contextual_help($current_screen, 
     21        '<p>' . __('Add User will add that person to this table and send them an email.') . '</p>' . 
     22        '<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>' . 
     23        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     24        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Users_SubPanel" target="_blank">Network Users Documentation</a>') . '</p>' . 
     25        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
     26); 
     27 
    1928if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) { 
    2029        check_admin_referer( 'add-user', '_wpnonce_add-user' ); 
    2130        if ( ! current_user_can( 'manage_network_users' ) ) 
  • wp-admin/network/index.php

     
    2626        '<p>' . __('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:') . '</p>' . 
    2727        '<ul><li>' . __('Site Admin is now Super Admin (we highly encourage you to get yourself a cape!).') . '</li>' . 
    2828        '<li>' . __('Blogs are now called Sites; Site is now called Network.') . '</li></ul>' . 
    29         '<p>' . __('This screen provides the network administrator with links to the screens for Sites and Users to either create a new site or user, or to search existing users and sites. Those screens are also accessible through the left-hand navigation in the Super Admin section.') . '</p>' . 
     29        '<p>' . __('This screen provides the network administrator with links to the screens for Sites and Users to either create a new site or user, or to search existing users and sites, as well as Dashboard widgets. Those screens are also accessible through the left-hand navigation in the Network Admin section.') . '</p>' . 
    3030        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    3131        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Super_Admin_Menu" target="_blank">Documentation on Super Admin Menu</a>') . '</p>' . 
    32         '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     32        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
    3333); 
    3434 
    3535wp_dashboard_setup(); 
  • wp-admin/network/themes.php

     
    6969add_contextual_help($current_screen,  
    7070        '<p>' . __('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.') . '</p>' .  
    7171        '<p>' . __('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&#8217;s Appearance > Themes screen.') . '</p>' .  
    72         '<p>' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen you go to via the Edit action link on the Sites screen.') . '</p>' .  
     72        '<p>' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen you go to via the Edit action link on the Sites screen. Only network admins are able to install or edit themes.') . '</p>' .  
    7373        '<p><strong>' . __('For more information:') . '</strong></p>' .  
    7474        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Themes_SubPanel" target="_blank">Documentation on Network Themes</a>') . '</p>' .  
    7575        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'  
  • wp-admin/network/sites.php

     
    3232        '<li>' . __('Visit to go to the frontend site live.') . '</li></ul>' . 
    3333        '<p>' . __('The site ID is used internally, and is not shown on the front end of the site or to users/viewers.') . '</p>' . 
    3434        '<p>' . __('Clicking on bold settings can re-sort this table. The upper right icons switch between list and excerpt views.') . '</p>' . 
    35         '<p>' . __('If the admin email for the new site does not exist in the database, a new user will also be created.') . '</p>' . 
    3635        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    3736        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Sites_SubPanel" target="_blank">Documentation on Sites</a>') . '</p>' . 
    38         '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
     37        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
    3938); 
    4039 
    4140$id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; 
  • wp-admin/network/site-themes.php

     
    1313if ( ! is_multisite() ) 
    1414        wp_die( __( 'Multisite support is not enabled.' ) ); 
    1515 
     16add_contextual_help($current_screen, 
     17        '<p>' . __('The menu is for editing information specific to individual sites, particularly if the admin area of a site is unavailable.') . '</p>' . 
     18        '<p>' . __('<strong>Themes</strong> This areas shows themes that are not enabled across the network. Enabling a theme in this menu makes it accessible to this site only. It does not activate the theme, but allows it to show in the site&#8217;s Appearance menu. ') . '</p>' . 
     19        '<p>' . __('See the contextual help on the next tab. ') . '</p>' . 
     20        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     21        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Options_SubPanel" target="_blank">Network Options Documentation</a>') . '</p>' . 
     22        '<p>' . __('<a href="http://wordpress.org/support/multisite/" target="_blank">Support Forums</a>') . '</p>' 
     23); 
     24 
    1625$wp_list_table = get_list_table('WP_MS_Themes_List_Table'); 
    1726$wp_list_table->check_permissions(); 
    1827