While using the Query Monitor plugin, WP Mail Logging is executing the query SHOW TABLES LIKE “wp_wpml_mails” in the file plugins/wp-mail-logging/src/WPML_InstallIndicator.php at line 48 each time the page loads.
WP Mail Logging is using the caching code "wp_cache_get" if it is installed. While it is not installed, it runs the aforementioned query.
Ideally:
WP Mail Logging should cache the data if the plugin is not installed.
The query should execute each time.
Also, we can look into adjusting the cache expiration time.
While using the Query Monitor plugin, WP Mail Logging is executing the query SHOW TABLES LIKE “wp_wpml_mails” in the file plugins/wp-mail-logging/src/WPML_InstallIndicator.php at line 48 each time the page loads.
WP Mail Logging is using the caching code "wp_cache_get" if it is installed. While it is not installed, it runs the aforementioned query.
Ideally: