Make WordPress Core

Ticket #15064: 15064.4.diff

File 15064.4.diff, 1.4 KB (added by sbressler, 13 years ago)

Fixes scribu's and Viper007Bond's reported bugs above

  • wp-admin/edit-form-comment.php

     
    7171<?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"; ?>
    7272</div>
    7373<div id="publishing-action">
    74 <?php submit_button( __( 'Update Comment' ), 'primary', 'save', true, array( 'tabindex' => '4' ) ); ?>
     74<?php submit_button( __( 'Update Comment' ), 'primary', 'save', false, array( 'tabindex' => '4' ) ); ?>
    7575</div>
    7676<div class="clear"></div>
    7777</div>
  • wp-admin/edit-tags.php

     
    338338        do_action('add_tag_form_fields', $taxonomy);
    339339do_action($taxonomy . '_add_form_fields', $taxonomy);
    340340
    341 submit_button( $tax->labels->add_new_item );
     341submit_button( $tax->labels->add_new_item, 'button' );
    342342
    343343// Back compat hooks. Deprecated in preference to {$taxonomy}_add_form
    344344if ( 'category' == $taxonomy )