Open slavicd opened 6 years ago
thanks, I'll take a look
Moreover, the upgrade script always runs because hmn_cp_plugin_version is statically set to 1.2.0 (always)
It will only set the version to 1.2.0 if it doesn't find the version setting in the DB. OR do you mean on a new install?
It would always trigger the user upgrade routine because the version would always be 1.2.0 or empty
$users = get_users();
fromhmn_cp_v121_upgrade()
breaks for anything more than half a million users throwing out of memory error.Moreover, the upgrade script always runs because hmn_cp_plugin_version is statically set to 1.2.0 (always)