-
+
\ No newline at end of file
+?>
diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php
index b5f2677f12..53594fa6df 100644
--- a/wp-admin/link-manager.php
+++ b/wp-admin/link-manager.php
@@ -15,7 +15,7 @@ if ( isset($_GET['action']) && isset($_GET['linkcheck']) ) {
$doaction = $_GET['action'] ? $_GET['action'] : $_GET['action2'];
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 ) {
$bulklinks = (array) $_GET['linkcheck'];
@@ -46,7 +46,7 @@ $this_file = $parent_file = 'link-manager.php';
include_once ('./admin-header.php');
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) {
case 'order_id' :
diff --git a/wp-admin/link.php b/wp-admin/link.php
index 10f9aff85f..1eca284631 100644
--- a/wp-admin/link.php
+++ b/wp-admin/link.php
@@ -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[]'));
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']) )
$action = 'deletebookmarks';
diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php
index 1ed20f1c74..d1d0dcbc45 100644
--- a/wp-admin/ms-edit.php
+++ b/wp-admin/ms-edit.php
@@ -82,7 +82,7 @@ switch ( $_GET['action'] ) {
$blog_details = get_blog_details( $dashboard_blog );
if ( false === $blog_details ) {
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() ) {
$domain = $dashboard_blog . '.' . $current_site->domain;
$path = $current_site->path;
@@ -98,7 +98,7 @@ switch ( $_GET['action'] ) {
}
}
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'] ) {
$users = get_users_of_blog( get_site_option( 'dashboard_blog' ) );
$move_users = array();
diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php
index 7317434bdf..9bb7c67e49 100644
--- a/wp-admin/plugin-install.php
+++ b/wp-admin/plugin-install.php
@@ -10,7 +10,7 @@
require_once('./admin.php');
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');
diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php
index e1c227fc69..9d3919c3bd 100644
--- a/wp-admin/plugins.php
+++ b/wp-admin/plugins.php
@@ -45,7 +45,7 @@ if ( !empty($action) ) {
switch ( $action ) {
case 'activate':
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);
@@ -72,7 +72,7 @@ if ( !empty($action) ) {
case 'activate-selected':
case 'network-activate-selected':
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');
@@ -126,7 +126,7 @@ if ( !empty($action) ) {
break;
case 'error_scrape':
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);
@@ -152,7 +152,7 @@ if ( !empty($action) ) {
break;
case 'deactivate':
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);
deactivate_plugins($plugin);
@@ -165,7 +165,7 @@ if ( !empty($action) ) {
break;
case 'deactivate-selected':
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');
@@ -188,7 +188,7 @@ if ( !empty($action) ) {
break;
case 'delete-selected':
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');
diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php
index 6aad8f0b63..c742f9dec9 100644
--- a/wp-admin/theme-editor.php
+++ b/wp-admin/theme-editor.php
@@ -10,7 +10,7 @@
require_once('./admin.php');
if ( !current_user_can('edit_themes') )
- wp_die('
'.__('You do not have sufficient permissions to edit templates for this blog.').'
');
+ wp_die('
'.__('You do not have sufficient permissions to edit templates for this site.').'
');
$title = __("Edit Themes");
$parent_file = 'themes.php';
diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php
index e31746b880..43c1dbcb6c 100644
--- a/wp-admin/theme-install.php
+++ b/wp-admin/theme-install.php
@@ -10,7 +10,7 @@
require_once('./admin.php');
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');
diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
index 7d1941f1ec..e6536251b0 100644
--- a/wp-admin/update-core.php
+++ b/wp-admin/update-core.php
@@ -10,7 +10,7 @@
require_once('./admin.php');
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 ) {
global $wp_local_package, $wpdb;
diff --git a/wp-admin/update.php b/wp-admin/update.php
index c246494950..6592d15995 100644
--- a/wp-admin/update.php
+++ b/wp-admin/update.php
@@ -18,7 +18,7 @@ if ( isset($_GET['action']) ) {
if ( 'update-selected' == $action ) {
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' );
@@ -45,7 +45,7 @@ if ( isset($_GET['action']) ) {
} elseif ( 'upgrade-plugin' == $action ) {
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);
@@ -64,7 +64,7 @@ if ( isset($_GET['action']) ) {
} elseif ('activate-plugin' == $action ) {
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);
if ( ! isset($_GET['failure']) && ! isset($_GET['success']) ) {
@@ -92,7 +92,7 @@ if ( isset($_GET['action']) ) {
} elseif ( 'install-plugin' == $action ) {
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..
@@ -120,7 +120,7 @@ if ( isset($_GET['action']) ) {
} elseif ( 'upload-plugin' == $action ) {
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');
@@ -144,7 +144,7 @@ if ( isset($_GET['action']) ) {
} elseif ( 'upgrade-theme' == $action ) {
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);
@@ -164,7 +164,7 @@ if ( isset($_GET['action']) ) {
include('./admin-footer.php');
} elseif ( 'update-selected-themes' == $action ) {
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' );
@@ -191,7 +191,7 @@ if ( isset($_GET['action']) ) {
} elseif ( 'install-theme' == $action ) {
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..
@@ -221,7 +221,7 @@ if ( isset($_GET['action']) ) {
} elseif ( 'upload-theme' == $action ) {
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');
@@ -247,4 +247,4 @@ if ( isset($_GET['action']) ) {
} else {
do_action('update-custom_' . $action);
}
-}
\ No newline at end of file
+}
diff --git a/wp-includes/load.php b/wp-includes/load.php
index e46b9de60e..b3120c8978 100644
--- a/wp-includes/load.php
+++ b/wp-includes/load.php
@@ -392,7 +392,7 @@ function wp_start_object_cache() {
function wp_not_installed() {
if ( is_multisite() ) {
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' ) ) {
if ( defined( 'WP_SITEURL' ) )
$link = WP_SITEURL . '/wp-admin/install.php';
@@ -583,4 +583,4 @@ function is_multisite() {
return false;
}
-?>
\ No newline at end of file
+?>
diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php
index d238100f6b..fc1ad1db06 100644
--- a/wp-includes/ms-load.php
+++ b/wp-includes/ms-load.php
@@ -68,7 +68,7 @@ function ms_site_check() {
return WP_CONTENT_DIR . '/blog-suspended.php';
} else {
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.
// @todo Update or remove WPMU codex link.
if ( 1 == count( $sites ) )
- wp_die( sprintf( /*WP_I18N_BLOG_DOESNT_EXIST*/'That blog does not exist. Please try
%s.'/*/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
%s.'/*/WP_I18N_BLOG_DOESNT_EXIST*/, $sites[0]->domain . $sites[0]->path ) );
else
wp_die( /*WP_I18N_NO_SITE_DEFINED*/'No site defined on this host. If you are the owner of this site, please check
Debugging WPMU for help.'/*/WP_I18N_NO_SITE_DEFINED*/ );
}
diff --git a/wp-includes/ms-settings.php b/wp-includes/ms-settings.php
index 51f845ddf4..cc0691cad7 100644
--- a/wp-includes/ms-settings.php
+++ b/wp-includes/ms-settings.php
@@ -115,7 +115,7 @@ if ( !isset( $current_site ) || !isset( $current_blog ) ) {
$current_blog->blog_id = $blog_id = 1;
} else {
$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 );
}
}
}