v 4.1.2 release

This commit is contained in:
magepeopleteam 2024-01-05 06:08:23 +00:00
parent 8f1e5b09c6
commit 7876a1fbcb
3 changed files with 15 additions and 2 deletions

View File

@ -1437,10 +1437,19 @@ function mep_event_meta_save($post_id)
$mep_available_seat = isset($_POST['mep_available_seat']) ? sanitize_text_field($_POST['mep_available_seat']) : 'off'; $mep_available_seat = isset($_POST['mep_available_seat']) ? sanitize_text_field($_POST['mep_available_seat']) : 'off';
$_tax_status = isset($_POST['_tax_status']) ? sanitize_text_field($_POST['_tax_status']) : 'none'; $_tax_status = isset($_POST['_tax_status']) ? sanitize_text_field($_POST['_tax_status']) : 'none';
$_tax_class = isset($_POST['_tax_class']) ? sanitize_text_field($_POST['_tax_class']) : ''; $_tax_class = isset($_POST['_tax_class']) ? sanitize_text_field($_POST['_tax_class']) : '';
$mep_member_only_user_role = isset($_POST['mep_member_only_user_role']) ? mage_array_strip(maybe_unserialize($_POST['mep_member_only_user_role'])) : maybe_unserialize(array('all'));
$mep_member_only_user_role = isset($_POST['mep_member_only_user_role']) && is_array($_POST['mep_member_only_user_role']) ? array_map('sanitize_text_field',$_POST['mep_member_only_user_role']) : array_map('sanitize_text_field',['all']);
$off_days = isset($_POST['mptbm_off_days']) && is_array($_POST['mptbm_off_days']) ? : [];
$sku = isset($_POST['mep_event_sku']) ? sanitize_text_field($_POST['mep_event_sku']) : $post_id; $sku = isset($_POST['mep_event_sku']) ? sanitize_text_field($_POST['mep_event_sku']) : $post_id;
$mep_rich_text_status = isset($_POST['mep_rich_text_status']) ? sanitize_text_field($_POST['mep_rich_text_status']) : 'enable'; $mep_rich_text_status = isset($_POST['mep_rich_text_status']) ? sanitize_text_field($_POST['mep_rich_text_status']) : 'enable';
if ($mep_reset_status == 'on') { if ($mep_reset_status == 'on') {
mep_reset_event_booking($post_id); mep_reset_event_booking($post_id);
} }

View File

@ -430,6 +430,10 @@ A. You can create a support ticket here with problem details with possible scree
== Changelog == == Changelog ==
= 4.1.2 =
* Security Issue Fixed
05 Jan 2024*
= 4.1.1 = = 4.1.1 =
* Custom Styling issue has been fixed * Custom Styling issue has been fixed

View File

@ -3,7 +3,7 @@
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin * Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin
* Plugin URI: http://mage-people.com * Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople.. * Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 4.1.1 * Version: 4.1.2
* Author: MagePeople Team * Author: MagePeople Team
* Author URI: http://www.mage-people.com/ * Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress * Text Domain: mage-eventpress