Taxonomy: Remove extraneous ' included in Term delete markup.

Unmatched single quotation mark after the delete link href was introduced in r40655.

Props Chouby.
Fixes #9777.


git-svn-id: https://develop.svn.wordpress.org/trunk@40668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Rachel Baker 2017-05-14 19:49:53 +00:00
parent c52f1fb160
commit ddcd8b6ddb

View File

@ -262,7 +262,7 @@ do_action( "{$taxonomy}_edit_form", $tag, $taxonomy );
<?php if ( current_user_can( 'delete_term', $tag->term_id ) ) : ?> <?php if ( current_user_can( 'delete_term', $tag->term_id ) ) : ?>
<span id="delete-link"> <span id="delete-link">
<a class="delete" href="<?php echo admin_url( wp_nonce_url( "edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) ) ?>"'><?php _e( 'Delete' ); ?></a> <a class="delete" href="<?php echo admin_url( wp_nonce_url( "edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) ) ?>"><?php _e( 'Delete' ); ?></a>
</span> </span>
<?php endif; ?> <?php endif; ?>