Local autosaves: remove debug logging, see #23220

git-svn-id: http://core.svn.wordpress.org/trunk@24269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2013-05-15 23:26:36 +00:00
parent c5cf8301d0
commit a5da49fb85
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;