Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406

git-svn-id: http://core.svn.wordpress.org/trunk@21365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2012-07-30 18:41:42 +00:00
parent 7b49ad8493
commit c76116505e

View File

@ -388,7 +388,7 @@ if ( ! is_taxonomy_hierarchical($taxonomy) )
do_action('add_tag_form_fields', $taxonomy);
do_action($taxonomy . '_add_form_fields', $taxonomy);
submit_button( $tax->labels->add_new_item, 'button' );
submit_button( $tax->labels->add_new_item );
// Back compat hooks. Deprecated in preference to {$taxonomy}_add_form
if ( 'category' == $taxonomy )