diff --git a/wp-admin/edit-link-category-form.php b/wp-admin/edit-link-category-form.php index 5495b5e7ee45..7e7c004c4d0d 100644 --- a/wp-admin/edit-link-category-form.php +++ b/wp-admin/edit-link-category-form.php @@ -11,7 +11,7 @@ die('-1'); 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 diff --git a/wp-admin/export.php b/wp-admin/export.php index a8c9c451cb07..f88599196824 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -10,7 +10,7 @@ require_once ('admin.php'); 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 */ require_once('./includes/export.php'); @@ -59,7 +59,7 @@

-

+

diff --git a/wp-admin/import.php b/wp-admin/import.php index 86dcb1479aa4..3d4c2bc6400b 100644 --- a/wp-admin/import.php +++ b/wp-admin/import.php @@ -10,7 +10,7 @@ require_once ('admin.php'); 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'); require_once ('admin-header.php'); @@ -20,7 +20,7 @@

-

+

\ No newline at end of file +?> diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index b5f2677f126b..53594fa6df96 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -15,7 +15,7 @@ $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 @@ 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 10f9aff85f7a..1eca284631a8 100644 --- a/wp-admin/link.php +++ b/wp-admin/link.php @@ -15,7 +15,7 @@ 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 1ed20f1c749c..d1d0dcbc4501 100644 --- a/wp-admin/ms-edit.php +++ b/wp-admin/ms-edit.php @@ -82,7 +82,7 @@ $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 @@ } } 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 7317434bdf5b..9bb7c67e4919 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 e1c227fc6996..9d3919c3bd28 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -45,7 +45,7 @@ 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 @@ 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 @@ 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 @@ function plugin_sandbox_scrape( $plugin ) { 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 @@ function plugin_sandbox_scrape( $plugin ) { 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 @@ function plugin_sandbox_scrape( $plugin ) { 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 6aad8f0b6353..c742f9dec949 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 e31746b8801f..43c1dbcb6c54 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 7d1941f1ec17..e6536251b05b 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 c24649495095..6592d15995df 100644 --- a/wp-admin/update.php +++ b/wp-admin/update.php @@ -18,7 +18,7 @@ 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 @@ } 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 @@ } 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 @@ } 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 @@ } 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 @@ } 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 @@ 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 @@ } 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 @@ } 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 @@ } 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 e46b9de60e09..b3120c8978a8 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 d238100f6b56..fc1ad1db0667 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 51f845ddf459..cc0691cad725 100644 --- a/wp-includes/ms-settings.php +++ b/wp-includes/ms-settings.php @@ -115,7 +115,7 @@ $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 ); } } }