(函数WP$Debug$init(shouldEnableAdminDebugging, shouldEnableOnAllDomains) {$$WP = $$WP || {};$ $ WP。Debug = $ $ WP。调试| | {};$ $ WP.Debug。IsEnabled = shouldEnableAdminDebugging || shouldEnableOnAllDomains;//标记消息以便我们知道它们来自哪里。没有人想要追查控制台喷剂的来源。如果(shouldEnableOnAllDomains) {$$WP.Debug。messagePrefix = '[DEBUG .js FULL DEBUG] ';$$WP.Debug.log("JavaScript调试消息在所有域上都是启用的。(通过'EnableProductionClientDebugging'应用设置进行调整)”); } else if (shouldEnableAdminDebugging) { $$WP.Debug.messagePrefix = '[Debug.js ADMIN DEBUG] '; $$WP.Debug.log("JavaScript debugging messages are enabled for local and Server Admin Elevation access only. (Adjust this via the 'DisableClientDebugging' application setting.)"); } else { $$WP.Debug.messagePrefix = ''; } })(false,false);