From 866c6e1faa91e45ca7f09e8a4b25ceb4f88cfc8a Mon Sep 17 00:00:00 2001 From: scribu Date: Sat, 13 Nov 2010 23:49:53 +0000 Subject: [PATCH] submit_button() fixes. Props sbressler. See #15064 git-svn-id: http://svn.automattic.com/wordpress/trunk@16362 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-comment.php | 2 +- wp-admin/edit-tags.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index c299e5216..b35953660 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -71,7 +71,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?>
- '4' ) ); ?> + '4' ) ); ?>
diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 0b14d2c30..d3635cfe0 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -338,7 +338,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 ); +submit_button( $tax->labels->add_new_item, 'button' ); // Back compat hooks. Deprecated in preference to {$taxonomy}_add_form if ( 'category' == $taxonomy )