{"id":12830576,"date":"2020-05-13T23:15:29","date_gmt":"2020-05-13T23:15:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp_debug_log-values\/"},"modified":"2020-05-13T23:15:29","modified_gmt":"2020-05-13T23:15:29","slug":"wp_debug_log-values","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp_debug_log-values\/","title":{"rendered":"WP_DEBUG_LOG values"},"content":{"rendered":"<p>Really like your plugin. Noticed a minor bug, which is as follows.<\/p>\n<p>In the plugin, where the WP_DEBUG_LOG constant is processed it says:<\/p>\n<p><code>return defined(&#039;WP_DEBUG_LOG&#039;) &amp;&amp; WP_DEBUG_LOG ? esc_html__(&#039;Enabled&#039;, &#039;dashboard-widgets-suite&#039;) : esc_html__(&#039;Disabled&#039;, &#039;dashboard-widgets-suite&#039;);<\/code><\/p>\n<p>This does not take into account the fact that WP_DEBUG_LOG might be a filename.<\/p>\n<p>See here for the explanation:<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"khY9kYqSUA\"><p><a href=\"https:\/\/wordpress.org\/support\/article\/debugging-in-wordpress\/\">Debugging in WordPress<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Debugging in WordPress&#8221; &#8212; WordPress.org Forums\" src=\"https:\/\/wordpress.org\/support\/article\/debugging-in-wordpress\/embed\/#?secret=vfkjrtlUbL#?secret=khY9kYqSUA\" data-secret=\"khY9kYqSUA\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"template":"","class_list":["post-12830576","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12830576","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\/12830576\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12830576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}