diff --git a/inc/mep_enque.php b/inc/mep_enque.php index 61bf97a..de87ce8 100644 --- a/inc/mep_enque.php +++ b/inc/mep_enque.php @@ -18,7 +18,7 @@ function mep_add_admin_scripts($hook) if ($hook == 'post-new.php' || $hook == 'post.php') { if ('mep_events' === $post->post_type) { wp_enqueue_style('mep-jquery-ui-style', plugin_dir_url(__DIR__) . 'css/jquery-ui.css', array()); - wp_enqueue_script('gmap-scripts', plugin_dir_url(__DIR__) . 'js/mkb-admin.js', array('jquery', 'jquery-ui-core'), 1, true); + wp_enqueue_script('gmap-scripts', plugin_dir_url(__DIR__) . 'js/mkb-admin.js', array('jquery', 'jquery-ui-core'),time(), true); } } @@ -85,11 +85,11 @@ function mep_event_enqueue_scripts() //wp_enqueue_script('mep-lazysizes', plugin_dir_url(__DIR__) . 'js/lazysizes.min.js', array(), 1, true); wp_enqueue_script('filter_pagination', plugin_dir_url(__DIR__) . 'js/filter_pagination.js', array(), time(), true); - wp_enqueue_script('mp_event_custom_script', plugin_dir_url(__DIR__) . 'js/mp_event_custom_script.js', array(), 1.1, true); + wp_enqueue_script('mp_event_custom_script', plugin_dir_url(__DIR__) . 'js/mp_event_custom_script.js', array(), time(), true); wp_enqueue_script('mep-timeline-min', plugin_dir_url(__DIR__) . 'js/timeline.min.js', array('jquery'), 1, true); - wp_enqueue_script('mep-event-custom-scripts', plugin_dir_url(__DIR__) . 'js/mkb-scripts.js', array(), 1, true); + wp_enqueue_script('mep-event-custom-scripts', plugin_dir_url(__DIR__) . 'js/mkb-scripts.js', array(), time(), true); wp_localize_script('jquery', 'mep_ajax', array( 'mep_ajaxurl' => admin_url( 'admin-ajax.php'))); diff --git a/inc/mep_functions.php b/inc/mep_functions.php index 52f95ad..3266f72 100755 --- a/inc/mep_functions.php +++ b/inc/mep_functions.php @@ -3348,7 +3348,6 @@ if (!function_exists('mep_cart_display_user_list')) { $recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no'; $time_status = get_post_meta($event_id, 'mep_disable_ticket_time', true) ? get_post_meta($event_id, 'mep_disable_ticket_time', true) : 'no'; - $event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events'); foreach ($user_info as $userinf) { @@ -3383,8 +3382,13 @@ if (!function_exists('mep_cart_display_user_list')) {
- +