WordPress.org

Make WordPress Core

Ticket #13467: 13467-multisite-help.diff

File 13467-multisite-help.diff, 15.6 KB (added by duck_, 4 years ago)
  • wp-admin/ms-admin.php

     
    1818$title = __( 'Network Admin' ); 
    1919$parent_file = 'ms-admin.php'; 
    2020 
     21add_contextual_help($current_screen,  
     22        '<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>' . 
     23        '<ul><li>' . __('Site Admin is now Super Admin (we highly encourage you to get yourself a cape!)') . '</li>' . 
     24        '<li>' . __('Blogs are now called Sites; Site is now called Network') . '</li></ul>' . 
     25        '<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>' . 
     26        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     27        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Super_Admin_Menu">Network Admin Documentation</a>') . '</p>' . 
     28        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     29); 
     30 
    2131require_once( './admin-header.php' ); 
    2232 
    2333$c_users = get_user_count(); 
  • wp-admin/ms-options.php

     
    1818$title = __( 'Network Options' ); 
    1919$parent_file = 'ms-admin.php'; 
    2020 
     21add_contextual_help($current_screen,  
     22        '<p>' . __('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&#8217;s options.') . '</p>' . 
     23        '<p>' . __('Operational settings has fields for the network&#8217;s name, admin email, and whether global terms will be disabled (the default) or maintained across all sites on the network.') . '</p>' . 
     24        '<p>' . __('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is subscribed 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.') . '</p>' . 
     25        '<p>' . __('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.') . '</p>' . 
     26        '<p>' . __('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&#8127;s put in the first post, page, comment, comment author, and comment URL.') . '</p>' . 
     27        '<p>' . __('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).') . '</p>' . 
     28        '<p>' . __('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.') . '</p>' . 
     29        '<p>' . __('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.') . '</p>' . 
     30        '<p>' . __('Super admins can no longer be added on the Options screen. You must now go to the list of existing users on Super Admin > Users and click on Username or the Edit hover link below that name. This goes to an Edit User page where you can check a box to grant super admin privileges.') . '</p>' . 
     31        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     32        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Options_SubPanel">Network Options Documentation</a>') . '</p>' . 
     33        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     34); 
     35 
    2136include( './admin-header.php' ); 
    2237 
    2338if (isset($_GET['updated'])) { 
  • wp-admin/ms-sites.php

     
    1818$title = __( 'Sites' ); 
    1919$parent_file = 'ms-admin.php'; 
    2020 
     21if ( isset( $_GET['action'] ) && 'editblog' == $_GET['action'] ) { 
     22        add_contextual_help($current_screen,  
     23                '<p>' . __('The network admin arrives at this screen to make choices for a given site by clicking on the Edit link on the Sites screen available to them in the Super Admin navigation menu.') . '</p>' . 
     24                '<p>' . __('This extensive list of options has five modules: Site Info, Site Options, allowing Site Themes for this given site, changing the Site User(s) roles and passwords for that site, Adding a new user, and Miscellaneous Site Actions (upload size limits).') . '</p>' . 
     25                '<p>' . __('Note that some fields in Site Options are grayed out and say Serialized Data. These are stored values in the database which you cannot change from here.') . '</p>' . 
     26                '<p><strong>' . __('For more information:') . '</strong></p>' . 
     27                '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Sites_Edit_Site">Site Editing Documentation</a>') . '</p>' . 
     28                '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     29        ); 
     30} else { 
     31        add_contextual_help($current_screen,  
     32                '<p>' . __('Add New takes you farther down on this same page. 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.') . '</p>' . 
     33                '<p>' . __('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.') . '</p>' . 
     34                '<p>' . __('Hovering over each site reveals seven options (only three for the primary or originating site for the network):') . '</p>' . 
     35                '<ul><li>' . __('an Edit link to a separate Edit Site screen') . '</li>' . 
     36                '<li>' . __('Backend means the Dashboard for that site') . '</li>' . 
     37                '<li>' . __('Deactivate, Archive, and Spam which lead to confirmation screens. These actions can be reversed later by hover links attached to those sites in this table.') . '</li>' . 
     38                '<li>' . __('Delete which is a permanent action after the confirmations screen.') . '</li>' . 
     39                '<li>' . __('Visit to go the the frontend site live.') . '</li></ul>' . 
     40                '<p>' . __('The site ID is used internally, and not shown on the front end of the site or to users/viewers.') . '</p>' . 
     41                '<p>' . __('Clicking on bold settings can re-sort this table. The upper right icons switch between list and excerpt views.') . '</p>' . 
     42                '<p>' . __('Clicking on Add Site after filling out the address, title, and email adds that new site instantly to the network and this table. You may want to then click on the hover link to edit options for that site.') . '</p>' . 
     43                '<p>' . __('Make sure you do not add slashes or dots when you fill in the new site name. If the admin email for the new site does not exist in the database, a new user will also be created.') . '</p>' . 
     44                '<p><strong>' . __('For more information:') . '</strong></p>' . 
     45                '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Sites_SubPanel">Sites Documentation</a>') . '</p>' . 
     46                '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     47        ); 
     48} 
     49 
    2150wp_enqueue_script( 'admin-forms' ); 
    2251 
    2352require_once( './admin-header.php' ); 
  • wp-admin/ms-themes.php

     
    1414 
    1515$title = __( 'Network Themes' ); 
    1616$parent_file = 'ms-admin.php'; 
     17 
     18add_contextual_help($current_screen,  
     19        '<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>' . 
     20        '<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>' . 
     21        '<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 hover link on the Sites screen.') . '</p>' . 
     22        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     23        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Themes_SubPanel">Network Themes Documentation</a>') . '</p>' . 
     24        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     25); 
     26 
    1727require_once( './admin-header.php' ); 
    1828 
    1929if ( isset( $_GET['updated'] ) ) { 
  • wp-admin/ms-upgrade-network.php

     
    1616 
    1717$title = __( 'Update Network' ); 
    1818$parent_file = 'ms-admin.php'; 
     19 
     20add_contextual_help($current_screen,  
     21        '<p>' . __('Only use this screen once you have updated to a new version of WordPress through Dashboard > Updates. Clicking the Update Network button will step through each site in the network, five at a time, and make sure any database upgrades are applied.') . '</p>' . 
     22        '<p>' . __('If a version update to core has not happened, clicking this button won&#8217;t affect anything.') . '</p>' . 
     23        '<p>' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '</p>' . 
     24        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     25        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Update_SubPanel">Update Network Documentation</a>') . '</p>' . 
     26        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     27); 
     28 
    1929require_once('admin-header.php'); 
    2030 
    2131if ( ! current_user_can( 'manage_network' ) ) 
  • wp-admin/ms-users.php

     
    1818$title = __( 'Users' ); 
    1919$parent_file = 'ms-admin.php'; 
    2020 
     21add_contextual_help($current_screen,  
     22        '<p>' . __('This table shows all users across the network and the sites to which they are assigned.') . '</p>' . 
     23        '<p>' . __('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.') . '</p>' . 
     24        '<p>' . __('You can also go to the user&#8217;s profile page for by clicking on the individual Username.') . '</p>' . 
     25        '<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>' . 
     26        '<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 emails.') . '</p>' . 
     27        '<p>' . __('Add User will add that person to this table and send them an email.') . '</p>' . 
     28        '<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>' . 
     29        '<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>' . 
     30        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     31        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Users_SubPanel">Network Users Documentation</a>') . '</p>' . 
     32        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     33); 
     34 
    2135wp_enqueue_script( 'admin-forms' ); 
    2236 
    2337require_once( './admin-header.php' ); 
  • wp-admin/my-sites.php

     
    3737 
    3838$title = __( 'My Sites' ); 
    3939$parent_file = 'index.php'; 
     40 
     41add_contextual_help($current_screen,  
     42        '<p>' . __('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.') . '</p>' . 
     43        '<p>' . __('Up until WordPress version 3.0, what is now called a Multi-site Network had to be installed separately as WordPressMU (multiple user).') . '</p>' . 
     44        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     45        '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_My_Sites_SubPanel">My Sites Documentation</a>') . '</p>' . 
     46        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     47); 
     48 
    4049require_once( './admin-header.php' ); 
    4150 
    4251if ( $updated ) { ?> 
  • wp-admin/network.php

     
    8787$title = __( 'Create a Network of WordPress Sites' ); 
    8888$parent_file = 'tools.php'; 
    8989 
    90 // @todo: Documentation? 
    91 // add_contextual_help( $current_screen, ... ); 
     90add_contextual_help($current_screen,  
     91        '<p>' . __('This screen allows you to configure a network as having subdomains (site1.example.com) or subdirectories (example.com/site1). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '</p>' . 
     92        '<p>' . __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '</p>' . 
     93        '<p>' . __('The next screen for Network 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.') . '</p>' . 
     94        '<p>' . __('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 text).') . '</p>' . 
     95        '<p>' . __('Refreshing your browser will take you to a screen with an archive of those added lines of code. A set of six links under Super Admin will appear at the top of the main left navigation menu. The multisite network is now enabled.') . '</p>' . 
     96        '<p>' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed soon in a future version.') . '</p>' . 
     97        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     98        '<p>' . __('<a href="http://codex.wordpress.org/Create_A_Network">General Network Creation Documentation</a>') . '</p>' . 
     99        '<p>' . __('<a href="http://codex.wordpress.org/Tools_Network_SubPanel">Tools > Network Documentation</a>') . '</p>' . 
     100        '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     101); 
    92102 
    93103include( './admin-header.php' ); 
    94104?>