WordPress.org

Make WordPress Core

Ticket #21406: 21406.2.diff

File 21406.2.diff, 521 bytes (added by JustinSainton, 21 months ago)
  • wp-admin/edit-tags.php

     
    388388        do_action('add_tag_form_fields', $taxonomy); 
    389389do_action($taxonomy . '_add_form_fields', $taxonomy); 
    390390 
    391 submit_button( $tax->labels->add_new_item, 'button' ); 
     391submit_button( $tax->labels->add_new_item ); 
    392392 
    393393// Back compat hooks. Deprecated in preference to {$taxonomy}_add_form 
    394394if ( 'category' == $taxonomy )