WordPress.org

Make WordPress Core

Changeset 24269


Ignore:
Timestamp:
05/15/2013 11:26:36 PM (8 years ago)
Author:
azaozz
Message:

Local autosaves: remove debug logging, see #23220

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/autosave.js

    r24221 r24269  
    503503        result = this.setData( post_data );
    504504
    505         // temp logging
    506         if ( typeof console != 'undefined' )
    507             console.log( 'Local autosave: saved, post content = %s', post_data.content );
    508 
    509505        if ( result )
    510506            this.lastsaveddata = post_data.post_title + ': ' + post_data.content;
     
    600596            post_id = $('#post_ID').val() || 0, cookie = wpCookies.get( 'wp-saving-post-' + post_id );
    601597
    602         // temp logging
    603         if ( typeof console != 'undefined' )
    604             console.log( 'Local autosave: checkPost, cookie = %s, post content = %s', cookie, post_data && post_data.content );
    605 
    606598        if ( ! post_data )
    607599            return;
Note: See TracChangeset for help on using the changeset viewer.