v 3.9.7
This commit is contained in:
parent
724494c58a
commit
880efb5bf8
|
@ -4162,7 +4162,11 @@ function mep_get_price_excluding_tax($event, $price, $args = array()) {
|
|||
|
||||
|
||||
function mep_filter_post_name( $data, $postarr, $unsanitized_postarr){
|
||||
$data['post_title'] = sanitize_text_field($data['post_title']);
|
||||
$post_id = $postarr['ID'];
|
||||
$post_type = get_post_type($post_id);
|
||||
if ($post_type === 'mep_events'){
|
||||
$data['post_title'] = wp_kses_post($data['post_title']);
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
add_filter( 'wp_insert_post_data', 'mep_filter_post_name',10,3);
|
||||
|
|
|
@ -365,6 +365,11 @@ A. you can create support ticket here with problem details with possible screens
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 3.9.7 =
|
||||
* Event Title Sanitize Issue fixed with Span and other allowed tags.
|
||||
22 June 2023*
|
||||
|
||||
|
||||
= 3.9.6 =
|
||||
* Event Title Sanitize Issue fixed.
|
||||
22 June 2023*
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce
|
||||
* Plugin URI: http://mage-people.com
|
||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||
* Version: 3.9.6
|
||||
* Version: 3.9.7
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
|
Loading…
Reference in New Issue