Title: Small bug in method generating key
Last modified: August 20, 2016

---

# Small bug in method generating key

 *  [szaqal21](https://wordpress.org/support/users/szaqal21/)
 * (@szaqal21)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/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 = ':';
       }
       ```
   
 * [http://wordpress.org/extend/plugins/memcached/](http://wordpress.org/extend/plugins/memcached/)

The topic ‘Small bug in method generating key’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memcached.svg)
 * [Memcached Object Cache](https://wordpress.org/plugins/memcached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memcached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memcached/)
 * [Active Topics](https://wordpress.org/support/plugin/memcached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memcached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memcached/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [szaqal21](https://wordpress.org/support/users/szaqal21/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/small-bug-in-method-generating-key/)
 * Status: not resolved