This PR fixes the syntax error when using MySQL 8 with sql-mode = ANSI_QUOTES. This is the error:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"wp_wpml_mails"' at line 1 for query SHOW TABLES LIKE "wp_wpml_mails" made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wp-mail-logging/wp-mail-logging.php'), No3x\WPML\WPML_Init->init, No3x\WPML\WPML_InstallIndicator->isInstalled
Testing procedure
Make sure your WP site is running on MySQL 8 with sql-mode = ANSI_QUOTES. You can do this by editing your MySQL's .cnf.
Description
This PR fixes the syntax error when using MySQL 8 with
sql-mode = ANSI_QUOTES
. This is the error:Testing procedure
sql-mode = ANSI_QUOTES
. You can do this by editing your MySQL's.cnf
.debug.log
.