Local autosaves: remove debug logging, see #23220

git-svn-id: https://develop.svn.wordpress.org/trunk@24269 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2013-05-15 23:26:36 +00:00
parent 82998d74a4
commit 5326a36210
1 changed files with 0 additions and 8 deletions

View File

@ -502,10 +502,6 @@ wp.autosave.local = {
post_data['status'] = $('#post_status').val() || '';
result = this.setData( post_data );
// temp logging
if ( typeof console != 'undefined' )
console.log( 'Local autosave: saved, post content = %s', post_data.content );
if ( result )
this.lastsaveddata = post_data.post_title + ': ' + post_data.content;
@ -599,10 +595,6 @@ wp.autosave.local = {
var self = this, post_data = this.getData(), content, check_data, strip_tags = false, notice,
post_id = $('#post_ID').val() || 0, cookie = wpCookies.get( 'wp-saving-post-' + post_id );
// temp logging
if ( typeof console != 'undefined' )
console.log( 'Local autosave: checkPost, cookie = %s, post content = %s', cookie, post_data && post_data.content );
if ( ! post_data )
return;