Make WordPress Core

Ticket #22674: 22674.patch

File 22674.patch, 926 bytes (added by ocean90, 11 years ago)

Props Yogi T

  • wp-admin/includes/meta-boxes.php

     
    277277                        echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Trash' ) . "</a>";
    278278                } else {
    279279                        $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : '';
    280                         echo  "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "''>" . __( 'Delete Permanently' ) . "</a>";
     280                        echo  "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete Permanently' ) . "</a>";
    281281                }
    282282        ?>
    283283        </div>
     
    11161116                <a href="#" class="remove"><?php _e( 'Remove Featured Image' ); ?></a>
    11171117        </div>
    11181118        <?php
    1119 }
    1120  No newline at end of file
     1119}