From 2ddc4706aaca59b5ad33936a360019f94f8c481b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 30 Jul 2012 18:41:42 +0000 Subject: [PATCH] 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 --- wp-admin/edit-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index cb01bde409..1317e75ee9 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -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 )