[wp-trac] [WordPress Trac] #23290: When using switch_to_blog() with a persistent object cache that lacks wp_cache_switch_to_blog() support, non-persistent groups are not maintained

WordPress Trac noreply at wordpress.org
Sat Jan 25 22:45:23 UTC 2014


#23290: When using switch_to_blog() with a persistent object cache that lacks
wp_cache_switch_to_blog() support, non-persistent groups are not maintained
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  3.9
Component:  Cache                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by jeremyfelt):

 * focuses:   => multisite
 * milestone:  Future Release => 3.9


Comment:

 We probably have an opportunity to get some unit tests in for this in 3.9.

 @nunomorgadinho, if you are still interested in working on this, please
 feel free. It's probably worth looking at the current code in
 `phpunit/tests/cache.php` for examples of testing `switch_to_blog()`. We
 would then want to use additional tests for the pieces that this patch
 touches. Don't hesitate to provide any first attempts or stop in
 #wordpress-dev to go over approach.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23290#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list