v 3.9.9 release
This commit is contained in:
parent
5981ad01ab
commit
603137d97a
|
@ -16,7 +16,7 @@ if (!function_exists('mep_ev_datetime')) {
|
|||
$end_datetime = get_post_meta(get_the_id(),'event_end_datetime',true); //$event_meta['event_end_date'][0] . ' ' . $event_meta['event_end_time'][0];
|
||||
$end_date = get_post_meta(get_the_id(),'event_end_date',true); //$event_meta['event_end_date'][0];
|
||||
$end_time = get_post_meta(get_the_id(),'event_end_time',true); //$event_meta['event_end_time'][0];
|
||||
$more_date = get_post_meta(get_the_id(),'mep_event_more_date',true) ? maybe_unserialize(get_post_meta(get_the_id(),'mep_event_more_date',true)) : []; //array_key_exists('mep_event_more_date', $event_meta) ? unserialize($event_meta['mep_event_more_date'][0]) : array();
|
||||
$more_date = get_post_meta(get_the_id(),'mep_event_more_date',true) ? maybe_unserialize(get_post_meta(get_the_id(),'mep_event_more_date',true)) : [];
|
||||
$recurring = get_post_meta(get_the_id(), 'mep_enable_recurring', true) ? get_post_meta(get_the_id(), 'mep_enable_recurring', true) : 'no';
|
||||
$mep_show_upcoming_event = get_post_meta(get_the_id(), 'mep_show_upcoming_event', true) ? get_post_meta(get_the_id(), 'mep_show_upcoming_event', true) : 'no';
|
||||
$cn = 1;
|
||||
|
@ -91,7 +91,7 @@ if (!function_exists('mep_date_in_default_theme')) {
|
|||
// $more_date = array(get_post_meta($event_id, 'event_start_date', true) . ' ' . get_post_meta($event_id, 'event_start_time', true));
|
||||
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
|
||||
$mep_show_upcoming_event = get_post_meta($event_id, 'mep_show_upcoming_event', true) ? get_post_meta($event_id, 'mep_show_upcoming_event', true) : 'no';
|
||||
$_more_date = get_post_meta($event_id, 'mep_event_more_date', true) ? unserialize(get_post_meta($event_id, 'mep_event_more_date', true)) : array();
|
||||
$_more_date = get_post_meta($event_id, 'mep_event_more_date', true) ? maybe_unserialize(get_post_meta($event_id, 'mep_event_more_date', true)) : array();
|
||||
$more_date = apply_filters('mep_event_date_more_date_array',$_more_date,$event_id);
|
||||
$show_end_date = get_post_meta($event_id, 'mep_show_end_datetime', true) ? get_post_meta($event_id, 'mep_show_end_datetime', true) : 'yes';
|
||||
$end_date_display_status = apply_filters('mep_event_datetime_status',$show_end_date,$event_id);
|
||||
|
|
|
@ -7,7 +7,8 @@ add_action('mep_event_ticket_types', 'mep_ev_ticket_type',10,3);
|
|||
if (!function_exists('mep_ev_ticket_type')) {
|
||||
function mep_ev_ticket_type($post_id,$ticket_type_label,$select_date_label)
|
||||
{
|
||||
global $post, $product, $event_meta;
|
||||
global $post, $product, $event_meta;
|
||||
$event_meta = get_post_custom($post_id);
|
||||
$count = 1;
|
||||
ob_start();
|
||||
$mep_available_seat = array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on';
|
||||
|
|
|
@ -90,8 +90,8 @@ if (post_password_required()) {
|
|||
</div>
|
||||
</div>
|
||||
<?php
|
||||
do_action('mep_event_single_template_end', get_the_id());
|
||||
do_action('mep_event_single_page_before_footer');
|
||||
do_action('mep_event_single_template_end', $event_id);
|
||||
do_action('mep_event_single_page_before_footer', $event_id);
|
||||
}
|
||||
|
||||
if ( wp_is_block_theme() ) {
|
||||
|
|
|
@ -208,7 +208,7 @@ if (!class_exists('AddMetaBox')) {
|
|||
<?php
|
||||
$option_value = get_post_meta($this->get_post_id(), $option['id'], true);
|
||||
if (is_serialized($option_value)) {
|
||||
$option_value = unserialize($option_value);
|
||||
$option_value = maybe_unserialize($option_value);
|
||||
}
|
||||
$option['value'] = $option_value;
|
||||
$this->field_generator($option)
|
||||
|
@ -260,12 +260,12 @@ if (!class_exists('AddMetaBox')) {
|
|||
|
||||
$prent_option_value = get_post_meta($post_id, $prent_option_name, true);
|
||||
|
||||
$prent_option_value = is_serialized($prent_option_value) ? unserialize($prent_option_value) : array();
|
||||
$prent_option_value = is_serialized($prent_option_value) ? maybe_unserialize($prent_option_value) : array();
|
||||
$option['value'] = isset($prent_option_value[$id]) ? $prent_option_value[$id] : '';
|
||||
else :
|
||||
$option['field_name'] = $id;
|
||||
$option_value = get_post_meta($post_id, $id, true);
|
||||
$option['value'] = is_serialized($option_value) ? unserialize($option_value) : $option_value;
|
||||
$option['value'] = is_serialized($option_value) ? maybe_unserialize($option_value) : $option_value;
|
||||
|
||||
endif;
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ if (!class_exists('TaxonomyEdit')) {
|
|||
if (empty($id)) return;
|
||||
$option['field_name'] = $id;
|
||||
$option_value = get_term_meta($term_id, $id, true);
|
||||
$option['value'] = is_serialized($option_value) ? unserialize($option_value) : $option_value;
|
||||
$option['value'] = is_serialized($option_value) ? maybe_unserialize($option_value) : $option_value;
|
||||
|
||||
if (sizeof($option) > 0 && isset($option['type'])) {
|
||||
echo mep_field_generator($option['type'], $option);
|
||||
|
|
|
@ -365,6 +365,11 @@ A. you can create support ticket here with problem details with possible screens
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 3.9.8 =
|
||||
* Broken issue fixed in Virtual Template
|
||||
* Bug Fixed.
|
||||
26 July 2023*
|
||||
|
||||
= 3.9.8 =
|
||||
* Header & Footer issue solved in Block Themes
|
||||
* Bug Fixed.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<?php echo get_the_title($event_id); ?>
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce
|
||||
* Plugin URI: http://mage-people.com
|
||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||
* Version: 3.9.8
|
||||
* Version: 3.9.9
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
|
Loading…
Reference in New Issue