diff --git a/inc/mep_event_meta.php b/inc/mep_event_meta.php index faa17d5..b4dcc82 100644 --- a/inc/mep_event_meta.php +++ b/inc/mep_event_meta.php @@ -53,7 +53,7 @@ class MP_Event_All_Info_In_One - + @@ -114,37 +114,38 @@ class MP_Event_All_Info_In_One - ' ) ) { + if (version_compare($GLOBALS['wp_version'], '5.0-beta', '>')) { // Block editor. $block_editor = true; } - if ( ! $gutenberg && ! $block_editor ) { + if (!$gutenberg && !$block_editor) { return false; } include_once ABSPATH . 'wp-admin/includes/plugin.php'; - if ( ! is_plugin_active( 'classic-editor/classic-editor.php' ) ) { + if (!is_plugin_active('classic-editor/classic-editor.php')) { return true; } - $use_block_editor = ( get_option( 'classic-editor-replace' ) === 'no-replace' ); + $use_block_editor = (get_option('classic-editor-replace') === 'no-replace'); return $use_block_editor; } @@ -157,73 +158,73 @@ class MP_Event_All_Info_In_One $map_type = mep_get_option('mep_google_map_type', 'general_setting_sec', 'iframe'); $mep_org_address = array_key_exists('mep_org_address', $values) ? $values['mep_org_address'][0] : 0; $map_visible = array_key_exists('mep_sgm', $values) ? $values['mep_sgm'][0] : 0; - $author_id = get_post_field( 'post_author', $post_id ); + $author_id = get_post_field('post_author', $post_id); - if($this->is_gutenberg_active()) { ?> + if ($this->is_gutenberg_active()) { ?> -
- - - - - - - - - - - - - - - - - - - - - - - -
- -

- -

-
- - - -
- - - -
- - - -
-
+ ?> +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +

+ +

+
+ + + +
+ + + +
+ + + +
+
@@ -354,7 +355,6 @@ class MP_Event_All_Info_In_One jQuery("input[name=longitude]").val(longitude); }); } - google.maps.event.addDomListener(window, "load", initMap); -
- - - - - - - - - ' . esc_html__("Reserve", "mage-eventpress") . ''; - apply_filters('mep_add_extra_column', $rsvqty); ?> - - - - - - - - +
+ + + + + + + + ' . esc_html__("Reserve", "mage-eventpress") . ''; + apply_filters('mep_add_extra_column', $rsvqty); ?> + + + + + + + + - - + if ($mep_event_ticket_type) : + $count = 0; + foreach ($mep_event_ticket_type as $field) { + $qty_t_type = array_key_exists('option_qty_t_type', $field) ? esc_attr($field['option_qty_t_type']) : 'inputbox'; + $count++; + ?> + + - - - - - + + + + + - - - + - - - - - + ' name="option_sale_end_time[]" /> + + + - - - - - - - - ' ?> - - - - - - - -
- -
+ + - - - - - - - - + + + + + + + + -
- ' name="option_sale_end_date[]"/> -
-
-
+ +
+
+ ' name="option_sale_end_date[]" /> +
+
+
- ' name="option_sale_end_time[]"/> -
-
- - -
- -
-
-
+ +
-
- -
-
-
- -
-
- - -
-
+ +
+ +
+
+ + + + + + + + + + + + ' ?> + + +
+ +
+ + +
+ +
+ + + + + + + + + + +

@@ -540,83 +554,83 @@ class MP_Event_All_Info_In_One wp_nonce_field('mep_events_extra_price_nonce', 'mep_events_extra_price_nonce'); ?>

-
- - - - - - - - - - - - +
+ + + + + + + + + + + - - - - - - - - - - - - - - - + - - - - -
- - -
- -
-
-
- -
-
+ + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + +

@@ -628,108 +642,108 @@ class MP_Event_All_Info_In_One $values = get_post_custom($post_id); ?>
-
- - - - - - - - - - - - + + + + + + + + + + + + + + + +
- + + + + + + + + + + + + + + - - - - - - - - + + + + - - - - - - - - - - - + + + + + + - - - - - - - -
+ + + + + - - - - - - - -
+
- - - - - - - - -
- -
-
-
+ + + + + + - - - - - - - - - - -
- + +
+
+ +
+
+
+ + + + + + + + + +
+
@@ -751,15 +765,19 @@ class MP_Event_All_Info_In_One $rt_status = get_post_meta($post_id, 'mep_rich_text_status', true) ? get_post_meta($post_id, 'mep_rich_text_status', true) : 'enable'; ?>
- +
- style='display:none;' > +
style='display:none;' > @@ -826,11 +844,10 @@ class MP_Event_All_Info_In_One -
- -
-
- -

-

- -
-
+
+
+
+ +

+

+ +
+
-
' - data-title="" - data-city-name="" - data-category="" - data-organizer="" - data-date="" - style="width:calc(% - 14px);" -> +
' data-title="" data-city-name="" data-category="" data-organizer="" data-date="" style="width:calc(% - 14px);">
-
- +
+ +
@@ -35,11 +29,11 @@ $date = get_post_meta($event_id,'event_upcoming_datetime',true);
+ ?>
- @@ -64,7 +58,7 @@ $date = get_post_meta($event_id,'event_upcoming_datetime',true);
+ ?>
@@ -75,7 +69,7 @@ $date = get_post_meta($event_id,'event_upcoming_datetime',true); 0) { - ?> + ?>
  • @@ -102,7 +96,7 @@ $date = get_post_meta($event_id,'event_upcoming_datetime',true);
  • - ">
    -
    +
    \ No newline at end of file diff --git a/templates/list/minimal.php b/templates/list/minimal.php index e11ba2e..896b9cd 100644 --- a/templates/list/minimal.php +++ b/templates/list/minimal.php @@ -8,12 +8,12 @@ $taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org'); // $date = mep_get_event_upcomming_date($event_id, 'date'); $date = get_post_meta($event_id,'event_upcoming_datetime',true); ?> -
    ' - data-title="" - data-city-name="" - data-category="" - data-organizer="" - data-date="" +
    ' + data-title="" + data-city-name="" + data-category="" + data-organizer="" + data-date="" >
    diff --git a/templates/list/native.php b/templates/list/native.php index 8ddde5e..040a9fd 100644 --- a/templates/list/native.php +++ b/templates/list/native.php @@ -6,12 +6,12 @@ $taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org'); // $date = mep_get_event_upcomming_date($event_id, 'date'); $date = get_post_meta($event_id,'event_upcoming_datetime',true); ?> -
    ' - data-title="" - data-city-name="" - data-category="" - data-organizer="" - data-date="" +
    ' + data-title="" + data-city-name="" + data-category="" + data-organizer="" + data-date="" >
    diff --git a/templates/list/spring.php b/templates/list/spring.php index a5b380f..0fde3b2 100644 --- a/templates/list/spring.php +++ b/templates/list/spring.php @@ -6,12 +6,12 @@ $taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org'); // $date = mep_get_event_upcomming_date($event_id, 'date'); $date = get_post_meta($event_id,'event_upcoming_datetime',true); ?> -
    ' - data-title="" - data-city-name="" - data-category="" - data-organizer="" - data-date="" +
    ' + data-title="" + data-city-name="" + data-category="" + data-organizer="" + data-date="" >
    diff --git a/templates/list/title.php b/templates/list/title.php index 2859cd2..8735031 100644 --- a/templates/list/title.php +++ b/templates/list/title.php @@ -1 +1 @@ -
    '>
    \ No newline at end of file +
    '>
    \ No newline at end of file diff --git a/templates/list/winter.php b/templates/list/winter.php index f5fa4b5..cff6114 100644 --- a/templates/list/winter.php +++ b/templates/list/winter.php @@ -6,12 +6,12 @@ $taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org'); // $date = mep_get_event_upcomming_date($event_id, 'date'); $date = get_post_meta($event_id,'event_upcoming_datetime',true); ?> -
    ' - data-title="" - data-city-name="" - data-category="" - data-organizer="" - data-date="" +
    ' + data-title="" + data-city-name="" + data-category="" + data-organizer="" + data-date="" >
    diff --git a/templates/single/extra_service_list.php b/templates/single/extra_service_list.php index 6d04431..b0d5e51 100644 --- a/templates/single/extra_service_list.php +++ b/templates/single/extra_service_list.php @@ -32,23 +32,21 @@
    - +
    diff --git a/templates/single/speaker-list.php b/templates/single/speaker-list.php index d14191c..7ddac3f 100644 --- a/templates/single/speaker-list.php +++ b/templates/single/speaker-list.php @@ -1,4 +1,4 @@ -

    +

    \ No newline at end of file diff --git a/templates/themes/default-theme.php b/templates/themes/default-theme.php index 682d11f..2c32ea6 100644 --- a/templates/themes/default-theme.php +++ b/templates/themes/default-theme.php @@ -107,8 +107,6 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    @@ -116,8 +114,6 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    diff --git a/templates/themes/royal.php b/templates/themes/royal.php index a4e6e7a..a22d739 100644 --- a/templates/themes/royal.php +++ b/templates/themes/royal.php @@ -91,13 +91,11 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    -
    @@ -109,12 +107,10 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    - - +
    -
    @@ -123,7 +119,5 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    -
    - \ No newline at end of file diff --git a/templates/themes/vanilla.php b/templates/themes/vanilla.php index cedf0e4..b072c65 100644 --- a/templates/themes/vanilla.php +++ b/templates/themes/vanilla.php @@ -22,7 +22,7 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    -
    +
    @@ -31,7 +31,7 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general

    - +
    - +
    -
    +

    - + - - - + + +

    -
    - -
    -
    -

    - -

    - -
    +
    + +
    +
    +

    + +

    + +
    - -
    - + +
    + +
    +
    - + +
    + +
    + +
    + +
    + +
    + + + +
    +
    +
    + +
    - -
    - -
    - -
    - -
    - -
    - - - -
    -
    -
    - -
    -
    @@ -114,9 +114,7 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
    - +
    -
    - \ No newline at end of file diff --git a/templates/themes/virtual.php b/templates/themes/virtual.php index 5ce3c9a..940d843 100644 --- a/templates/themes/virtual.php +++ b/templates/themes/virtual.php @@ -13,7 +13,6 @@ $hide_share_details = mep_get_option('mep_event_hide_share_this_details' $hide_calendar_details = mep_get_option('mep_event_hide_calendar_details', 'general_setting_sec', 'no'); $speaker_status = mep_get_option('mep_enable_speaker_list', 'general_setting_sec', 'no'); ?> -
    diff --git a/woocommerce-event-press.php b/woocommerce-event-press.php index 1f6f9f2..690d44c 100644 --- a/woocommerce-event-press.php +++ b/woocommerce-event-press.php @@ -3,7 +3,7 @@ * Plugin Name: Woocommerce Events Manager * Plugin URI: http://mage-people.com * Description: A Complete Event Solution for WordPress by MagePeople.. - * Version: 3.5.2 + * Version: 3.5.3 * Author: MagePeople Team * Author URI: http://www.mage-people.com/ * Text Domain: mage-eventpress
    0) { if ($qty_type == 'dropdown') { ?> - - +
    - size="4" inputmode="numeric" type="text" class='extra-qty-box' name='event_extra_service_qty[]' data-price='' value='0' min="0" max=""> +
    0) { ?> - - + +
    - - '> - - '> + + '> + + '>