From e82e61a312dd9dddf4929b162299a3ae484195de Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Tue, 16 Apr 2019 20:12:06 -0700
Subject: [PATCH] Bump version for PHPUnit and PHPCS updates

---
 README.md                               | 10 +++++++++-
 external-permalinks-redux.php           |  2 +-
 languages/external-permalinks-redux.pot | 16 ++++++++--------
 readme.txt                              | 10 +++++++++-
 4 files changed, 27 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index 28b6970..c96346d 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 **Tags:** link, redirect, external link, permalink  
 **Requires at least:** 3.0  
 **Tested up to:** 5.2  
-**Stable tag:** 1.1  
+**Stable tag:** 1.2  
 **License:** GPLv2 or later  
 **License URI:** http://www.gnu.org/licenses/gpl-2.0.html  
 
@@ -37,6 +37,11 @@ Using the `epr_post_types` filter, one can modify the default array of object ty
 
 ## Changelog ##
 
+### 1.2 ###
+* Introduce `get_redirect_data()` method to look up a post ID's redirect.
+* Introduce PHPUnit tests
+* Conform to current VIP Go Coding Standards.
+
 ### 1.1 ###
 * Introduce a filter to change the metabox title for clarity. Does break translation for that string if used.
 * Add additional HTML classes in the metabox to aid customization.
@@ -62,6 +67,9 @@ Using the `epr_post_types` filter, one can modify the default array of object ty
 
 ## Upgrade Notice ##
 
+### 1.2 ###
+Introduces `get_redirect_data()` method along with unit tests and PHPCS cleanup.
+
 ### 1.0.4 ###
 Implements singleton pattern for instantiation. No functional changes are included in this release.
 
diff --git a/external-permalinks-redux.php b/external-permalinks-redux.php
index fd4eb1d..1fa9b06 100644
--- a/external-permalinks-redux.php
+++ b/external-permalinks-redux.php
@@ -3,7 +3,7 @@
  * Plugin Name: External Permalinks Redux
  * Plugin URI: http://www.thinkoomph.com/plugins-modules/external-permalinks-redux/
  * Description: Allows users to point WordPress objects (posts, pages, custom post types) to a URL of your choosing. Inspired by and backwards-compatible with <a href="http://txfx.net/wordpress-plugins/page-links-to/">Page Links To</a> by Mark Jaquith. Written for use on WordPress.com VIP.
- * Version: 1.1
+ * Version: 1.2
  * Author: Erick Hitter & Oomph, Inc.
  * Author URI: http://www.thinkoomph.com/
  *
diff --git a/languages/external-permalinks-redux.pot b/languages/external-permalinks-redux.pot
index 3075223..d12bc23 100644
--- a/languages/external-permalinks-redux.pot
+++ b/languages/external-permalinks-redux.pot
@@ -2,10 +2,10 @@
 # This file is distributed under the same license as the External Permalinks Redux package.
 msgid ""
 msgstr ""
-"Project-Id-Version: External Permalinks Redux 1.1\n"
+"Project-Id-Version: External Permalinks Redux 1.2\n"
 "Report-Msgid-Bugs-To: "
 "https://wordpress.org/support/plugin/external-permalinks-redux\n"
-"POT-Creation-Date: 2019-04-14 05:26:23+00:00\n"
+"POT-Creation-Date: 2019-04-17 03:11:05+00:00\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -25,11 +25,11 @@ msgstr ""
 "X-Poedit-Bookmarks: \n"
 "X-Textdomain-Support: yes\n"
 
-#: external-permalinks-redux.php:77
+#: external-permalinks-redux.php:97
 msgid "Temporary (302)"
 msgstr ""
 
-#: external-permalinks-redux.php:78
+#: external-permalinks-redux.php:98
 msgid "Permanent (301)"
 msgstr ""
 
@@ -37,19 +37,19 @@ msgstr ""
 msgid "External Permalinks Redux"
 msgstr ""
 
-#: external-permalinks-redux.php:127
+#: external-permalinks-redux.php:136
 msgid "Destination Address:"
 msgstr ""
 
-#: external-permalinks-redux.php:131
+#: external-permalinks-redux.php:140
 msgid "To restore the original permalink, remove the link entered above."
 msgstr ""
 
-#: external-permalinks-redux.php:136
+#: external-permalinks-redux.php:145
 msgid "Redirect Type:"
 msgstr ""
 
-#: external-permalinks-redux.php:138
+#: external-permalinks-redux.php:147
 msgid "-- Select --"
 msgstr ""
 
diff --git a/readme.txt b/readme.txt
index 31a8fb5..41ee48d 100644
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Donate link: http://www.thinkoomph.com/plugins-modules/external-permalinks-redux
 Tags: link, redirect, external link, permalink
 Requires at least: 3.0
 Tested up to: 5.2
-Stable tag: 1.1
+Stable tag: 1.2
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 
@@ -37,6 +37,11 @@ Using the `epr_post_types` filter, one can modify the default array of object ty
 
 == Changelog ==
 
+= 1.2 =
+* Introduce `get_redirect_data()` method to look up a post ID's redirect.
+* Introduce PHPUnit tests
+* Conform to current VIP Go Coding Standards.
+
 = 1.1 =
 * Introduce a filter to change the metabox title for clarity. Does break translation for that string if used.
 * Add additional HTML classes in the metabox to aid customization.
@@ -62,6 +67,9 @@ Using the `epr_post_types` filter, one can modify the default array of object ty
 
 == Upgrade Notice ==
 
+= 1.2 =
+Introduces `get_redirect_data()` method along with unit tests and PHPCS cleanup.
+
 = 1.0.4 =
 Implements singleton pattern for instantiation. No functional changes are included in this release.
 
-- 
GitLab