Make WordPress Core

Ticket #19616: custombg.2.diff

File custombg.2.diff, 1.1 KB (added by tw2113, 11 years ago)

Accidentally had the 2011 text domain in the first patch.

  • wp-admin/custom-background.php

    304304<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
    305305<?php $show_clear = get_background_color() ? '' : ' style="display:none"'; ?>
    306306<input type="text" name="background-color" id="background-color" value="#<?php echo esc_attr(get_background_color()) ?>" />
    307 <a class="hide-if-no-js" href="#" id="pickcolor"><?php _e('Select a Color'); ?></a> <span<?php echo $show_clear; ?> class="hide-if-no-js" id="clearcolor"> (<a href="#"><?php _e( 'Clear' ); ?></a>)</span>
     307<input id="pickcolor" type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color' ); ?>" /><span<?php echo $show_clear; ?> class="hide-if-no-js" id="clearcolor"> (<a href="#"><?php _e( 'Clear' ); ?></a>)</span>
    308308<div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>