cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

Geocode Custom field not working with multiple fields #835

Closed smadds closed 4 years ago

smadds commented 5 years ago

Is there a problem with the Geocode Custom Field part of the code if multiple fields are given?

If I just put my_postcode into the field, it works but if I put my_streetaddress, my_town, my_postcode (which would give me better accuracy) it fails and does not enter a geolocation.

Doesn't seem to matter if I leave out the spaces (my_streetaddress,my_town,my_postcode)

Any ideas?

cyberhobo commented 5 years ago

There could be a bug, I don't currently have an automated test for multiples. Do any of your posts where it failed have a geocoding_error custom field added with more information?

cyberhobo commented 4 years ago

Added a test, but found no problems.