From 68fa7b532fbaca690369a129b8eaf73cb45b69b6 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 12 May 2019 18:28:01 -0700
Subject: [PATCH] Bump version given filter additions

---
 README.md                            |  6 +++++-
 eth-redirect-to-latest.php           |  2 +-
 languages/eth-redirect-to-latest.pot | 14 ++++++++------
 readme.txt                           |  6 +++++-
 4 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 82e72d2..9f02634 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 **Tags:** latest, latest post, redirect, redirect latest, redirect post  
 **Requires at least:** 4.5  
 **Tested up to:** 5.2  
-**Stable tag:** 0.2.2  
+**Stable tag:** 0.3  
 **License:** GPLv2 or later  
 **License URI:** http://www.gnu.org/licenses/gpl-2.0.html  
 
@@ -22,6 +22,10 @@ Once activated, a given slug will redirect to whatever is the most recently-publ
 
 ## Changelog ##
 
+### 0.3 ###
+* Introduce filters to make redirection more flexible.
+* Add unit tests and conform to coding standards.
+
 ### 0.2.2 ###
 * Handle sites using slug-only permalinks
 
diff --git a/eth-redirect-to-latest.php b/eth-redirect-to-latest.php
index 7d637b1..bfe4f39 100644
--- a/eth-redirect-to-latest.php
+++ b/eth-redirect-to-latest.php
@@ -10,7 +10,7 @@
  * Plugin URI: https://ethitter.com/plugins/
  * Description: Redirect a chosen slug to the whatever is currently the latest post
  * Author: Erick Hitter
- * Version: 0.2.2
+ * Version: 0.3
  * Author URI: https://ethitter.com/
  * Text Domain: eth_redirect_to_latest_post
  * Domain Path: /languages/
diff --git a/languages/eth-redirect-to-latest.pot b/languages/eth-redirect-to-latest.pot
index cbfc15a..2276b2c 100644
--- a/languages/eth-redirect-to-latest.pot
+++ b/languages/eth-redirect-to-latest.pot
@@ -2,10 +2,10 @@
 # This file is distributed under the same license as the ETH Redirect to Latest Post package.
 msgid ""
 msgstr ""
-"Project-Id-Version: ETH Redirect to Latest Post 0.2.2\n"
+"Project-Id-Version: ETH Redirect to Latest Post 0.3\n"
 "Report-Msgid-Bugs-To: "
 "https://wordpress.org/support/plugin/eth-redirect-to-latest\n"
-"POT-Creation-Date: 2019-04-14 03:43:53+00:00\n"
+"POT-Creation-Date: 2019-05-13 01:26:22+00:00\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -25,19 +25,21 @@ msgstr ""
 "X-Poedit-Bookmarks: \n"
 "X-Textdomain-Support: yes\n"
 
-#: eth-redirect-to-latest.php:51 eth-redirect-to-latest.php:52
+#: inc/class-eth-redirect-to-latest-post.php:38
+#: inc/class-eth-redirect-to-latest-post.php:45
 msgid "Cheatin&#8217; uh?"
 msgstr ""
 
-#: eth-redirect-to-latest.php:76
+#: inc/class-eth-redirect-to-latest-post.php:94
 msgid "latest"
 msgstr ""
 
-#: eth-redirect-to-latest.php:166
+#: inc/class-eth-redirect-to-latest-post.php:235
 msgid "&quot;Latest post&quot; slug"
 msgstr ""
 
-#: eth-redirect-to-latest.php:176
+#: inc/class-eth-redirect-to-latest-post.php:249
+#. translators: 1. Default slug, wrapped in a <code> tag.
 msgid ""
 "Set the slug that will redirect to the latest published post. The default "
 "value is %s."
diff --git a/readme.txt b/readme.txt
index e4e9ba7..cea528d 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Donate link: https://ethitter.com/donate/
 Tags: latest, latest post, redirect, redirect latest, redirect post
 Requires at least: 4.5
 Tested up to: 5.2
-Stable tag: 0.2.2
+Stable tag: 0.3
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 
@@ -22,6 +22,10 @@ Once activated, a given slug will redirect to whatever is the most recently-publ
 
 == Changelog ==
 
+= 0.3 =
+* Introduce filters to make redirection more flexible.
+* Add unit tests and conform to coding standards.
+
 = 0.2.2 =
 * Handle sites using slug-only permalinks
 
-- 
GitLab