[wp-trac] [WordPress Trac] #31463: Avoid reaching inside the object cache object in tests

WordPress Trac noreply at wordpress.org
Fri Mar 6 05:17:11 UTC 2015


#31463: Avoid reaching inside the object cache object in tests
------------------------------+------------------
 Reporter:  rmccue            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.2
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by dd32):

 @voldemortensen FWIW, those lines are included for external object caches,
 not the core classes. Those properties, and `__remoteset` are used by
 Memcache, but others might use something different (I don't think
 `__remoteset` is even used in a published object cache, I think it's only
 used by the internal wp.com one)

 See https://plugins.trac.wordpress.org/browser/memcached/tags/2.0.2
 /object-cache.php#L189 and https://plugins.trac.wordpress.org/browser
 /memcached-redux/tags/0.1.3/object-cache.php#L215

 I guess we'd have to add a new method/parameter to do this, and even
 possibly include the back-compat code here.

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


More information about the wp-trac mailing list