From a5da49fb850053fc0fe168bd0e148bb292b1a100 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: http://core.svn.wordpress.org/trunk@24269 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;