Merge pull request #19449 from woocommerce/fix/19439

Set is_shortcode loop prop when outputting subcategories
This commit is contained in:
Claudiu Lodromanean 2018-03-19 11:35:58 -07:00 committed by GitHub
commit b8700c51e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ class WC_Shortcodes {
$columns = absint( $atts['columns'] );
wc_set_loop_prop( 'columns', $columns );
wc_set_loop_prop( 'is_shortcode', true );
ob_start();