2.1.9 version released

This commit is contained in:
magepeopleteam 2018-11-28 05:19:53 +00:00
parent 207c868444
commit 1e18ab2704
3 changed files with 11 additions and 8 deletions

View File

@ -240,4 +240,7 @@ You can display the event list on any page by using the ShortCode. Just use this
*Update Release, Fixed Google Calender Time issue fixed. 06 Nov 2018 *Update Release, Fixed Google Calender Time issue fixed. 06 Nov 2018
*= 2.1.6 = *= 2.1.6 =
*Update Release, Event Expired Listing Query Issue has been fixed in this version.. 06 Nov 2018* *Update Release, Event Expired Listing Query Issue has been fixed in this version.. 06 Nov 2018*
*= 2.1.9 =
*Update Release, Custom email sending issue has been fixed. 28 Nov 2018*

View File

@ -5,7 +5,7 @@ add_action('mep_event_date','mep_ev_datetime');
function mep_ev_datetime(){ function mep_ev_datetime(){
global $event_meta; global $event_meta;
?> ?>
<p><?php echo date('D, d M Y h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo date('D, d M Y h:i A', strtotime($event_meta['mep_event_end_date'][0])); ?></p> <p><?php echo date_i18n('D, d M Y h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo date_i18n('D, d M Y h:i A', strtotime($event_meta['mep_event_end_date'][0])); ?></p>
<?php <?php
} }
@ -15,7 +15,7 @@ add_action('mep_event_date_only','mep_ev_date');
function mep_ev_date(){ function mep_ev_date(){
global $event_meta; global $event_meta;
?> ?>
<p><?php echo date('d M Y', strtotime($event_meta['mep_event_start_date'][0])); ?> </p> <p><?php echo date_i18n('d M Y', strtotime($event_meta['mep_event_start_date'][0])); ?> </p>
<?php <?php
} }
@ -23,6 +23,6 @@ add_action('mep_event_time_only','mep_ev_time');
function mep_ev_time(){ function mep_ev_time(){
global $event_meta; global $event_meta;
?> ?>
<p><?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> </p> <p><?php echo date_i18n('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> </p>
<?php <?php
} }

View File

@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Events Manager * Plugin Name: Woocommerce Events Manager
* 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: 2.1.8 * Version: 2.1.9
* 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
@ -242,7 +242,7 @@ $result = $wpdb->get_results( "SELECT * FROM $table_name WHERE order_item_id=$it
} }
$email = $order_meta['_billing_email'][0];
$order_meta_text = "_stock_msg_".$order_id; $order_meta_text = "_stock_msg_".$order_id;
$order_processing = "processing_".$order_id; $order_processing = "processing_".$order_id;
$order_completed = "completed_".$order_id; $order_completed = "completed_".$order_id;
@ -345,7 +345,7 @@ update_post_meta( $event_id, $mep_atnd, "a2");
// update_post_meta( $event_id, $order_meta_text, $order_completed); // update_post_meta( $event_id, $order_meta_text, $order_completed);
$mep_stock_msg = mep_get_order_info(get_post_meta($event_id,$order_meta_text, true),0); $mep_stock_msg = mep_get_order_info(get_post_meta($event_id,$order_meta_text, true),0);
$mep_stock_order = mep_get_order_info(get_post_meta($event_id,$order_meta_text, true),1); $mep_stock_order = mep_get_order_info(get_post_meta($event_id,$order_meta_text, true),1);
mep_event_confirmation_email_sent($event_id,$email);
if($mep_stock_order==$order_id){ if($mep_stock_order==$order_id){