WordPress.org

Make WordPress Core

Ticket #9777: 9777.11.diff

File 9777.11.diff, 766 bytes (added by Chouby, 4 years ago)
  • wp-admin/edit-tag-form.php

    diff --git wp-admin/edit-tag-form.php wp-admin/edit-tag-form.php
    index e2fe71b..e3fb222 100644
    do_action( "{$taxonomy}_edit_form", $tag, $taxonomy ); 
    262262
    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; ?>
    268268