WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/17/2010 06:24:34 PM (10 years ago)
Author:
scribu
Message:

Use submit_button() in more places. See #15064

File:
1 edited

Legend:

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

    r15828 r15830  
    563563
    564564wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
    565 <p class="submit"><input type="submit" class="button-primary" name="save-header-options" value="<?php esc_attr_e( 'Save Changes' ); ?>" /></p>
     565
     566<?php submit_button(); ?>
    566567</form>
    567568</div>
     
    637638    </div>
    638639
    639     <p class="submit">
    640640    <input type="hidden" name="x1" id="x1" value="0"/>
    641641    <input type="hidden" name="y1" id="y1" value="0"/>
     
    645645    <input type="hidden" name="oitar" id="oitar" value="<?php echo esc_attr( $oitar ); ?>" />
    646646    <?php wp_nonce_field( 'custom-header-crop-image' ) ?>
    647     <input type="submit" class="button-primary" value="<?php esc_attr_e( 'Crop and Publish' ); ?>" />
     647   
     648    <?php submit_button( __( 'Crop and Publish' ) ); ?>
    648649    </p>
    649650</form>
Note: See TracChangeset for help on using the changeset viewer.