From 2d936c239933c860502f49cde43054e6b56a6bb1 Mon Sep 17 00:00:00 2001 From: magepeopleteam Date: Sun, 4 Aug 2019 07:34:58 +0000 Subject: [PATCH] version 2.7.0 relesed --- css/admin_style.css | 1 - inc/mep_event_meta.php | 24 +++++++++++++++++++----- readme.txt | 7 +++++++ woocommerce-event-press.php | 5 +++-- 4 files changed, 29 insertions(+), 8 deletions(-) diff --git a/css/admin_style.css b/css/admin_style.css index 79214f8..e7388b9 100644 --- a/css/admin_style.css +++ b/css/admin_style.css @@ -1,4 +1,3 @@ - .inside .sec { display: block; font-size: 15px; diff --git a/inc/mep_event_meta.php b/inc/mep_event_meta.php index 63e7719..027ff62 100644 --- a/inc/mep_event_meta.php +++ b/inc/mep_event_meta.php @@ -33,7 +33,16 @@ function mep_event_meta_box_add(){ add_meta_box( 'mep-event-rest-count-sec', __('Event Reset Booking Count','mage-eventpress'), 'mep_event_reset_booking_count', 'mep_events', 'side', 'low' ); } - +add_action('admin_head','mep_hide_single_price_section'); +function mep_hide_single_price_section(){ + ?> + + + + ID, 'ea_ticket_type', true ); $mep_reg_gender = strip_tags($event_meta['mep_reg_gender'][0]); $mep_reg_tshirtsize = strip_tags($event_meta['mep_reg_tshirtsize'][0]); - - - $order = wc_get_order( $values['ea_order_id'][0] ); foreach ( $order->get_items() as $item_id => $item_values ) { diff --git a/readme.txt b/readme.txt index ff2fdf4..3888b33 100644 --- a/readme.txt +++ b/readme.txt @@ -383,4 +383,11 @@ A. you can create support ticket here with problem details with possible screens * Update Release: ==> PHP warning fixed ==> Date Display +18 July 2019* + + +*= 2.7.0 = +* Update Release: +==> Removed Single Price Section +==> Added missing values into product set_props 18 July 2019* \ No newline at end of file diff --git a/woocommerce-event-press.php b/woocommerce-event-press.php index ccbc96c..5ee6c79 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: 2.6.9 +* Version: 2.7.0 * Author: MagePeople Team * Author URI: http://www.mage-people.com/ * Text Domain: mage-eventpress @@ -35,7 +35,6 @@ function mep_language_load(){ } // Flash Permalink only Once - function mep_flash_permalink_once() { if ( get_option( 'mep_flash_event_permalink' ) != 'completed' ) { global $wp_rewrite; @@ -69,6 +68,8 @@ function mep_load_wc_class() { 'slug' => $post_object->post_name, 'date_created' => 0 < $post_object->post_date_gmt ? wc_string_to_timestamp( $post_object->post_date_gmt ) : null, 'date_modified' => 0 < $post_object->post_modified_gmt ? wc_string_to_timestamp( $post_object->post_modified_gmt ) : null, + 'product_id' => $post_object->ID, + 'sku' => $post_object->ID, 'status' => $post_object->post_status, 'description' => $post_object->post_content, 'short_description' => $post_object->post_excerpt,