diff --git a/README.md b/README.md index 5da1dbc38f76175f01a8709212fc0d1786ff1287..7253f19d8b417f936a923352f56a29ea4764bf39 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **Tags:** revision, revisions, admin **Requires at least:** 3.6 **Tested up to:** 5.7 -**Stable tag:** 1.3 +**Stable tag:** 1.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -33,8 +33,14 @@ Thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/), the plu ### Where do I change the plugin's settings? ### Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the **WP Revisions Control** section. +### How do I turn off the Gutenberg component added in version 1.4? ### +Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the **Disable Gutenberg sidebar component** in the **WP Revisions Control** section. + ## Changelog ## +### 1.4 ### +* Introduce native Gutenberg sidebar component for supported post types, along with a setting to revert to the previous metabox. + ### 1.3 ### * Add bulk actions to purge excess or all revisions. * Introduce unit tests. diff --git a/languages/wp-revisions-control.pot b/languages/wp-revisions-control.pot index 05ac70526c57e9ae7787a2c1c5e0f90eb35bc37d..4a832c4b927487ccd7fba1a1099a14f055d7138b 100644 --- a/languages/wp-revisions-control.pot +++ b/languages/wp-revisions-control.pot @@ -2,10 +2,10 @@ # This file is distributed under the same license as the WP Revisions Control package. msgid "" msgstr "" -"Project-Id-Version: WP Revisions Control 1.3\n" +"Project-Id-Version: WP Revisions Control 1.4\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/wp-revisions-control\n" -"POT-Creation-Date: 2021-03-28 06:19:35+00:00\n" +"POT-Creation-Date: 2021-03-28 07:30:21+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -45,17 +45,21 @@ msgstr "" msgid "WP Revisions Control encountered an unspecified error." msgstr "" -#: inc/class-wp-revisions-control.php:170 +#: inc/class-wp-revisions-control.php:166 +msgid "Gutenberg" +msgstr "" + +#: inc/class-wp-revisions-control.php:195 msgid "" "Set the number of revisions to save for each post type listed. To retain " "all revisions for a given post type, leave the field empty." msgstr "" -#: inc/class-wp-revisions-control.php:171 +#: inc/class-wp-revisions-control.php:196 msgid "If a post type isn't listed, revisions are not enabled for that post type." msgstr "" -#: inc/class-wp-revisions-control.php:182 +#: inc/class-wp-revisions-control.php:207 #. translators: 1. Filter tag. msgid "" "A local change is causing this plugin's functionality to run at a priority " @@ -63,64 +67,74 @@ msgid "" "please unhook any functions from the %1$s filter." msgstr "" -#: inc/class-wp-revisions-control.php:307 +#: inc/class-wp-revisions-control.php:249 +msgid "Disable Gutenberg sidebar component" +msgstr "" + +#: inc/class-wp-revisions-control.php:258 +msgid "" +"If checked, the plugin's previous interface will appear below the post " +"content in Gutenberg, rather than appearing in the sidebar." +msgstr "" + +#: inc/class-wp-revisions-control.php:383 msgid "Revisions" msgstr "" -#: inc/class-wp-revisions-control.php:340 +#: inc/class-wp-revisions-control.php:416 msgid "Processing…" msgstr "" -#: inc/class-wp-revisions-control.php:341 +#: inc/class-wp-revisions-control.php:417 msgid "Are you sure you want to remove revisions from this post?" msgstr "" -#: inc/class-wp-revisions-control.php:342 +#: inc/class-wp-revisions-control.php:418 msgid "Autosave" msgstr "" -#: inc/class-wp-revisions-control.php:343 +#: inc/class-wp-revisions-control.php:419 msgid "There are no revisions to remove." msgstr "" -#: inc/class-wp-revisions-control.php:344 +#: inc/class-wp-revisions-control.php:420 msgid "An error occurred. Please refresh the page and try again." msgstr "" -#: inc/class-wp-revisions-control.php:364 +#: inc/class-wp-revisions-control.php:440 msgid "Purge these revisions" msgstr "" -#: inc/class-wp-revisions-control.php:370 +#: inc/class-wp-revisions-control.php:446 #. translators: 1. Text input field. msgid "" "Limit this post to %1$s revisions. Leave this field blank for default " "behavior." msgstr "" -#: inc/class-wp-revisions-control.php:395 +#: inc/class-wp-revisions-control.php:471 msgid "No post ID was provided. Please refresh the page and try again." msgstr "" -#: inc/class-wp-revisions-control.php:397 +#: inc/class-wp-revisions-control.php:473 msgid "Invalid request. Please refresh the page and try again." msgstr "" -#: inc/class-wp-revisions-control.php:399 +#: inc/class-wp-revisions-control.php:475 msgid "You are not allowed to edit this post." msgstr "" -#: inc/class-wp-revisions-control.php:431 +#: inc/class-wp-revisions-control.php:507 #. translators: 1. Number of removed revisions, already formatted for locale. msgid "Removed %1$s revisions associated with this post." msgstr "" -#: inc/class-wp-revisions-control.php:457 -#: inc/class-wp-revisions-control.php:469 +#: inc/class-wp-revisions-control.php:533 +#: inc/class-wp-revisions-control.php:545 msgid "No revisions to remove." msgstr "" -#: inc/class-wp-revisions-control.php:546 +#: inc/class-wp-revisions-control.php:622 msgid "Number of revisions to retain." msgstr "" diff --git a/readme.txt b/readme.txt index 8148a2708f39d205738afec56ef0f5a07ae6f751..22de7015476f5e65550cad995e92a04e0b1e562a 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://ethitter.com/donate/ Tags: revision, revisions, admin Requires at least: 3.6 Tested up to: 5.7 -Stable tag: 1.3 +Stable tag: 1.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -33,8 +33,14 @@ Thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/), the plu = Where do I change the plugin's settings? = Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the **WP Revisions Control** section. += How do I turn off the Gutenberg component added in version 1.4? = +Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the **Disable Gutenberg sidebar component** in the **WP Revisions Control** section. + == Changelog == += 1.4 = +* Introduce native Gutenberg sidebar component for supported post types, along with a setting to revert to the previous metabox. + = 1.3 = * Add bulk actions to purge excess or all revisions. * Introduce unit tests. diff --git a/wp-revisions-control.php b/wp-revisions-control.php index 0bf1b26e5805c169f0c8325dde2a9ca10d19c0b1..c8303796eadece897ae21caeb6d20178efb83833 100644 --- a/wp-revisions-control.php +++ b/wp-revisions-control.php @@ -10,7 +10,7 @@ * Plugin URI: https://ethitter.com/plugins/wp-revisions-control/ * Description: Control how many revisions are stored for each post type * Author: Erick Hitter - * Version: 1.3 + * Version: 1.4 * Author URI: https://ethitter.com/ * Text Domain: wp_revisions_control * Domain Path: /languages/