Make WordPress Core

Ticket #40431: 40431.patch

File 40431.patch, 2.5 KB (added by menakas, 7 years ago)

Changed the copy for Header Image as per suggestion

  • src/wp-includes/customize/class-wp-customize-header-image-control.php

     
    173173                        <p class="customizer-section-intro customize-control-description">
    174174                                <?php
    175175                                if ( current_theme_supports( 'custom-header', 'video' ) ) {
    176                                         _e( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, we recommend matching the size of your video.' );
     176                    _e( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.');
    177177                                } elseif ( $width && $height ) {
    178178                                        /* translators: %s: header size in pixels */
    179                                         printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header size of %s pixels.' ),
     179                                        printf( __( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
    180180                                                sprintf( '<strong>%s &times; %s</strong>', $width, $height )
    181181                                        );
    182182                                } elseif ( $width ) {
    183183                                        /* translators: %s: header width in pixels */
    184                                         printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header width of %s pixels.' ),
     184                                        printf( __( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
    185185                                                sprintf( '<strong>%s</strong>', $width )
    186186                                        );
    187187                                } else {
    188188                                        /* translators: %s: header height in pixels */
    189                                         printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header height of %s pixels.' ),
     189                                        printf( __( 'Click <strong>“Add new image”</strong> to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ),
    190190                                                sprintf( '<strong>%s</strong>', $height )
    191191                                        );
    192192                                }