Skip to content

Commit

Permalink
1.0.3 changes - fix in singular map display.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylephillips committed Jan 9, 2015
1 parent e247217 commit 69cc0c9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions app/Post/Singular.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ private function addmap()
private function enqueueScript()
{
if ( (isset($this->location_data['latitude'])) && (isset($this->location_data['longitude'])) ){
wp_enqueue_script('google-maps');
wp_enqueue_script('simple-locator');
wp_enqueue_script(
'simple-locator-single',
\SimpleLocator\Helpers::plugin_url(). '/assets/js/simple-locator-single.js',
Expand Down
2 changes: 1 addition & 1 deletion app/SimpleLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static function init()
$ls_env = 'live';

global $simple_locator_version;
$simple_locator_version = '1.0.2';
$simple_locator_version = '1.0.3';

$app = new SimpleLocator\Bootstrap;
}
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://locatewp.com/
Tags: location, store locator, google maps, store map
Requires at least: 3.8
Tested up to: 4.1
Stable tag: 1.0.2
Stable tag: 1.0.3

License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -74,6 +74,9 @@ The search form uses the Google Maps API geocoding service, which offers reliabl

== Changelog ==

= 1.0.3 =
* Bug fix in singular post view map display

= 1.0.2 =
* Bug fix in custom post type meta field selection

Expand All @@ -86,6 +89,9 @@ The search form uses the Google Maps API geocoding service, which offers reliabl

== Upgrade Notice ==

= 1.0.3 =
Bug fix in singular post view map display

= 1.0.2 =
Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion simplelocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Simple Locator
Plugin URI: http://locatewp.com/
Description: Location search in WordPress, made simple. Can be used for store or any other type of location. Simply add the shortcode [wp_simple_locator] to add the locator.
Version: 1.0.2
Version: 1.0.3
Author: Kyle Phillips
Author URI: https://github.com/kylephillips
Text Domain: wpsimplelocator
Expand Down

0 comments on commit 69cc0c9

Please sign in to comment.