diff --git a/classmaps.php b/classmaps.php index 3fc75d0..83f435d 100644 --- a/classmaps.php +++ b/classmaps.php @@ -1,5 +1,5 @@ \n" "Language-Team: varunsridharan23@gmail.com\n\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2022-02-11T11:31:28+05:30\n" +"POT-Creation-Date: 2022-02-12T07:00:38+05:30\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.2.0\n" "X-Domain: wc-quick-buy\n" diff --git a/includes/class-button-placement.php b/includes/class-button-placement.php index 28b03fb..6834e40 100644 --- a/includes/class-button-placement.php +++ b/includes/class-button-placement.php @@ -92,7 +92,7 @@ public function shop_page_button() { 'type' => 'link', ); $instance = new Button_Generator( $args ); - echo $instance->html(); + echo wp_kses_post( $instance->html() ); } } } @@ -105,7 +105,7 @@ public function single_product_page_button() { if ( apply_filters( 'wc_quick_buy_allow_render_button', true, $product, true ) ) { $args = array( 'product' => $product ); $instance = new Button_Generator( $args ); - echo $instance->html(); + echo wp_kses_post( $instance->html() ); } } } diff --git a/readme.md b/readme.md index d278265..201ba34 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ Plugin URL: https://wordpress.org/plugins/woocommerce-quick-buy/ **Donate link:** http://paypal.me/varunsridharan23 **Requires at least:** 3.0 **Tested up to:** 5.9 -**Stable tag:** 2.8.3 +**Stable tag:** 2.8.4 **Requires PHP:** 7.0 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -149,6 +149,12 @@ Please open an issue at