Changeset 16061 for trunk/wp-admin/custom-header.php
- Timestamp:
- 10/28/2010 09:56:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r15843 r16061 469 469 <input type="hidden" name="action" value="save" /> 470 470 <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ) ?> 471 < input type="submit" class="button" value="<?php esc_attr_e( 'Upload' ); ?>" />471 <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 472 472 </p> 473 473 </form> … … 502 502 <td> 503 503 <p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p> 504 < input type="submit" class="button" name="removeheader" value="<?php esc_attr_e( 'Remove Header Image' ); ?>" />504 <?php submit_button( __( 'Remove Header Image' ), 'button', 'removeheader', false ); ?> 505 505 </td> 506 506 </tr> … … 512 512 <td> 513 513 <p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p> 514 < input type="submit" class="button" name="resetheader" value="<?php esc_attr_e( 'Restore Original Header Image' ); ?>" />514 <?php submit_button( __( 'Restore Original Header Image' ), 'button', 'resetheader', false ); ?> 515 515 </td> 516 516 </tr> … … 551 551 <td> 552 552 <p><?php _e( 'This will restore the original header text. You will not be able to restore any customizations.' ) ?></p> 553 < input type="submit" class="button" name="resettext" value="<?php esc_attr_e( 'Restore Original Header Text' ); ?>" />553 <?php submit_button( __( 'Restore Original Header Text' ), 'button', 'resettext', false ); ?> 554 554 </td> 555 555 </tr> … … 564 564 wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> 565 565 566 <?php submit_button( ); ?>566 <?php submit_button( null, 'primary', 'save-header-options' ); ?> 567 567 </form> 568 568 </div>
Note: See TracChangeset
for help on using the changeset viewer.