~canonical-sysadmins/wordpress/5.0

« back to all changes in this revision

Viewing changes to wp-admin/network/site-themes.php

  • Committer: Barry Price
  • Date: 2017-11-17 04:49:02 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: barry.price@canonical.com-20171117044902-5frux4ycbq6g9fyf
Merge WP4.9 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
if ( ! current_user_can( 'manage_sites' ) )
14
14
        wp_die( __( 'Sorry, you are not allowed to manage themes for this site.' ) );
15
15
 
16
 
get_current_screen()->add_help_tab( array(
17
 
        'id'      => 'overview',
18
 
        'title'   => __('Overview'),
19
 
        'content' =>
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> &mdash; The site URL is 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.') . '</p>' .
22
 
                '<p>' . __('<strong>Users</strong> &mdash; 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.') . '</p>' .
23
 
                '<p>' . sprintf( __('<strong>Themes</strong> &mdash; 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&#8217;s Appearance menu. To enable a theme for the entire network, see the <a href="%s">Network Themes</a> screen.' ), network_admin_url( 'themes.php' ) ) . '</p>' .
24
 
                '<p>' . __('<strong>Settings</strong> &mdash; 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.') . '</p>'
25
 
) );
26
 
 
27
 
get_current_screen()->set_help_sidebar(
28
 
        '<p><strong>' . __('For more information:') . '</strong></p>' .
29
 
        '<p>' . __('<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>') . '</p>' .
30
 
        '<p>' . __('<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>') . '</p>'
31
 
);
 
16
get_current_screen()->add_help_tab( get_site_screen_help_tab_args() );
 
17
get_current_screen()->set_help_sidebar( get_site_screen_help_sidebar_content() );
32
18
 
33
19
get_current_screen()->set_screen_reader_content( array(
34
20
        'heading_views'      => __( 'Filter site themes list' ),