mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c1cc83750
commit
f9df8a36ae
@ -11,7 +11,7 @@ if ( !defined('ABSPATH') )
|
|||||||
die('-1');
|
die('-1');
|
||||||
|
|
||||||
if ( !current_user_can('manage_categories') )
|
if ( !current_user_can('manage_categories') )
|
||||||
wp_die(__('You do not have sufficient permissions to edit link categories for this blog.'));
|
wp_die(__('You do not have sufficient permissions to edit link categories for this site.'));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var object
|
* @var object
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once ('admin.php');
|
require_once ('admin.php');
|
||||||
|
|
||||||
if ( !current_user_can('edit_files') )
|
if ( !current_user_can('edit_files') )
|
||||||
wp_die(__('You do not have sufficient permissions to export the content of this blog.'));
|
wp_die(__('You do not have sufficient permissions to export the content of this site.'));
|
||||||
|
|
||||||
/** Load WordPress export API */
|
/** Load WordPress export API */
|
||||||
require_once('./includes/export.php');
|
require_once('./includes/export.php');
|
||||||
@ -59,7 +59,7 @@ for ( $i = 1; $i < 13; $i++ ) {
|
|||||||
|
|
||||||
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
|
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
|
||||||
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p>
|
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p>
|
||||||
<p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
|
<p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress site to import this site.'); ?></p>
|
||||||
<form action="" method="get">
|
<form action="" method="get">
|
||||||
<h3><?php _e('Options'); ?></h3>
|
<h3><?php _e('Options'); ?></h3>
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once ('admin.php');
|
require_once ('admin.php');
|
||||||
|
|
||||||
if ( !current_user_can('edit_files') )
|
if ( !current_user_can('edit_files') )
|
||||||
wp_die(__('You do not have sufficient permissions to import content in this blog.'));
|
wp_die(__('You do not have sufficient permissions to import content in this site.'));
|
||||||
|
|
||||||
$title = __('Import');
|
$title = __('Import');
|
||||||
require_once ('admin-header.php');
|
require_once ('admin-header.php');
|
||||||
@ -20,7 +20,7 @@ $parent_file = 'tools.php';
|
|||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<p><?php _e('If you have posts or comments in another system, WordPress can import those into this blog. To get started, choose a system to import from below:'); ?></p>
|
<p><?php _e('If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:'); ?></p>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
|
||||||
if ( ! current_user_can('manage_links') )
|
if ( ! current_user_can('manage_links') )
|
||||||
wp_die(__('You do not have sufficient permissions to add links to this blog.'));
|
wp_die(__('You do not have sufficient permissions to add links to this site.'));
|
||||||
|
|
||||||
$title = __('Add New Link');
|
$title = __('Add New Link');
|
||||||
$parent_file = 'link-manager.php';
|
$parent_file = 'link-manager.php';
|
||||||
|
@ -15,7 +15,7 @@ if ( isset($_GET['action']) && isset($_GET['linkcheck']) ) {
|
|||||||
$doaction = $_GET['action'] ? $_GET['action'] : $_GET['action2'];
|
$doaction = $_GET['action'] ? $_GET['action'] : $_GET['action2'];
|
||||||
|
|
||||||
if ( ! current_user_can('manage_links') )
|
if ( ! current_user_can('manage_links') )
|
||||||
wp_die( __('You do not have sufficient permissions to edit the links for this blog.') );
|
wp_die( __('You do not have sufficient permissions to edit the links for this site.') );
|
||||||
|
|
||||||
if ( 'delete' == $doaction ) {
|
if ( 'delete' == $doaction ) {
|
||||||
$bulklinks = (array) $_GET['linkcheck'];
|
$bulklinks = (array) $_GET['linkcheck'];
|
||||||
@ -46,7 +46,7 @@ $this_file = $parent_file = 'link-manager.php';
|
|||||||
include_once ('./admin-header.php');
|
include_once ('./admin-header.php');
|
||||||
|
|
||||||
if ( ! current_user_can('manage_links') )
|
if ( ! current_user_can('manage_links') )
|
||||||
wp_die(__("You do not have sufficient permissions to edit the links for this blog."));
|
wp_die(__("You do not have sufficient permissions to edit the links for this site."));
|
||||||
|
|
||||||
switch ($order_by) {
|
switch ($order_by) {
|
||||||
case 'order_id' :
|
case 'order_id' :
|
||||||
|
@ -15,7 +15,7 @@ require_once ('admin.php');
|
|||||||
wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]'));
|
wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]'));
|
||||||
|
|
||||||
if ( ! current_user_can('manage_links') )
|
if ( ! current_user_can('manage_links') )
|
||||||
wp_die( __('You do not have sufficient permissions to edit the links for this blog.') );
|
wp_die( __('You do not have sufficient permissions to edit the links for this site.') );
|
||||||
|
|
||||||
if ( !empty($_POST['deletebookmarks']) )
|
if ( !empty($_POST['deletebookmarks']) )
|
||||||
$action = 'deletebookmarks';
|
$action = 'deletebookmarks';
|
||||||
|
@ -82,7 +82,7 @@ switch ( $_GET['action'] ) {
|
|||||||
$blog_details = get_blog_details( $dashboard_blog );
|
$blog_details = get_blog_details( $dashboard_blog );
|
||||||
if ( false === $blog_details ) {
|
if ( false === $blog_details ) {
|
||||||
if ( is_numeric( $dashboard_blog ) )
|
if ( is_numeric( $dashboard_blog ) )
|
||||||
wp_die( __( 'Dashboard blog_id must be a blog that already exists' ) );
|
wp_die( __( 'A dashboard site referenced by ID must already exist' ) );
|
||||||
if ( is_subdomain_install() ) {
|
if ( is_subdomain_install() ) {
|
||||||
$domain = $dashboard_blog . '.' . $current_site->domain;
|
$domain = $dashboard_blog . '.' . $current_site->domain;
|
||||||
$path = $current_site->path;
|
$path = $current_site->path;
|
||||||
@ -98,7 +98,7 @@ switch ( $_GET['action'] ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( is_wp_error( $dashboard_blog_id ) )
|
if ( is_wp_error( $dashboard_blog_id ) )
|
||||||
wp_die( __( 'Problem creating dashboard blog: ' ) . $dashboard_blog_id->get_error_message() );
|
wp_die( __( 'Problem creating dashboard site: ' ) . $dashboard_blog_id->get_error_message() );
|
||||||
if ( $_POST['dashboard_blog_orig'] != $_POST['dashboard_blog'] ) {
|
if ( $_POST['dashboard_blog_orig'] != $_POST['dashboard_blog'] ) {
|
||||||
$users = get_users_of_blog( get_site_option( 'dashboard_blog' ) );
|
$users = get_users_of_blog( get_site_option( 'dashboard_blog' ) );
|
||||||
$move_users = array();
|
$move_users = array();
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
|
||||||
if ( ! current_user_can('install_plugins') )
|
if ( ! current_user_can('install_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to install plugins on this blog.'));
|
wp_die(__('You do not have sufficient permissions to install plugins on this site.'));
|
||||||
|
|
||||||
include(ABSPATH . 'wp-admin/includes/plugin-install.php');
|
include(ABSPATH . 'wp-admin/includes/plugin-install.php');
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ if ( !empty($action) ) {
|
|||||||
switch ( $action ) {
|
switch ( $action ) {
|
||||||
case 'activate':
|
case 'activate':
|
||||||
if ( ! current_user_can('activate_plugins') )
|
if ( ! current_user_can('activate_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to activate plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('activate-plugin_' . $plugin);
|
check_admin_referer('activate-plugin_' . $plugin);
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ if ( !empty($action) ) {
|
|||||||
case 'activate-selected':
|
case 'activate-selected':
|
||||||
case 'network-activate-selected':
|
case 'network-activate-selected':
|
||||||
if ( ! current_user_can('activate_plugins') )
|
if ( ! current_user_can('activate_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to activate plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('bulk-manage-plugins');
|
check_admin_referer('bulk-manage-plugins');
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ if ( !empty($action) ) {
|
|||||||
break;
|
break;
|
||||||
case 'error_scrape':
|
case 'error_scrape':
|
||||||
if ( ! current_user_can('activate_plugins') )
|
if ( ! current_user_can('activate_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to activate plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('plugin-activation-error_' . $plugin);
|
check_admin_referer('plugin-activation-error_' . $plugin);
|
||||||
|
|
||||||
@ -152,7 +152,7 @@ if ( !empty($action) ) {
|
|||||||
break;
|
break;
|
||||||
case 'deactivate':
|
case 'deactivate':
|
||||||
if ( ! current_user_can('activate_plugins') )
|
if ( ! current_user_can('activate_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('deactivate-plugin_' . $plugin);
|
check_admin_referer('deactivate-plugin_' . $plugin);
|
||||||
deactivate_plugins($plugin);
|
deactivate_plugins($plugin);
|
||||||
@ -165,7 +165,7 @@ if ( !empty($action) ) {
|
|||||||
break;
|
break;
|
||||||
case 'deactivate-selected':
|
case 'deactivate-selected':
|
||||||
if ( ! current_user_can('activate_plugins') )
|
if ( ! current_user_can('activate_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('bulk-manage-plugins');
|
check_admin_referer('bulk-manage-plugins');
|
||||||
|
|
||||||
@ -188,7 +188,7 @@ if ( !empty($action) ) {
|
|||||||
break;
|
break;
|
||||||
case 'delete-selected':
|
case 'delete-selected':
|
||||||
if ( ! current_user_can('delete_plugins') )
|
if ( ! current_user_can('delete_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to delete plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to delete plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('bulk-manage-plugins');
|
check_admin_referer('bulk-manage-plugins');
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
|
||||||
if ( !current_user_can('edit_themes') )
|
if ( !current_user_can('edit_themes') )
|
||||||
wp_die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>');
|
wp_die('<p>'.__('You do not have sufficient permissions to edit templates for this site.').'</p>');
|
||||||
|
|
||||||
$title = __("Edit Themes");
|
$title = __("Edit Themes");
|
||||||
$parent_file = 'themes.php';
|
$parent_file = 'themes.php';
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
|
||||||
if ( ! current_user_can('install_themes') )
|
if ( ! current_user_can('install_themes') )
|
||||||
wp_die(__('You do not have sufficient permissions to install themes on this blog.'));
|
wp_die(__('You do not have sufficient permissions to install themes on this site.'));
|
||||||
|
|
||||||
include(ABSPATH . 'wp-admin/includes/theme-install.php');
|
include(ABSPATH . 'wp-admin/includes/theme-install.php');
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
require_once('./admin.php');
|
require_once('./admin.php');
|
||||||
|
|
||||||
if ( ! current_user_can('update_plugins') )
|
if ( ! current_user_can('update_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to update plugins for this site.'));
|
||||||
|
|
||||||
function list_core_update( $update ) {
|
function list_core_update( $update ) {
|
||||||
global $wp_local_package, $wpdb;
|
global $wp_local_package, $wpdb;
|
||||||
|
@ -18,7 +18,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
|
|
||||||
if ( 'update-selected' == $action ) {
|
if ( 'update-selected' == $action ) {
|
||||||
if ( ! current_user_can( 'update_plugins' ) )
|
if ( ! current_user_can( 'update_plugins' ) )
|
||||||
wp_die( __( 'You do not have sufficient permissions to update plugins for this blog.' ) );
|
wp_die( __( 'You do not have sufficient permissions to update plugins for this site.' ) );
|
||||||
|
|
||||||
check_admin_referer( 'bulk-update-plugins' );
|
check_admin_referer( 'bulk-update-plugins' );
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
|
|
||||||
} elseif ( 'upgrade-plugin' == $action ) {
|
} elseif ( 'upgrade-plugin' == $action ) {
|
||||||
if ( ! current_user_can('update_plugins') )
|
if ( ! current_user_can('update_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to update plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('upgrade-plugin_' . $plugin);
|
check_admin_referer('upgrade-plugin_' . $plugin);
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
|
|
||||||
} elseif ('activate-plugin' == $action ) {
|
} elseif ('activate-plugin' == $action ) {
|
||||||
if ( ! current_user_can('update_plugins') )
|
if ( ! current_user_can('update_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to update plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('activate-plugin_' . $plugin);
|
check_admin_referer('activate-plugin_' . $plugin);
|
||||||
if ( ! isset($_GET['failure']) && ! isset($_GET['success']) ) {
|
if ( ! isset($_GET['failure']) && ! isset($_GET['success']) ) {
|
||||||
@ -92,7 +92,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
} elseif ( 'install-plugin' == $action ) {
|
} elseif ( 'install-plugin' == $action ) {
|
||||||
|
|
||||||
if ( ! current_user_can('install_plugins') )
|
if ( ! current_user_can('install_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to install plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to install plugins for this site.'));
|
||||||
|
|
||||||
include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api..
|
include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api..
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
} elseif ( 'upload-plugin' == $action ) {
|
} elseif ( 'upload-plugin' == $action ) {
|
||||||
|
|
||||||
if ( ! current_user_can('install_plugins') )
|
if ( ! current_user_can('install_plugins') )
|
||||||
wp_die(__('You do not have sufficient permissions to install plugins for this blog.'));
|
wp_die(__('You do not have sufficient permissions to install plugins for this site.'));
|
||||||
|
|
||||||
check_admin_referer('plugin-upload');
|
check_admin_referer('plugin-upload');
|
||||||
|
|
||||||
@ -144,7 +144,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
} elseif ( 'upgrade-theme' == $action ) {
|
} elseif ( 'upgrade-theme' == $action ) {
|
||||||
|
|
||||||
if ( ! current_user_can('update_themes') )
|
if ( ! current_user_can('update_themes') )
|
||||||
wp_die(__('You do not have sufficient permissions to update themes for this blog.'));
|
wp_die(__('You do not have sufficient permissions to update themes for this site.'));
|
||||||
|
|
||||||
check_admin_referer('upgrade-theme_' . $theme);
|
check_admin_referer('upgrade-theme_' . $theme);
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
include('./admin-footer.php');
|
include('./admin-footer.php');
|
||||||
} elseif ( 'update-selected-themes' == $action ) {
|
} elseif ( 'update-selected-themes' == $action ) {
|
||||||
if ( ! current_user_can( 'update_themes' ) )
|
if ( ! current_user_can( 'update_themes' ) )
|
||||||
wp_die( __( 'You do not have sufficient permissions to update themes for this blog.' ) );
|
wp_die( __( 'You do not have sufficient permissions to update themes for this site.' ) );
|
||||||
|
|
||||||
check_admin_referer( 'bulk-update-themes' );
|
check_admin_referer( 'bulk-update-themes' );
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
} elseif ( 'install-theme' == $action ) {
|
} elseif ( 'install-theme' == $action ) {
|
||||||
|
|
||||||
if ( ! current_user_can('install_themes') )
|
if ( ! current_user_can('install_themes') )
|
||||||
wp_die(__('You do not have sufficient permissions to install themes for this blog.'));
|
wp_die(__('You do not have sufficient permissions to install themes for this site.'));
|
||||||
|
|
||||||
include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api..
|
include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api..
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ if ( isset($_GET['action']) ) {
|
|||||||
} elseif ( 'upload-theme' == $action ) {
|
} elseif ( 'upload-theme' == $action ) {
|
||||||
|
|
||||||
if ( ! current_user_can('install_themes') )
|
if ( ! current_user_can('install_themes') )
|
||||||
wp_die(__('You do not have sufficient permissions to install themes for this blog.'));
|
wp_die(__('You do not have sufficient permissions to install themes for this site.'));
|
||||||
|
|
||||||
check_admin_referer('theme-upload');
|
check_admin_referer('theme-upload');
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ function wp_start_object_cache() {
|
|||||||
function wp_not_installed() {
|
function wp_not_installed() {
|
||||||
if ( is_multisite() ) {
|
if ( is_multisite() ) {
|
||||||
if ( ! is_blog_installed() && ! defined( 'WP_INSTALLING' ) )
|
if ( ! is_blog_installed() && ! defined( 'WP_INSTALLING' ) )
|
||||||
wp_die( __( 'The blog you have requested is not installed properly. Please contact the system administrator.' ) );
|
wp_die( __( 'The site you have requested is not installed properly. Please contact the system administrator.' ) );
|
||||||
} elseif ( ! is_blog_installed() && false === strpos( $_SERVER['PHP_SELF'], 'install.php' ) && !defined( 'WP_INSTALLING' ) ) {
|
} elseif ( ! is_blog_installed() && false === strpos( $_SERVER['PHP_SELF'], 'install.php' ) && !defined( 'WP_INSTALLING' ) ) {
|
||||||
if ( defined( 'WP_SITEURL' ) )
|
if ( defined( 'WP_SITEURL' ) )
|
||||||
$link = WP_SITEURL . '/wp-admin/install.php';
|
$link = WP_SITEURL . '/wp-admin/install.php';
|
||||||
|
@ -68,7 +68,7 @@ function ms_site_check() {
|
|||||||
return WP_CONTENT_DIR . '/blog-suspended.php';
|
return WP_CONTENT_DIR . '/blog-suspended.php';
|
||||||
} else {
|
} else {
|
||||||
header( 'HTTP/1.1 410 Gone' );
|
header( 'HTTP/1.1 410 Gone' );
|
||||||
wp_die( /*WP_I18N_ARCHIVED*/'This blog has been archived or suspended.'/*/WP_I18N_ARCHIVED*/ );
|
wp_die( /*WP_I18N_ARCHIVED*/'This site has been archived or suspended.'/*/WP_I18N_ARCHIVED*/ );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -181,7 +181,7 @@ function wpmu_current_site() {
|
|||||||
// Still no dice.
|
// Still no dice.
|
||||||
// @todo Update or remove WPMU codex link.
|
// @todo Update or remove WPMU codex link.
|
||||||
if ( 1 == count( $sites ) )
|
if ( 1 == count( $sites ) )
|
||||||
wp_die( sprintf( /*WP_I18N_BLOG_DOESNT_EXIST*/'That blog does not exist. Please try <a href="%s">%s</a>.'/*/WP_I18N_BLOG_DOESNT_EXIST*/, $sites[0]->domain . $sites[0]->path ) );
|
wp_die( sprintf( /*WP_I18N_BLOG_DOESNT_EXIST*/'That site does not exist. Please try <a href="%s">%s</a>.'/*/WP_I18N_BLOG_DOESNT_EXIST*/, $sites[0]->domain . $sites[0]->path ) );
|
||||||
else
|
else
|
||||||
wp_die( /*WP_I18N_NO_SITE_DEFINED*/'No site defined on this host. If you are the owner of this site, please check <a href="http://codex.wordpress.org/Debugging_WPMU">Debugging WPMU</a> for help.'/*/WP_I18N_NO_SITE_DEFINED*/ );
|
wp_die( /*WP_I18N_NO_SITE_DEFINED*/'No site defined on this host. If you are the owner of this site, please check <a href="http://codex.wordpress.org/Debugging_WPMU">Debugging WPMU</a> for help.'/*/WP_I18N_NO_SITE_DEFINED*/ );
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ if ( !isset( $current_site ) || !isset( $current_blog ) ) {
|
|||||||
$current_blog->blog_id = $blog_id = 1;
|
$current_blog->blog_id = $blog_id = 1;
|
||||||
} else {
|
} else {
|
||||||
$msg = ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' . /*WP_I18N_TABLES_MISSING*/'Database tables are missing.'/*/WP_I18N_TABLES_MISSING*/ : '';
|
$msg = ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' . /*WP_I18N_TABLES_MISSING*/'Database tables are missing.'/*/WP_I18N_TABLES_MISSING*/ : '';
|
||||||
wp_die( /*WP_I18N_NO_BLOG*/'No blog by that name on this system.'/*/WP_I18N_NO_BLOG*/ . $msg );
|
wp_die( /*WP_I18N_NO_BLOG*/'No site by that name on this system.'/*/WP_I18N_NO_BLOG*/ . $msg );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user