• Resolved ellbiedesign

    (@ellbiedesign)


    The location field in the admin when you are adding an event used to accept HTML. For example, I would wrap my locations with code for a hyperlink. I just did an update to the plugin and now instead of the hyperlink displaying you just see the code rendered out as text. How can I fix this?

    http://wordpress.org/plugins/event-list/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think it has to do with the truncate function, this function is converting the brackets to special characters

    A quick fix will be replacing: (in includes/sc_event-list.php)

    $out .= '<span class="event-location">'.esc_attr($this->db->truncate(min($max_length, $a['location_length']), $event->location)).'</span>';

    by

    $out .= '<span class="event-location">'.esc_attr($event->location).'</span>';

    Plugin Author mibuthu

    (@mibuthu)

    see also this thread

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Location field used to take HTML’ is closed to new replies.