X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/custom-header.php diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index a46bd94b..fc5adb67 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -966,7 +966,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> */ public function admin_page() { if ( ! current_user_can('edit_theme_options') ) - wp_die(__('You do not have permission to customize headers.')); + wp_die(__('Sorry, you are not allowed to customize headers.')); $step = $this->step(); if ( 2 == $step ) $this->step_2(); @@ -1183,7 +1183,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> $attachment_id = wp_insert_attachment( $object, $cropped ); $metadata = wp_generate_attachment_metadata( $attachment_id, $cropped ); /** - * Filter the header image attachment metadata. + * Filters the header image attachment metadata. * * @since 3.9.0 *