From ff243917ea80d6caed5eedc430f18b8bb4ce37a4 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 5 Jun 2022 16:19:57 -0700 Subject: [PATCH] Restore screenshot URLs to README.md Requires manual configuration, due to https://github.com/stephenharris/wp-readme-to-markdown/issues/14. --- Gruntfile.js | 4 ++++ README.md | 12 +++++++++--- languages/wp-revisions-control.pot | 4 ++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ab26eb2..6bdedad 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -30,6 +30,10 @@ module.exports = function ( grunt ) { 'README.md': 'readme.txt', }, }, + options: { + screenshot_url: + 'https://git-cdn.e15r.co/wp-plugins/wp-revisions-control/-/raw/master/.wordpress-org/{screenshot}.png', + }, }, makepot: { diff --git a/README.md b/README.md index 6372942..710e98b 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,12 @@ For any post type that supports revisions, you can now limit the number of revis ## Screenshots ## -1. The plugin's settings section, found under **Settings > Writing**. -2. The post-level controls for the Classic Editor provided in version 1.2. -3. The post-level controls for the Block Editor provided in version 1.4. +### 1. The plugin's settings section, found under **Settings > Writing**. ### + + +### 2. The post-level controls for the Classic Editor provided in version 1.2. ### + + +### 3. The post-level controls for the Block Editor provided in version 1.4. ### + + diff --git a/languages/wp-revisions-control.pot b/languages/wp-revisions-control.pot index 4a40dbd..f49d8ed 100644 --- a/languages/wp-revisions-control.pot +++ b/languages/wp-revisions-control.pot @@ -5,7 +5,7 @@ msgstr "" "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: 2022-06-05 22:50:30+00:00\n" +"POT-Creation-Date: 2022-06-05 23:17:47+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -25,7 +25,7 @@ msgstr "" "X-Textdomain-Support: yes\n" "X-Generator: grunt-wp-i18n 1.0.3\n" -#: inc/class-block-editor.php:71 +#: inc/class-block-editor.php:58 msgid "Number of revisions to retain." msgstr "" -- GitLab