diff --git a/wp-admin/options-discussion.php b/wp-admin/options-discussion.php index 032c995ca..f2d36dc2b 100644 --- a/wp-admin/options-discussion.php +++ b/wp-admin/options-discussion.php @@ -9,8 +9,8 @@ /** WordPress Administration Bootstrap */ require_once('admin.php'); -if ( ! current_user_can('manage_options') ) - wp_die(__('You do not have sufficient permissions to manage options for this blog.')); +if ( ! current_user_can( 'manage_options' ) ) + wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); $title = __('Discussion Settings'); $parent_file = 'options-general.php'; @@ -151,7 +151,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each

-

+

diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 5edab2e19..a7d040b7a 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -9,8 +9,8 @@ /** WordPress Administration Bootstrap */ require_once('./admin.php'); -if ( ! current_user_can('manage_options') ) - wp_die(__('You do not have sufficient permissions to manage options for this blog.')); +if ( ! current_user_can( 'manage_options' ) ) + wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); $title = __('General Settings'); $parent_file = 'options-general.php'; @@ -64,13 +64,13 @@ include('./admin-header.php'); - + + @@ -78,9 +78,9 @@ include('./admin-header.php'); - + +to be different from the directory you installed WordPress.'); ?> @@ -322,7 +322,7 @@ if ( is_multisite() && is_dir( ABSPATH . LANGDIR ) && $dh = opendir( ABSPATH . L if ( !empty($lang_files) ) { ?> - +
-
class="regular-text code" />
class="regular-text code" /> -to be different from the directory you installed WordPress.'); ?>
- - + diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 1e55c49cc..c28cab887 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -10,7 +10,7 @@ require_once( 'admin.php' ); if ( ! current_user_can( 'manage_options' ) ) - wp_die( __( 'You do not have sufficient permissions to manage options for this blog.' ) ); + wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); $title = __( 'Reading Settings' ); $parent_file = 'options-general.php'; @@ -75,7 +75,7 @@ include( 'admin-header.php' ); +character encoding of your site (UTF-8 is recommended, if you are adventurous there are some other encodings)' ); ?>
-

/> -

-

/> -

+
+ /> +
+ /> +
-character encoding of your blog (UTF-8 is recommended, if you are adventurous there are some other encodings)' ); ?>
diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index b758bc96f..3059cf2a0 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -9,8 +9,8 @@ /** WordPress Administration Bootstrap */ require_once('admin.php'); -if ( ! current_user_can('manage_options') ) - wp_die(__('You do not have sufficient permissions to manage options for this blog.')); +if ( ! current_user_can( 'manage_options' ) ) + wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); $title = __('Writing Settings'); $parent_file = 'options-general.php'; @@ -125,7 +125,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_categor -

Update Services because of your blog’s privacy settings.'), 'options-privacy.php'); ?>

+

Update Services because of your site’s privacy settings.'), 'options-privacy.php'); ?>

diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index f94ee812f..dbad9f2a8 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -9,8 +9,8 @@ /** WordPress Administration Bootstrap */ require_once('admin.php'); -if ( ! current_user_can('activate_plugins') ) - wp_die(__('You do not have sufficient permissions to manage plugins for this blog.')); +if ( ! current_user_can( 'activate_plugins' ) ) + wp_die( __( 'You do not have sufficient permissions to manage plugins for this blog.' ) ); if ( isset($_POST['clear-recent-list']) ) $action = 'clear-recent-list';