Bug: get_option(‘dbem_version’) < 5.821 always true – setlocale
-
In em-install.php you are testing the dbem_version with statements like
if( get_option('dbem_version') != '' && get_option('dbem_version') < 5.821 ){ // do something here }
With our locale settings
get_option('dbem_version')
returns 5,96 (note the comma) so the condition evaluates asif( 5,96 != '' && 5,96 < 5.821 ){ // do something here }
5,96 < 5.821 is always true, so
em_migrate_datetime_timezones()
never seems to be complete. And the GDPR message (v 5.93) and Google’s new pricing (v 5.95) are shown over and over again.I temporarily edited the code and replaced
get_option('dbem_version')
in the conditions with a hard coded 5.96 (with a decimal point), but in the next update this will be overwritten once again. Please rectify.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Bug: get_option(‘dbem_version’) < 5.821 always true – setlocale’ is closed to new replies.