v 3.9.2 release

This commit is contained in:
magepeopleteam 2023-05-03 07:55:36 +00:00
parent 8b547575cf
commit 1252526e46
6 changed files with 42 additions and 34 deletions

View File

@ -234,10 +234,10 @@ ul#mep_add_calender_links li a {
.mep_event_list ul li, .mep_event_list ul li,
.mep_event_list p, .mep_event_list p,
.mep_event_list a { .mep_event_list a {
line-height: 1.2; /* line-height: 1.2;
margin: 0; margin: 0;
padding: 0; padding: 0;
letter-spacing: inherit; letter-spacing: inherit; */
} }
@ -2608,10 +2608,10 @@ div.three_column {
justify-content: inherit; justify-content: inherit;
} }
.mep-events-wrapper strong { /* .mep-events-wrapper strong {
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
} } */
.woocommerce-Price-amount { .woocommerce-Price-amount {
font-weight: 600; font-weight: 600;
@ -2723,8 +2723,8 @@ h3.mep_list_date i {
} }
div.mep-default-feature-content p { div.mep-default-feature-content p {
margin-top: 0 !important; /* margin-top: 0 !important;
margin-bottom: 10px !important; margin-bottom: 10px !important; */
} }
.mep-event-meta { .mep-event-meta {

View File

@ -335,34 +335,34 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
$custom_forms_id = mep_get_user_custom_field_ids($eid); $custom_forms_id = mep_get_user_custom_field_ids($eid);
foreach ($event_user_info as $userinf) { foreach ($event_user_info as $userinf) {
if ($userinf['user_name']) { if (array_key_exists('user_name',$userinf) && !empty($userinf['user_name'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Name'), $userinf['user_name']); $item->add_meta_data(mep_get_reg_label($event_id, 'Name'), $userinf['user_name']);
} }
if ($userinf['user_email']) { if (array_key_exists('user_email',$userinf) && !empty($userinf['user_email'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Email'), $userinf['user_email']); $item->add_meta_data(mep_get_reg_label($event_id, 'Email'), $userinf['user_email']);
} }
if ($userinf['user_phone']) { if (array_key_exists('user_phone',$userinf) && !empty($userinf['user_phone'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Phone'), $userinf['user_phone']); $item->add_meta_data(mep_get_reg_label($event_id, 'Phone'), $userinf['user_phone']);
} }
if ($userinf['user_address']) { if (array_key_exists('user_address',$userinf) && !empty($userinf['user_address'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Address'), $userinf['user_address']); $item->add_meta_data(mep_get_reg_label($event_id, 'Address'), $userinf['user_address']);
} }
if ($userinf['user_gender']) { if (array_key_exists('user_gender',$userinf) && !empty($userinf['user_gender'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Gender'), $userinf['user_gender']); $item->add_meta_data(mep_get_reg_label($event_id, 'Gender'), $userinf['user_gender']);
} }
if ($userinf['user_tshirtsize']) { if (array_key_exists('user_tshirtsize',$userinf) && !empty($userinf['user_tshirtsize'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'T-Shirt Size'), $userinf['user_tshirtsize']); $item->add_meta_data(mep_get_reg_label($event_id, 'T-Shirt Size'), $userinf['user_tshirtsize']);
} }
if ($userinf['user_company']) { if (array_key_exists('user_company',$userinf) && !empty($userinf['user_company'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Company'), $userinf['user_company']); $item->add_meta_data(mep_get_reg_label($event_id, 'Company'), $userinf['user_company']);
} }
if ($userinf['user_designation']) { if (array_key_exists('user_designation',$userinf) && !empty($userinf['user_designation'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Designation'), $userinf['user_designation']); $item->add_meta_data(mep_get_reg_label($event_id, 'Designation'), $userinf['user_designation']);
} }
if ($userinf['user_website']) { if (array_key_exists('user_website',$userinf) && !empty($userinf['user_website'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Website'), $userinf['user_website']); $item->add_meta_data(mep_get_reg_label($event_id, 'Website'), $userinf['user_website']);
} }
if ($userinf['user_vegetarian']) { if (array_key_exists('user_vegetarian',$userinf) && !empty($userinf['user_vegetarian'])) {
$item->add_meta_data(mep_get_reg_label($event_id, 'Vegetarian'), $userinf['user_vegetarian']); $item->add_meta_data(mep_get_reg_label($event_id, 'Vegetarian'), $userinf['user_vegetarian']);
} }
if (sizeof($custom_forms_id) > 0) { if (sizeof($custom_forms_id) > 0) {

View File

@ -435,19 +435,19 @@ if (!function_exists('mep_attendee_create')) {
} elseif ($type == 'user_form') { } elseif ($type == 'user_form') {
$_uname = sanitize_text_field($_user_info['user_name']); $_uname = array_key_exists('user_name',$_user_info) ? sanitize_text_field($_user_info['user_name']) : "";
$email = sanitize_text_field($_user_info['user_email']); $email = array_key_exists('user_email',$_user_info) ? sanitize_text_field($_user_info['user_email']) : "";
$phone = sanitize_text_field($_user_info['user_phone']); $phone = array_key_exists('user_phone',$_user_info) ? sanitize_text_field($_user_info['user_phone']) : "";
$address = sanitize_text_field($_user_info['user_address']); $address = array_key_exists('user_address',$_user_info) ? sanitize_text_field($_user_info['user_address']) : "";
$gender = sanitize_text_field($_user_info['user_gender']); $gender = array_key_exists('user_gender',$_user_info) ? sanitize_text_field($_user_info['user_gender']) : "";
$company = sanitize_text_field($_user_info['user_company']); $company = array_key_exists('user_company',$_user_info) ? sanitize_text_field($_user_info['user_company']) : "";
$designation = sanitize_text_field($_user_info['user_designation']); $designation = array_key_exists('user_designation',$_user_info) ? sanitize_text_field($_user_info['user_designation']) : "";
$website = sanitize_text_field($_user_info['user_website']); $website = array_key_exists('user_website',$_user_info) ? sanitize_text_field($_user_info['user_website']) : "";
$vegetarian = sanitize_text_field($_user_info['user_vegetarian']); $vegetarian = array_key_exists('user_vegetarian',$_user_info) ? sanitize_text_field($_user_info['user_vegetarian']) : "";
$tshirtsize = sanitize_text_field($_user_info['user_tshirtsize']); $tshirtsize = array_key_exists('user_tshirtsize',$_user_info) ? sanitize_text_field($_user_info['user_tshirtsize']) : "";
$ticket_type = stripslashes($_user_info['user_ticket_type']); $ticket_type = array_key_exists('user_ticket_type',$_user_info) ? stripslashes($_user_info['user_ticket_type']) : "";
$ticket_qty = sanitize_text_field($_user_info['user_ticket_qty']); $ticket_qty = array_key_exists('user_ticket_qty',$_user_info) ? sanitize_text_field($_user_info['user_ticket_qty']) : "";
$event_date = sanitize_text_field($_user_info['user_event_date']); $event_date = array_key_exists('user_event_date',$_user_info) ? sanitize_text_field($_user_info['user_event_date']) : "";
$event_id = $_user_info['user_event_id'] ? sanitize_text_field($_user_info['user_event_id']) : $event_id; $event_id = $_user_info['user_event_id'] ? sanitize_text_field($_user_info['user_event_id']) : $event_id;
$mep_ucf = isset($_user_info['mep_ucf']) ? sanitize_text_field($_user_info['mep_ucf']) : ""; $mep_ucf = isset($_user_info['mep_ucf']) ? sanitize_text_field($_user_info['mep_ucf']) : "";

View File

@ -124,7 +124,7 @@ function mep_event_list($atts, $content = null)
"carousal-id" => "102448", "carousal-id" => "102448",
"timeline-mode" => "vertical", "timeline-mode" => "vertical",
'sort' => 'ASC', 'sort' => 'ASC',
'status' => 'upcoming', 'status' => 'upcoming',
'search-filter' => '', 'search-filter' => '',
'title-filter' => 'yes', 'title-filter' => 'yes',
'category-filter' => 'yes', 'category-filter' => 'yes',

View File

@ -2,8 +2,8 @@
Contributors: magepeopleteam, aamahin Contributors: magepeopleteam, aamahin
Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events
Requires at least: 5.3 Requires at least: 5.3
Stable tag: 3.8.8 Stable tag: 3.9.2
Version: 3.8.8 Version: 3.9.2
Tested up to: 6.2 Tested up to: 6.2
WC requires at least: 3.0 WC requires at least: 3.0
WC tested up to: 6.5 WC tested up to: 6.5
@ -966,4 +966,11 @@ Email & PDF Text Format issue fixed
= 3.9.0= = 3.9.0=
* Update Release: * Update Release:
URL issue fixed in FAQ editor. URL issue fixed in FAQ editor.
29 March 2023* 29 March 2023*
= 3.9.2=
* Update Release:
Editor HTML tag issue fixed.
PHP warning issue fixed.
03 May 2023*

View File

@ -3,7 +3,7 @@
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce * Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce
* 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: 3.9.1 * Version: 3.9.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
@ -97,6 +97,7 @@ if (is_plugin_active('woocommerce/woocommerce.php')) {
add_action('admin_enqueue_scripts', 'mep_add_admin_scripts', 10, 1); add_action('admin_enqueue_scripts', 'mep_add_admin_scripts', 10, 1);
function mep_add_admin_scripts($hook) function mep_add_admin_scripts($hook)
{ {
wp_register_script('welcome-tabs', plugin_dir_url(__FILE__) . 'js/welcome-tabs.js', array('jquery')); wp_register_script('welcome-tabs', plugin_dir_url(__FILE__) . 'js/welcome-tabs.js', array('jquery'));
wp_register_style('welcome-tabs', plugin_dir_url(__FILE__) . 'css/welcome-tabs.css'); wp_register_style('welcome-tabs', plugin_dir_url(__FILE__) . 'css/welcome-tabs.css');