diff --git a/README.md b/README.md index 82e72d23a638041d652804d921b4bab23c48fc00..9f02634514fbfdc0e68cd52382855a07346f3f1e 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 7d637b1c6153f3081de20f2ffd3a99d3c9444bba..bfe4f39e87a27d4fae810c7308a89969b76ce7e6 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 cbfc15aee5621e0906dfa7304579f77feceb5247..2276b2c4769b4d87ef318a347bc04ae71df840d5 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’ 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 ""Latest post" 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 e4e9ba7bd3106fd726731e3271e4b313189f157c..cea528d8b10ffc890c08d19c084c2f7855343c5f 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