Plugin Directory

Changeset 1410579


Ignore:
Timestamp:
05/04/2016 08:30:39 PM (10 years ago)
Author:
andy
Message:

memcached: 3.0.1 to fix key generation error in switch_to_blog()

An extra colon was left on blog_prefix by switch_to_blog() in 3.0.0. This caused sites with batcache to wind up with different prefixes for logged-in and logged-out pages.

Location:
memcached
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • memcached/tags/3.0.1/object-cache.php

    r1400627 r1410579  
    44Plugin Name: Memcached
    55Description: Memcached backend for the WP Object Cache.
    6 Version: 3.0.0
     6Version: 3.0.1
    77Plugin URI: http://wordpress.org/extend/plugins/memcached/
    88Author: Ryan Boren, Denis de Bernardy, Matt Martz, Andy Skelton
     
    352352        global $table_prefix;
    353353        $blog_id = (int) $blog_id;
    354         $this->blog_prefix = ( is_multisite() ? $blog_id : $table_prefix ) . ':';
     354        $this->blog_prefix = ( is_multisite() ? $blog_id : $table_prefix );
    355355    }
    356356
  • memcached/tags/3.0.1/readme.txt

    r1400627 r1410579  
    44Requires at least: 3.0
    55Tested up to: 4.5
    6 Stable tag: 3.0.0
     6Stable tag: 3.0.1
    77
    88Use memcached and the PECL memcache extension to provide a backing store for the WordPress object cache.
     
    7575== Changelog ==
    7676
     77= 3.0.1 =
     78* Fix key generation error in switch_to_blog()
     79
    7780= 3.0.0 =
    7881* Flush site cache by rotating keys
  • memcached/trunk/object-cache.php

    r1400627 r1410579  
    44Plugin Name: Memcached
    55Description: Memcached backend for the WP Object Cache.
    6 Version: 3.0.0
     6Version: 3.0.1
    77Plugin URI: http://wordpress.org/extend/plugins/memcached/
    88Author: Ryan Boren, Denis de Bernardy, Matt Martz, Andy Skelton
     
    352352        global $table_prefix;
    353353        $blog_id = (int) $blog_id;
    354         $this->blog_prefix = ( is_multisite() ? $blog_id : $table_prefix ) . ':';
     354        $this->blog_prefix = ( is_multisite() ? $blog_id : $table_prefix );
    355355    }
    356356
  • memcached/trunk/readme.txt

    r1400627 r1410579  
    44Requires at least: 3.0
    55Tested up to: 4.5
    6 Stable tag: 3.0.0
     6Stable tag: 3.0.1
    77
    88Use memcached and the PECL memcache extension to provide a backing store for the WordPress object cache.
     
    7575== Changelog ==
    7676
     77= 3.0.1 =
     78* Fix key generation error in switch_to_blog()
     79
    7780= 3.0.0 =
    7881* Flush site cache by rotating keys
Note: See TracChangeset for help on using the changeset viewer.