Permalink
Browse files

submit_button() fixes. Props sbressler. See #15064

git-svn-id: http://svn.automattic.com/wordpress/trunk@16362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent bb15731 commit 866c6e1faa91e45ca7f09e8a4b25ceb4f88cfc8a scribu committed Nov 13, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 wp-admin/edit-form-comment.php
  2. +1 −1 wp-admin/edit-tags.php
@@ -71,7 +71,7 @@
<?php echo "<a class='submitdelete deletion' href='" . wp_nonce_url("comment.php?action=" . ( !EMPTY_TRASH_DAYS ? 'deletecomment' : 'trashcomment' ) . "&amp;c=$comment->comment_ID&amp;_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "</a>\n"; ?>
</div>
<div id="publishing-action">
-<?php submit_button( __( 'Update Comment' ), 'primary', 'save', true, array( 'tabindex' => '4' ) ); ?>
+<?php submit_button( __( 'Update Comment' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?>
</div>
<div class="clear"></div>
</div>
View
@@ -338,7 +338,7 @@
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 )

0 comments on commit 866c6e1

Please sign in to comment.