Turn off debug mode in revisions.
See #24425. git-svn-id: https://develop.svn.wordpress.org/trunk@24699 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fb9fbad8cd
commit
77813f267e
|
@ -9,7 +9,7 @@ window.wp = window.wp || {};
|
||||||
revisions.settings = _.isUndefined( _wpRevisionsSettings ) ? {} : _wpRevisionsSettings;
|
revisions.settings = _.isUndefined( _wpRevisionsSettings ) ? {} : _wpRevisionsSettings;
|
||||||
|
|
||||||
// For debugging
|
// For debugging
|
||||||
revisions.debug = true;
|
revisions.debug = false;
|
||||||
|
|
||||||
revisions.log = function() {
|
revisions.log = function() {
|
||||||
if ( window.console && revisions.debug )
|
if ( window.console && revisions.debug )
|
||||||
|
|
Loading…
Reference in New Issue