Make WordPress Core

Changeset 28170


Ignore:
Timestamp:
04/19/2014 07:44:43 PM (10 years ago)
Author:
nacin
Message:

Customizer: Correct reference to the 'Add new image' button.

props jjeaton.
see #27890, for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r28082 r28170  
    854854                <?php
    855855                if ( $width && $height ) {
    856                     printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header size of <strong>%s &times; %s</strong> pixels.' ), $width, $height );
     856                    printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header size of <strong>%s &times; %s</strong> pixels.' ), $width, $height );
    857857                } elseif ( $width ) {
    858                     printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header width of <strong>%s</strong> pixels.' ), $width );
     858                    printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header width of <strong>%s</strong> pixels.' ), $width );
    859859                } else {
    860                     printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header height of <strong>%s</strong> pixels.' ), $height );
     860                    printf( __( 'While you can crop images to your liking after clicking <strong>Add new image</strong>, your theme recommends a header height of <strong>%s</strong> pixels.' ), $height );
    861861                }
    862862                ?>
Note: See TracChangeset for help on using the changeset viewer.