Title: Bug found
Last modified: August 21, 2016

---

# Bug found

 *  Resolved [meanster99](https://wordpress.org/support/users/meanster99/)
 * (@meanster99)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-found-5/)
 * Hi Tijmen,
 * I’ve found a bug. When you enter addresses or postcodes that have apostrophes(
   i.e. ‘) in their names, when you click ‘directions’ (and it’s set to open it 
   at maps.google.com) the full address gets truncated at the apostrophe (when sent
   to maps.google.com).
 * So for instance. If you use the UK postcode – PE30 4SD – which is an address 
   in King’s Lynn, Norfolk, UK. It shows up fine on the WPSL map and if you have
   directions set to show on the wpsl map, they work fine. However, if you have 
   the option “When a user clicks on “Directions”, open a new window and show the
   route on maps.google.com” checked and then click ‘directions’, the full address
   is not passed to google maps start location and the end location is completely
   blank. All you can see is the first part of the address in the ‘start location’
   upto the point where the apostrophe appears in the official google maps name 
   for that addresss or postcode. (e.g.The postcode PE30 4SD passes the full address
   as 23 Woodside, King’s Lynn, Norfolk. PE30 4SD to google maps, but if you try
   and get directions for that address via the directions button, it only gets as
   far as ’23 Woodside, King’ and then ends.
 * I’m sure it’s a straightforward problem with handling apostrophe’s but it’s way
   beyond my ability!
 * Thanks,
 * Matt
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-found-5/#post-4809163)
 * I did miss this one, thanks for pointing it out. I found a fix for it and will
   include it in the next release.
 *  Thread Starter [meanster99](https://wordpress.org/support/users/meanster99/)
 * (@meanster99)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-found-5/#post-4809183)
 * Hi Tijmen,
 * Any chance I could have the fix early please? I have business in King’s Lynn 
   and so need to fix this quite urgently!
 * Thanks,
 * Matt
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-found-5/#post-4809184)
 * Sure, just send an email to info at tijmensmit.com and I will send the updated
   js file.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug found’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/bug-found-5/#post-4809184)
 * Status: resolved