[Plugin: SimpleMap Store Locator] updating the zip code doesn't work
-
the usps allows postal codes that start with 0
+
excel likes to strip leading 0’s from cells that are entirely numeric
+
unknowingly import csv via simplemaps
=
zip code without leading 0now try to edit location to fix it! not possible. why? because in locations.php, the test is:
if ( $location_zip != $new_zip ) update_post_meta( $post, ‘location_zip’, $new_zip );
which php helpfully views as a numeric comparision
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: SimpleMap Store Locator] updating the zip code doesn't work’ is closed to new replies.