WordPress.org

Make WordPress Core

Ticket #21406: 21406.1.diff

File 21406.1.diff, 532 bytes (added by JustinSainton, 6 years 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, 'primary' );
    392392
    393393// Back compat hooks. Deprecated in preference to {$taxonomy}_add_form
    394394if ( 'category' == $taxonomy )