{"id":4298197,"date":"2013-11-08T03:28:44","date_gmt":"2013-11-08T03:28:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/remove-debugging-code-in-plugin\/"},"modified":"2016-08-21T12:21:39","modified_gmt":"2016-08-21T12:21:39","slug":"remove-debugging-code-in-plugin","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/remove-debugging-code-in-plugin\/","title":{"rendered":"Remove debugging code in plugin"},"content":{"rendered":"<p>The following lines should not be in this plugin:<\/p>\n<pre><code>\/\/ DEBUG ONLY\ndefine(&#039;WP_DEBUG&#039;, false) ;\ndefine(&#039;WP_DEBUG_DISPLAY&#039;, false) ;<\/code><\/pre>\n<p>This causes an error when either of those constants is already defined, which they are by default. Also, an analytics plugin has no business setting the debugging level of a site.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/simple-google-analytics\/<\/p>\n","protected":false},"template":"","class_list":["post-4298197","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4298197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4298197\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4298197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}