Small bug in method generating key
-
When using single site installation, empty $table prefix and WP_CACHE_KEY_SALT, method key of cache object gives results like this: WP_CACHE_KEY_SALTuserlogins:admin – there’s a colon missing between WP_CACHE_KEY_SALT and group name. I’ve added a quickfix in key method after checking if global group like this:
if(WP_CACHE_KEY_SALT != '' && $prefix == '') { $prefix = ':'; }
- The topic ‘Small bug in method generating key’ is closed to new replies.