clear transients

This commit is contained in:
Mike Jolley 2012-04-18 21:31:27 +01:00
parent c0cb5b27de
commit 087d60b22f
1 changed files with 1 additions and 0 deletions

View File

@ -1180,6 +1180,7 @@ function woocommerce_settings() {
// Flush rules and clear any unwanted data
flush_rewrite_rules( false );
unset($_SESSION['orderby']);
$woocommerce->clear_product_transients();
// Redirect back
$redirect = add_query_arg( 'saved', 'true' );