Make WordPress Core

Ticket #30706: 30706.diff

File 30706.diff, 1.1 KB (added by obenland, 11 years ago)
  • src/wp-includes/class-wp-customize-control.php

     
    13101310                        </div>
    13111311                        <div class="actions">
    13121312                                <?php if ( current_user_can( 'upload_files' ) ): ?>
    1313                                 <?php /* translators: Hide as in hide header image via the Customizer */ ?>
    1314                                 <button type="button"<?php echo $visibility ?> class="button remove"><?php _ex( 'Hide image', 'custom header' ); ?></button>
    1315                                 <?php /* translators: New as in add new header image via the Customizer */ ?>
    1316                                 <button type="button" class="button new"><?php _ex( 'Add new image', 'header image' ); ?></button>
     1313                                <button type="button"<?php echo $visibility; ?> class="button remove" aria-label="<?php esc_attr_e( 'Hide header image' ); ?>"><?php _e( 'Hide image' ); ?></button>
     1314                                <button type="button" class="button new" aria-label="<?php esc_attr_e( 'Add new header image' ); ?>"><?php _e( 'Add new image' ); ?></button>
    13171315                                <div style="clear:both"></div>
    13181316                                <?php endif; ?>
    13191317                        </div>