Commit 8926655a authored by Erick Hitter's avatar Erick Hitter

Bump WP compat

parent 899452aa
Pipeline #793 failed with stages
# ETH Redirect to Latest Post #
**Contributors:** ethitter
**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
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Redirect a chosen slug, "latest" by default, to, well, the most-recently published post.
## Description ##
Once activated, a given slug will redirect to whatever is the most recently-published post on the site. By default, the slug is `latest`, but it can be changed from the Permalinks settings screen.
## Installation ##
1. Upload the plugin files to the `/wp-content/plugins/eth-redirect-to-latest` directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the 'Plugins' screen in WordPress.
1. If desired, change the slug from the 'Permalinks' screen in WordPress.
## Changelog ##
### 0.2.2 ###
* Handle sites using slug-only permalinks
### 0.2.1 ###
* Correct Composer path error
### 0.2 ###
* Initial release
......@@ -48,8 +48,8 @@ class ETH_Redirect_To_Latest_Post {
/**
* Dummy magic methods
*/
public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ uh?' ), '0.1' ); }
public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ uh?' ), '0.1' ); }
public function __clone() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ uh?', 'eth_redirect_to_latest_post' ), '0.1' ); }
public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ uh?', 'eth_redirect_to_latest_post' ), '0.1' ); }
public function __call( $name = '', $args = array() ) { unset( $name, $args ); return null; }
/**
......
# Copyright (C) 2019 Erick Hitter
# 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"
"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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: grunt-wp-i18n 0.5.4\n"
"X-Poedit-KeywordsList: "
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Country: United States\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Basepath: ../\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-Bookmarks: \n"
"X-Textdomain-Support: yes\n"
#: eth-redirect-to-latest.php:51 eth-redirect-to-latest.php:52
msgid "Cheatin&#8217; uh?"
msgstr ""
#: eth-redirect-to-latest.php:76
msgid "latest"
msgstr ""
#: eth-redirect-to-latest.php:166
msgid "&quot;Latest post&quot; slug"
msgstr ""
#: eth-redirect-to-latest.php:176
msgid ""
"Set the slug that will redirect to the latest published post. The default "
"value is %s."
msgstr ""
#. Plugin Name of the plugin/theme
msgid "ETH Redirect to Latest Post"
msgstr ""
#. Plugin URI of the plugin/theme
msgid "https://ethitter.com/plugins/"
msgstr ""
#. Description of the plugin/theme
msgid "Redirect a chosen slug to the whatever is currently the latest post"
msgstr ""
#. Author of the plugin/theme
msgid "Erick Hitter"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://ethitter.com/"
msgstr ""
\ No newline at end of file
......@@ -3,7 +3,7 @@ Contributors: ethitter
Donate link: https://ethitter.com/donate/
Tags: latest, latest post, redirect, redirect latest, redirect post
Requires at least: 4.5
Tested up to: 4.7
Tested up to: 5.2
Stable tag: 0.2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment