mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
They call me multisite. props ryan, zeo. see #19020.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
02dfdbbbf4
commit
cc50764a8b
@ -58,7 +58,7 @@ require_once(ABSPATH . 'wp-admin/includes/update.php');
|
||||
/** WordPress Deprecated Administration API */
|
||||
require_once(ABSPATH . 'wp-admin/includes/deprecated.php');
|
||||
|
||||
/** WordPress Multi-Site support API */
|
||||
/** WordPress Multisite support API */
|
||||
if ( is_multisite() ) {
|
||||
require_once(ABSPATH . 'wp-admin/includes/ms.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/ms-deprecated.php');
|
||||
|
@ -37,7 +37,7 @@ $parent_file = 'index.php';
|
||||
|
||||
add_contextual_help($current_screen,
|
||||
'<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>' .
|
||||
'<p>' . __('Up until WordPress version 3.0, what is now called a Multi-site Network had to be installed separately as WordPress MU (multi-user).') . '</p>'
|
||||
'<p>' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '</p>'
|
||||
);
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
|
@ -48,7 +48,7 @@ get_current_screen()->add_help_tab( array(
|
||||
|
||||
if ( current_user_can( 'install_themes' ) ) {
|
||||
if ( is_multisite() ) {
|
||||
$help_install = '<p>' . __('Installing themes on MultiSite can only be done from the Network Admin section.') . '</p>';
|
||||
$help_install = '<p>' . __('Installing themes on Multisite can only be done from the Network Admin section.') . '</p>';
|
||||
} else {
|
||||
$help_install = '<p>' . sprintf( __('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/' ) . '</p>';
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Multi-site WordPress API
|
||||
* Multisite WordPress API
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Multisite
|
||||
|
Loading…
Reference in New Issue
Block a user