Skip to content

Commit 1c7aa87

Browse files
v4.4.4
1 parent f5f9551 commit 1c7aa87

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

includes/class-alg-wc-mppu-shortcodes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Maximum Products per User for WooCommerce - Shortcodes.
44
*
5-
* @version 4.3.7
5+
* @version 4.4.4
66
* @since 2.5.0
77
* @author WPFactory
88
*/
@@ -134,7 +134,7 @@ function term_limit_shortcode( $atts, $content = '' ) {
134134
/**
135135
* current_product_limit_shortcode.
136136
*
137-
* @version 4.3.7
137+
* @version 4.4.4
138138
* @since 2.5.1
139139
* @todo [later] different (customizable) message depending on `$remaining`
140140
*/
@@ -220,9 +220,9 @@ function current_product_limit_shortcode( $atts, $content = '' ) {
220220
}
221221
// Return message.
222222
if ( empty( $output_msg ) && $atts['empty_msg_removes_template'] ) {
223-
return $output_msg;
223+
return wp_kses_post( $output_msg );
224224
} else {
225-
return str_replace( '{msg_template}', $output_msg, $atts['output_template'] );
225+
return str_replace( '{msg_template}', wp_kses_post( $output_msg ), wp_kses_post( $atts['output_template'] ) );
226226
}
227227
}
228228

includes/class-alg-wc-mppu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Alg_WC_MPPU {
2424
* @since 1.0.0
2525
* @var string
2626
*/
27-
public $version = '4.4.3';
27+
public $version = '4.4.4';
2828

2929
/**
3030
* @since 1.0.0

langs/maximum-products-per-user-for-woocommerce.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the GNU General Public License v3.0.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: maximum-products-per-user-for-woocommerce 4.4.3\n"
5+
"Project-Id-Version: maximum-products-per-user-for-woocommerce 4.4.4\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/maximum-products-per-user-for-woocommerce\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2026-01-06T21:02:57+01:00\n"
12+
"POT-Creation-Date: 2026-01-06T22:36:50+01:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.7.1\n"
1515
"X-Domain: maximum-products-per-user-for-woocommerce\n"

maximum-products-per-user-for-woocommerce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Maximum Products per User for WooCommerce
44
Plugin URI: https://wpfactory.com/item/maximum-products-per-user-for-woocommerce/
55
Description: Limit number of items your WooCommerce customers can buy (lifetime or in selected date range).
6-
Version: 4.4.3
6+
Version: 4.4.4
77
Author: WPFactory
88
Author URI: https://wpfactory.com
99
Text Domain: maximum-products-per-user-for-woocommerce

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: wpcodefactory, omardabbas, karzin, anbinder, kousikmukherjeeli
33
Tags: woocommerce, product quantity, limits, quantity restriction, order restriction
44
Requires at least: 4.4
55
Tested up to: 6.9
6-
Stable tag: 4.4.3
6+
Stable tag: 4.4.4
77
License: GNU General Public License v3.0
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

@@ -274,6 +274,9 @@ Once activated, access the plugin's settings by navigating to "WooCommerce > Set
274274

275275
== Changelog ==
276276

277+
= 4.4.4 - 06/01/2026 =
278+
* Fix - Fixed vulnerability.
279+
277280
= 4.4.3 - 06/01/2026 =
278281
* Dev - Updated Cross-Selling library from 1.0.6 to version 1.0.9.
279282
* Updated readme.

0 commit comments

Comments
 (0)