version 2.7.0 relesed

This commit is contained in:
magepeopleteam 2019-08-04 07:34:58 +00:00
parent 683bb3b947
commit 2d936c2399
4 changed files with 29 additions and 8 deletions

View File

@ -1,4 +1,3 @@
.inside .sec {
display: block;
font-size: 15px;

View File

@ -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(){
?>
<style type="text/css">
div#mep-event-price {
display: none!important;
}
</style>
<?php
}
function mep_event_reset_booking_count($post){
@ -1371,7 +1380,15 @@ function mep_meta_box_add(){
add_meta_box( 'my-meta-box-id', 'Information', 'mep_meta_box_cb', 'mep_events_attendees', 'normal', 'high' );
}
function mep_remove_single_ticket(){
?>
<style>
div#mep-event-price {
display: none;
}
</style>
<?php
}
function mep_meta_box_cb($post){
@ -1391,9 +1408,6 @@ $ticket_type = get_post_meta( $post->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 ) {

View File

@ -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*

View File

@ -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,