X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7f1521bf193b382565eb753043c161f4cb3fcda7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/options-writing.php diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index 5e62f548..6248ba9e 100644 --- a/wp-admin/options-writing.php +++ b/wp-admin/options-writing.php @@ -10,7 +10,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'manage_options' ) ) - wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); + wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); $title = __('Writing Settings'); $parent_file = 'options-general.php'; @@ -27,7 +27,7 @@ if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { get_current_screen()->add_help_tab( array( 'id' => 'options-postemail', 'title' => __( 'Post Via Email' ), - 'content' => '

' . __( 'Post via email settings allow you to send your WordPress install an email with the content of your post. You must set up a secret e-mail account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '

', + 'content' => '

' . __( 'Post via email settings allow you to send your WordPress install an email with the content of your post. You must set up a secret email account with POP3 access to use this, and any mail received at this address will be posted, so it’s a good idea to keep this address very secret.' ) . '

', ) ); } @@ -50,12 +50,13 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+

+ +
@@ -65,6 +66,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
@@ -111,8 +113,16 @@ do_settings_fields('writing', 'remote_publishing'); // A deprecated section. /** This filter is documented in wp-admin/options.php */ if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?> -

-

%s, %s, %s.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?>

+

+

%s', wp_generate_password( 8, false ) ), + sprintf( '%s', wp_generate_password( 8, false ) ), + sprintf( '%s', wp_generate_password( 8, false ) ) +); +?>

@@ -146,7 +156,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_categor 0, 'name' => 'default_email_categor */ if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?> -

+

-

+