[Plugin: WP World Travel] Apostrophe in Schedule Link Text
-
Hi,
A small bug report: if the Schedule Link Text contains an apostrophe (as for instance “montrer l’itinéraire”, which is french for “show itinerary”), then the schedule doesn’t toggle and raises a javascript error. The reason is that the text apostrophe mixes with javascript apostrophes:
wpwt_schedule_toggle( 'Montrer l'itinéraire', 'Cacher l'itinéraire' )
A fix: replace ‘ by \’ in the Schedule Link Text
- The topic ‘[Plugin: WP World Travel] Apostrophe in Schedule Link Text’ is closed to new replies.