Make WordPress Core

Ticket #54232: 54232.patch

File 54232.patch, 484 bytes (added by mukesh27, 4 years ago)

Patch.

  • wp-admin/js/image-edit.js

     
    893893                        pop = this.intval( $('#imgedit-undone-' + postid).val() );
    894894
    895895                if ( pop < history.length ) {
    896                         if ( confirm( $('#imgedit-leaving-' + postid).html() ) ) {
     896                        if ( confirm( $('#imgedit-leaving-' + postid).text() ) ) {
    897897                                return false;
    898898                        }
    899899                        return true;