Make WordPress Core

Changeset 16362


Ignore:
Timestamp:
11/13/2010 11:49:53 PM (14 years ago)
Author:
scribu
Message:

submit_button() fixes. Props sbressler. See #15064

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r16061 r16362  
    7272</div>
    7373<div id="publishing-action">
    74 <?php submit_button( __( 'Update Comment' ), 'primary', 'save', true, array( 'tabindex' => '4' ) ); ?>
     74<?php submit_button( __( 'Update Comment' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?>
    7575</div>
    7676<div class="clear"></div>
  • trunk/wp-admin/edit-tags.php

    r16253 r16362  
    339339do_action($taxonomy . '_add_form_fields', $taxonomy);
    340340
    341 submit_button( $tax->labels->add_new_item );
     341submit_button( $tax->labels->add_new_item, 'button' );
    342342
    343343// Back compat hooks. Deprecated in preference to {$taxonomy}_add_form
Note: See TracChangeset for help on using the changeset viewer.