Skip to content

Commit

Permalink
Added $notice as second argument of "woocommerce_demo_store" filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo authored and Lorenzo committed Jun 28, 2016
1 parent 53552f8 commit 449b3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wc-template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function woocommerce_demo_store() {
$notice = __( 'This is a demo store for testing purposes — no orders shall be fulfilled.', 'woocommerce' );
}

echo apply_filters( 'woocommerce_demo_store', '<p class="demo_store">' . wp_kses_post( $notice ) . '</p>' );
echo apply_filters( 'woocommerce_demo_store', '<p class="demo_store">' . wp_kses_post( $notice ) . '</p>', $notice );
}
}

Expand Down

0 comments on commit 449b3a9

Please sign in to comment.