I am using this plugin and qTranslate on a site. I found that on the calendar view, #_EVENTLINK was rendering some of the qTranslate quick tags to the browser.
I fixed the issue by changing
case '#_EVENTLINK': //HTML Link
$event_link = esc_url($this->get_permalink());
if($result == '#_LINKEDNAME' || $result == '#_EVENTLINK'){
$replace = '<a href="'.$event_link.'" title="'.esc_attr($this->event_name).'">'.esc_attr($this->event_name).'</a>';
}else{
$replace = $event_link;
}
break;
to
case '#_EVENTLINK': //HTML Link
$event_link = esc_url($this->get_permalink());
if($result == '#_LINKEDNAME' || $result == '#_EVENTLINK'){
$replace = '<a href="'.$event_link.'" title="'.$this->event_name.'">'.$this->event_name.'</a>';
}else{
$replace = $event_link;
}
break;
in /classes/em-event.php.
Is there a way you could set up a qTranslate compatibility mode that would allow me to toggle this change in the admin (without editing your core code)? Basically, it just removes the esc_Attr() filter so qTranslate can detect its special tags and run its own filter.
Thanks!
