X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/53f4633144ed68c8b8fb5861f992b5489894a940..refs/heads/pristine:/wp-admin/options-writing.php diff --git a/wp-admin/options-writing.php b/wp-admin/options-writing.php index ba7eeca7..aa314f3b 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.' ) . '
', ) ); } @@ -42,8 +42,8 @@ if ( apply_filters( 'enable_update_services_configuration', true ) ) { get_current_screen()->set_help_sidebar( '' . __('For more information:') . '
' . - '' . __('Documentation on Writing Settings') . '
' . - '' . __('Support Forums') . '
' + '' . __('Documentation on Writing Settings') . '
' . + '' . __('Support Forums') . '
' ); include( ABSPATH . 'wp-admin/admin-header.php' ); @@ -113,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 ) ) +); +?>