It realy isnt a problem just worth a note!
Im not sure that this is the right part of the code but.
line 205-217 em_category.php version 5.3.5 (there it is on line 216!)
==================================================
$replace = get_option(‘dbem_category_no_events_message’,”);
}
break;
default:
$replace = $full_result;
break;
}
$replace = apply_filters(’em_category_output_placeholder’, $replace, $this, $full_result, $target); //USE WITH CAUTION! THIS MIGHT GET RENAMED
$category_string = str_replace($full_result, $replace , $category_string );
}
$name_filter = ($target == “html”) ? ‘dbem_general’:’dbem_general_rss’; //TODO remove dbem_ filters
$category_string = str_replace(‘#_CATEGORY‘, apply_filters($name_filter, $this->name) , $category_string ); //Depreciated
return apply_filters(’em_category_output’, $category_string, $this, $format, $target);
}
line 208-223 em_category.php version 5.3.7 (there it is gone!)
=================================================
$replace = get_option(‘dbem_category_no_events_message’,”);
}
break;
case ‘#_CATEGORYNEXTEVENT’:
$events = EM_Events::get( array(‘category’=>$this->term_id, ‘scope’=>’future’, ‘limit’=>1, ‘orderby’=>’event_start_date,event_start_time’) );
$replace = get_option(‘dbem_category_no_event_message’);
foreach($events as $EM_Event){
$replace = $EM_Event->output(get_option(‘dbem_category_event_single_format’));
}
break;
default:
$replace = $full_result;
break;
}
$replaces[$full_result] = apply_filters(’em_category_output_placeholder’, $replace, $this, $full_result, $target);
}