mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Save cache after the shutdown hook runs. fixes #2232
git-svn-id: https://develop.svn.wordpress.org/trunk@3411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -222,8 +222,8 @@ if ( file_exists(TEMPLATEPATH . "/functions.php") )
|
||||
include(TEMPLATEPATH . "/functions.php");
|
||||
|
||||
function shutdown_action_hook() {
|
||||
wp_cache_close();
|
||||
do_action('shutdown');
|
||||
wp_cache_close();
|
||||
}
|
||||
register_shutdown_function('shutdown_action_hook');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user