[wp-trac] [WordPress Trac] #26806: Add support for custom SHORTINIT handlers
WordPress Trac
noreply at wordpress.org
Fri Jan 10 14:30:43 UTC 2014
#26806: Add support for custom SHORTINIT handlers
-------------------------+-----------------------------
Reporter: mgibbs189 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: trunk
Severity: normal | Keywords:
-------------------------+-----------------------------
I'm building ajax caching for a plugin and need a handler to
'''conditionally''' determine whether to continue loading WP (based on
whether a cached version exists).
Example handler file: https://gist.github.com/mgibbs189/8345521
The `SHORTINIT` constant along with `wp-load.php` isn't an option because
it forces WP to exit early.
Drop-ins like advanced-cache.php, object-cache.php, or db.php won't work
because only 1 plugin at a time can use them. I need for my caching to
work in combination with these other plugins (e.g. W3 Total Cache)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26806>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list