WordPress.org

Make WordPress Core

Changeset 40668


Ignore:
Timestamp:
05/14/17 19:49:53 (5 months ago)
Author:
rachelbaker
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r40655 r40668  
    263263    <?php if ( current_user_can( 'delete_term', $tag->term_id ) ) : ?> 
    264264        <span id="delete-link"> 
    265             <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> 
     265            <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> 
    266266        </span> 
    267267    <?php endif; ?> 
Note: See TracChangeset for help on using the changeset viewer.