We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65d5f5 commit 67e257cCopy full SHA for 67e257c
facetwp-wp-cli.php
@@ -53,8 +53,6 @@ function index( $args, $assoc_args ) {
53
WP_CLI::error( 'FacetWP plugin is not activated.' );
54
}
55
56
- wp_suspend_cache_addition( true );
57
-
58
$post_type = 'any';
59
if ( ! empty( $assoc_args['post-type'] ) ) {
60
$post_type = $assoc_args['post-type'];
@@ -118,7 +116,6 @@ protected function stop_the_insanity() {
118
116
global $wpdb, $wp_object_cache, $wp_actions;
119
117
$wpdb->queries = array();
120
$wp_actions = array();
121
- wp_cache_flush();
122
if ( !is_object( $wp_object_cache ) ){
123
return;
124
0 commit comments