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:
parent
c5cf8301d0
commit
a5da49fb85
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue