Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-background.php

    r16660 r15231  
    2020     *
    2121     * @var callback
    22      * @since 3.0.0
     22     * @since unknown
    2323     * @access private
    2424     */
     
    211211<form method="post" action="">
    212212<?php wp_nonce_field('custom-background-remove', '_wpnonce-custom-background-remove'); ?>
    213 <?php submit_button( __( 'Remove Background Image' ), 'button', 'remove-background', false ); ?><br/>
     213<input type="submit" class="button" name="remove-background" value="<?php esc_attr_e('Remove Background Image'); ?>" /><br/>
    214214<?php _e('This will remove the background image. You will not be able to restore any customizations.') ?>
    215215</form>
     
    224224<form method="post" action="">
    225225<?php wp_nonce_field('custom-background-reset', '_wpnonce-custom-background-reset'); ?>
    226 <?php submit_button( __( 'Restore Original Image' ), 'button', 'reset-background', false ); ?><br/>
     226<input type="submit" class="button" name="reset-background" value="<?php esc_attr_e('Restore Original Image'); ?>" /><br/>
    227227<?php _e('This will restore the original background image. You will not be able to restore any customizations.') ?>
    228228</form>
     
    237237<input type="hidden" name="action" value="save" />
    238238<?php wp_nonce_field('custom-background-upload', '_wpnonce-custom-background-upload') ?>
    239 <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?>
     239<input type="submit" class="button" value="<?php esc_attr_e('Upload'); ?>" />
    240240</p>
    241241</form>
     
    304304
    305305<?php wp_nonce_field('custom-background'); ?>
    306 <?php submit_button( null, 'primary', 'save-background-options' ); ?>
     306<p class="submit"><input type="submit" class="button-primary" name="save-background-options" value="<?php esc_attr_e('Save Changes'); ?>" /></p>
    307307</form>
    308308
     
    312312
    313313    /**
    314      * Handle an Image upload for the background image.
     314     * Handle a Image upload for the background image.
    315315     *
    316316     * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.