From 87475b2c60d4b5b62c485fe912ffb270d3a58b8a Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 26 Jun 2022 14:06:07 -0700 Subject: [PATCH] Prepare for Gutenberg support --- README.md | 24 ++++++++++++++-------- automatically-paginate-posts.php | 2 +- languages/automatically-paginate-posts.pot | 4 ++-- readme.txt | 24 ++++++++++++++-------- 4 files changed, 35 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index aaee7ef..372a24d 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Donate link: **Tags:** paginate, nextpage, Quicktag **Requires at least:** 3.4 -**Tested up to:** 5.4 -**Stable tag:** 0.2 +**Tested up to:** 6.0 +**Stable tag:** 0.3 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -30,7 +30,7 @@ Option is also provided to specify how many pages content should be broken out o The plugin's options are added to the built-in **Reading** settings page in WordPress. ### Can I disable the plugin's functionality for specific posts, pages, or custom post type objects? ### -Yes, the plugin adds a metabox to individual items in supported post types that allows the autopaging to be disabled on a per-post basis. +Yes, the plugin adds a metabox (Classic Editor) and a sidebar component (Block Editor) to individual items in supported post types that allows the autopaging to be disabled on a per-post basis. ### How can I add support for my custom post type? ### Navigate to Settings > Reading in WP Admin to enable this plugin for your custom post type. @@ -47,16 +47,24 @@ You can also use the filter `autopaging_post_types` to add support by appending ## Changelog ## -### 0.1 ### -* Initial release. +### 0.3 ### +* Add support for content authored in block editor (Gutenberg). +* Add native block-editor control to replace legacy metabox. +* Fix bug that created empty pages. ### 0.2 ### * Allow for number of words to be specified instead of number of pages. +### 0.1 ### +* Initial release. + ## Upgrade Notice ## -### 0.1 ### -Initial release +### 0.3 ### +Add support for block editor and fix bug that created empty pages. ### 0.2 ### -* Allow for number of words to be specified instead of number of pages. +Allow for number of words to be specified instead of number of pages. + +### 0.1 ### +Initial release diff --git a/automatically-paginate-posts.php b/automatically-paginate-posts.php index 7e6e595..0da1d70 100644 --- a/automatically-paginate-posts.php +++ b/automatically-paginate-posts.php @@ -5,7 +5,7 @@ * Plugin Name: Automatically Paginate Posts * Plugin URI: http://www.oomphinc.com/plugins-modules/automatically-paginate-posts/ * Description: Automatically inserts the <!--nextpage--> Quicktag into WordPress posts, pages, or custom post type content. - * Version: 0.2 + * Version: 0.3 * Author: Erick Hitter & Oomph, Inc. * Author URI: http://www.oomphinc.com/ * Text Domain: autopaging diff --git a/languages/automatically-paginate-posts.pot b/languages/automatically-paginate-posts.pot index cb6a2ba..521dbec 100644 --- a/languages/automatically-paginate-posts.pot +++ b/languages/automatically-paginate-posts.pot @@ -2,10 +2,10 @@ # This file is distributed under the same license as the Automatically Paginate Posts package. msgid "" msgstr "" -"Project-Id-Version: Automatically Paginate Posts 0.2\n" +"Project-Id-Version: Automatically Paginate Posts 0.3\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/automatically-paginate-posts\n" -"POT-Creation-Date: 2022-06-26 20:46:38+00:00\n" +"POT-Creation-Date: 2022-06-26 21:05:45+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/readme.txt b/readme.txt index 20ccc03..ff6901f 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: ethitter, thinkoomph, bendoh Donate link: Tags: paginate, nextpage, Quicktag Requires at least: 3.4 -Tested up to: 5.4 -Stable tag: 0.2 +Tested up to: 6.0 +Stable tag: 0.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -30,7 +30,7 @@ Option is also provided to specify how many pages content should be broken out o The plugin's options are added to the built-in **Reading** settings page in WordPress. = Can I disable the plugin's functionality for specific posts, pages, or custom post type objects? = -Yes, the plugin adds a metabox to individual items in supported post types that allows the autopaging to be disabled on a per-post basis. +Yes, the plugin adds a metabox (Classic Editor) and a sidebar component (Block Editor) to individual items in supported post types that allows the autopaging to be disabled on a per-post basis. = How can I add support for my custom post type? = Navigate to Settings > Reading in WP Admin to enable this plugin for your custom post type. @@ -47,16 +47,24 @@ You can also use the filter `autopaging_post_types` to add support by appending == Changelog == -= 0.1 = -* Initial release. += 0.3 = +* Add support for content authored in block editor (Gutenberg). +* Add native block-editor control to replace legacy metabox. +* Fix bug that created empty pages. = 0.2 = * Allow for number of words to be specified instead of number of pages. += 0.1 = +* Initial release. + == Upgrade Notice == -= 0.1 = -Initial release += 0.3 = +Add support for block editor and fix bug that created empty pages. = 0.2 = -* Allow for number of words to be specified instead of number of pages. +Allow for number of words to be specified instead of number of pages. + += 0.1 = +Initial release -- GitLab