Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406
git-svn-id: https://develop.svn.wordpress.org/trunk@21365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d2774833b2
commit
2ddc4706aa
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user