[EventCalendar] ec3_get_events() not translating ampersands into character entities

JD Puglisi jdpuglisi at hotmail.com
Mon Oct 8 14:42:30 UTC 2007


Don't worry about the php.ini file since wp_specialchars worked for you.

Try this fix for the rest of your problem.
1. In your EC3 directory find the template-functions.php file, make a backup
and open it in a text editor.
2. Find:
 $calendar_days[$day_id]->add_post($ent->post_title,$time,$ent->is_event);
3. Replace it with:
 $calendar_days[$day_id]->add_post(wp_specialchars($ent->post_title),$time,$
ent->is_event);
4. Let us know if that worked.
------------------
It has to do with ec3_get_calendar()

What do I have to change to get those to work?

(Sigh. Where is the php.ini file? Is that part of wp?)





More information about the EventCalendar mailing list