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')) {
  • -
  • +
  • + +
  • 0) { foreach ($custom_forms_id as $key => $value) { ?> @@ -3398,11 +3402,11 @@ if (!function_exists('mep_cart_display_user_list')) { echo ": " . esc_attr($userinf['user_ticket_type']); ?> -
  • -
  • diff --git a/js/mkb-admin.js b/js/mkb-admin.js index 354fc7a..a21ec6a 100644 --- a/js/mkb-admin.js +++ b/js/mkb-admin.js @@ -82,6 +82,6 @@ }); $(document).on('keyup change', '.mp_ticket_type_table [name="option_name_t[]"],.mp_ticket_type_table [name="option_name[]"]', function () { let n = $(this).val(); - $(this).val(n.replace(/[^a-z0-9-_\s]/gi, '')); + $(this).val(n.replace(/[@%'":;&_]/g, '')); }); }(jQuery)); \ No newline at end of file diff --git a/templates/single/date_list.php b/templates/single/date_list.php index ac55a26..d39ceaf 100644 --- a/templates/single/date_list.php +++ b/templates/single/date_list.php @@ -11,7 +11,7 @@   -