[wp-trac] [WordPress Trac] #39132: WP 4.7, object-cache.php breaks the site if APC is not enabled in php

WordPress Trac noreply at wordpress.org
Thu Dec 8 02:42:20 UTC 2016


#39132: WP 4.7, object-cache.php breaks the site if APC is not enabled in php
----------------------------+--------------------
 Reporter:  innocuo         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.7.1
Component:  Bootstrap/Load  |     Version:  4.7
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------

Comment (by dd32):

 @jorbin You'll need to explicitly `global $wp_filter;`, other than that,
 [attachment:39132.diff] looks like it's in the correct nested branch to
 me.

 I'll note though, that `wp_start_object_cache()` has a branch which claims
 that `object-cache.php` might have been included from `advanced-cache.php`
 - it might've also been included by whatever loaded WordPress, but in
 either of those cases, the conversion would've happened on `WP_Hook` or
 `advanced-cache.php` inclusion.

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


More information about the wp-trac mailing list