Last active
August 29, 2015 14:14
-
-
Save bordoni/fe281fc27597a53360ed to your computer and use it in GitHub Desktop.
Solving a MAP and Venue Templating issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/EmbeddedMaps.php b/lib/EmbeddedMaps.php | |
index 7cc94c4..d7fd80b 100644 | |
--- a/lib/EmbeddedMaps.php | |
+++ b/lib/EmbeddedMaps.php | |
@@ -88,7 +88,7 @@ class TribeEvents_EmbeddedMaps { | |
$this->embedded_maps[] = array( | |
'address' => $this->address, | |
- 'title' => tribe_get_venue( $this->venue_id ) | |
+ 'title' => esc_html( get_the_title( $this->venue_id ) ), | |
); | |
end( $this->embedded_maps ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment