maps.google.NOT-COM support
-
Hi,
The plugin currently only supports maps.google.com url’s (the .com domain).
International users are usually redirected to their local version of the maps site (for me: maps.google.nl).
When I paste the .nl version of the <iframe> tag into the editor, the plugin doesn’t recognize it.
Changing the regex (line 103 in your plugin) to something as:
preg_match( '!https?://maps.google.[a-z]{2,3}!', $url )
or just
preg_match( '!https?://maps.google.!', $url )
might be a solution.https://www.ads-software.com/extend/plugins/unofficial-wordpresscom-google-maps-shortcode/
- The topic ‘maps.google.NOT-COM support’ is closed to new replies.