diff --git a/README.md b/README.md index deab721..c71358d 100755 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Simple Location # **Contributors:** dshanske **Tags:** geolocation, geo, maps, location, indieweb -**Stable tag:** 3.0.3 +**Stable tag:** 3.0.4 **Requires at least:** 4.7 -**Tested up to:** 4.7.2 +**Tested up to:** 4.7.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -49,6 +49,8 @@ will now be required to show maps for services that require API keys. ## Changelog ## +### Version 3.0.4 ### + * Fix Activation Issue ### Version 3.0.3 ### * Add support for queries and permalinks to show location enabled posts * Use built-in WP timezone list generation code diff --git a/languages/simple-location.pot b/languages/simple-location.pot index de417a9..a259a19 100644 --- a/languages/simple-location.pot +++ b/languages/simple-location.pot @@ -2,9 +2,9 @@ # This file is distributed under the same license as the Simple Location package. msgid "" msgstr "" -"Project-Id-Version: Simple Location 3.0.3\n" +"Project-Id-Version: Simple Location 3.0.4\n" "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/simple-location\n" -"POT-Creation-Date: 2017-02-05 03:03:14+00:00\n" +"POT-Creation-Date: 2017-05-10 03:54:53+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -177,7 +177,7 @@ msgstr "" msgid "Change Displayed Timezone" msgstr "" -#: simple-location.php:84 +#: simple-location.php:85 msgid "Map Settings" msgstr "" diff --git a/readme.txt b/readme.txt index 5b9516b..2ec044b 100755 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ === Simple Location === Contributors: dshanske Tags: geolocation, geo, maps, location, indieweb -Stable tag: 3.0.3 +Stable tag: 3.0.4 Requires at least: 4.7 -Tested up to: 4.7.2 +Tested up to: 4.7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -49,6 +49,8 @@ will now be required to show maps for services that require API keys. == Changelog == += Version 3.0.4 = + * Fix Activation Issue = Version 3.0.3 = * Add support for queries and permalinks to show location enabled posts * Use built-in WP timezone list generation code diff --git a/simple-location.php b/simple-location.php index 89a0e59..0b2a67f 100755 --- a/simple-location.php +++ b/simple-location.php @@ -3,7 +3,7 @@ * Plugin Name: Simple Location * Plugin URI: https://wordpress.org/plugins/simple-location/ * Description: Adds Location to Wordpress Pages and Posts. - * Version: 3.0.3 + * Version: 3.0.4 * Author: David Shanske * Author URI: https://david.shanske.com * Text Domain: simple-location @@ -23,7 +23,8 @@ class Simple_Location_Plugin { public static $version = '3.0.3'; public static function activate() { - WP_Geo_Meta::rewrite(); + require_once( plugin_dir_path( __FILE__ ) . 'includes/class-geo-meta.php' ); + WP_Geo_Data::rewrite(); flush_rewrite_rules(); }