diff --git a/wp-cache-phase1.php b/wp-cache-phase1.php index 9c15b604..8c6cc817 100644 --- a/wp-cache-phase1.php +++ b/wp-cache-phase1.php @@ -47,7 +47,7 @@ do_cacheaction( 'cache_init' ); -if ( ! $cache_enabled || $_SERVER["REQUEST_METHOD"] == 'POST' || isset( $_GET['customize_changeset_uuid'] ) ) { +if ( ! $cache_enabled || in_array( $_SERVER["REQUEST_METHOD"], array( 'POST', 'PUT', 'DELETE' ) ) || isset( $_GET['customize_changeset_uuid'] ) ) { return true; }