Thanks for reporting, will get it fixed up for the next plugin update.
Also thank you for the great review, very much appreciated @stilldreaming 🙂
-
This reply was modified 6 years, 1 month ago by
Jeff Starr.
You’re welcome. Great plugin.
Hey just to follow up with this, the code in question:
defined('WP_DEBUG_LOG') && WP_DEBUG_LOG ? ...
Returns the correct value for either case: when the value is a path/filename, PHP interprets that as “true”, so the code works either way.
Unless I am missing something, which certainly is possible this early in the day.
Well, in a way you are right. If WP_DEBUG_LOG is true the plugin displays “Enabled”, which is correct of course. The log is saved to the default wp-content/debug.log. WP_DEBUG_LOG can be set to a filename. If someone does that the plugin displays “Enabled”, also quite correct.
But…. wouldn’t it be nice that the plugin displays the content of WP_DEBUG_LOG (if it is not true or false). It is a case of “Enabled, but storing in the following log file…”.
Yeah that’s actually a good idea, I will improve the logic to display more accurate results in the next plugin update. Thanks for explaining your idea further.
Just to follow up, this feature is added in the next version of DWS. Should be available soon.