[wp-trac] [WordPress Trac] #21401: Load packaged object cache when advanced-cache.php and object-cache.php don't implement wp_cache_init( )
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 20 17:04:06 UTC 2012
#21401: Load packaged object cache when advanced-cache.php and object-cache.php
don't implement wp_cache_init( )
----------------------------+------------------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------------
Comment (by nacin):
If object-cache.php is blank and it gets loaded by default, then you'll
get an instant fatal error, pre-patch.
Should this be desired, in the interest of giving a developer proper
feedback? As it is, if object-cache.php is installed but incomplete
(specifically, missing wp_cache_init()) then with or without the patch,
fatal errors will still occur.
WP_CACHE is specifically related to advanced-cache.php, not object-
cache.php. So I'm having a hard time separating the two different factors
here in the initial bug report. (Part 2)
(1), the wp_using_ext_object_cache() function, is good to me.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21401#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list