From 5326a36210fc2c7fd20f90c01460cd2c3771b0cf Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 15 May 2013 23:26:36 +0000 Subject: [PATCH] Local autosaves: remove debug logging, see #23220 git-svn-id: https://develop.svn.wordpress.org/trunk@24269 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/autosave.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/wp-includes/js/autosave.js b/wp-includes/js/autosave.js index 54c2fa5a87..d9e73a1abd 100644 --- a/wp-includes/js/autosave.js +++ b/wp-includes/js/autosave.js @@ -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;