Skip to content

Commit

Permalink
Fix Activation Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed May 10, 2017
1 parent 8251c8f commit 24f63a4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions languages/simple-location.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -177,7 +177,7 @@ msgstr ""
msgid "Change Displayed Timezone"
msgstr ""

#: simple-location.php:84
#: simple-location.php:85
msgid "Map Settings"
msgstr ""

Expand Down
6 changes: 4 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions simple-location.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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();
}

Expand Down

0 comments on commit 24f63a4

Please sign in to comment.