Make WordPress Core

Ticket #29386: 29386.diff

File 29386.diff, 518 bytes (added by adamsilverstein, 11 years ago)

Remove the 'Newer autosave exists message' when autosaving

  • src/wp-includes/js/autosave.js

     
    524524
    525525                                if ( autosaveData ) {
    526526                                        data.wp_autosave = autosaveData;
     527                                        // Remove the 'Newer autosave exists message' when autosaving
     528                                        $( '#has-newer-autosave' ).parent().remove();
    527529                                }
    528530                        }).on( 'heartbeat-tick.autosave', function( event, data ) {
    529531                                if ( data.wp_autosave ) {