]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/custom-header.php
Wordpress 4.6-scripts
[autoinstalls/wordpress.git] / wp-admin / custom-header.php
index a46bd94b7f0af21160cf46ae05bcbb00cbce74a4..fc5adb670ede0b7267b34295b906f3d1ac4b66bf 100644 (file)
@@ -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
                 *