Hai Zheng

Results 89 comments of Hai Zheng

Please comment which plugin this is for.

Thanks for the feedback, will honor `WP_DEBUG_LOG` in next release. Per https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log, that constant could be bool true too. How do you think for this case? Maybe we only use...

Thanks for reminding. I was planning to have a look on WP_CACHE const, but met some other issues and forgot about it. Will check.

In wp-settings.php, WP_CACHE also is used by object cache. So it needs to be defined. ``` // Run wp_cache_postload() if object cache is enabled and the function exists. if (...

Not sure if I followed your idea correctly or not. But in https://github.com/litespeedtech/lscache_wp/blob/master/src/activation.cls.php#L328 I checked if it exists or not. If true, won't modify that file.

In your wp-config.php, is that WP_CACHE const defined already? Can you paste the context? Can you tell which action caused that warning? Update settings? If so, what is the Cache...

Is the line `define('WP_CACHE', true);` added in your activation process dynamically? Or prior to that process? If you define it in activation, means `wp-config.php` is already included by WP w/o...

We tried in different environments but can't reproduce it. Does that only happen on certain VPS? E.g. Closter?

Those are by purpose. Those hooks affected woocommerce's product purge IIRC.