summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php')
-rw-r--r--plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php b/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php
index 7dcef493..c16ce422 100644
--- a/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php
+++ b/plugins/jetpack/modules/geo-location/class.jetpack-geo-location.php
@@ -376,7 +376,7 @@ class Jetpack_Geo_Location {
'is_public' => (bool) $this->sanitize_public( $this->get_meta_value( $post_id, 'public' ) ),
'latitude' => $this->sanitize_coordinate( $this->get_meta_value( $post_id, 'latitude' ) ),
'longitude' => $this->sanitize_coordinate( $this->get_meta_value( $post_id, 'longitude' ) ),
- 'label' => trim( $this->get_meta_value( $post_id, 'address' ) ),
+ 'label' => trim( (string) $this->get_meta_value( $post_id, 'address' ) ),
'is_populated' => false,
);