diff --git a/inc/mep_event_fw_meta.php b/inc/mep_event_fw_meta.php index 557da72..75e40f2 100644 --- a/inc/mep_event_fw_meta.php +++ b/inc/mep_event_fw_meta.php @@ -199,6 +199,7 @@ function mep_fw_meta_boxs() 'item_id' => 'mep_day_content', 'name' => __('Content','mage-eventpress') ), + ), ), ) @@ -314,5 +315,5 @@ function mep_fw_meta_boxs() 'speakers_meta_boxs' => $email_body_meta_boxs ), ); - new AddMetaBox( $email_body_meta_args ); + // new AddMetaBox( $email_body_meta_args ); } \ No newline at end of file diff --git a/inc/mep_event_meta.php b/inc/mep_event_meta.php index b8fd2ef..2793b2c 100644 --- a/inc/mep_event_meta.php +++ b/inc/mep_event_meta.php @@ -51,6 +51,9 @@ class MP_Event_All_Info_In_One
$#', '', $value); +// $value = preg_replace('/^[ \t]*[\r\n]+/m', '', $value); + + if(!empty($conditions)): $depends = ''; @@ -5906,7 +5912,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) { $type = isset($conditions['type']) ? $conditions['type'] : ''; $pattern = isset($conditions['pattern']) ? $conditions['pattern'] : ''; $modifier = isset($conditions['modifier']) ? $conditions['modifier'] : ''; - $like = isset($conditions['like']) ? $conditions['like'] : ''; + $like = isset($conditions['like']) ? $conitions['like'] : ''; $strict = isset($conditions['strict']) ? $conditions['strict'] : ''; $empty = isset($conditions['empty']) ? $conditions['empty'] : ''; $sign = isset($conditions['sign']) ? $conditions['sign'] : ''; @@ -5985,11 +5991,10 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {