Version Description
- Fix notice appearing on Widgets Block Editor.
Download this release
Release Info
Developer | ethitter |
Plugin | WP Revisions Control |
Version | 1.4.2 |
Comparing to | |
See all releases |
Code changes from version 1.4.1 to 1.4.2
- inc/class-block-editor.php +6 -0
- languages/wp-revisions-control.pot +2 -2
- readme.txt +7 -1
- wp-revisions-control.php +1 -1
inc/class-block-editor.php
CHANGED
@@ -149,6 +149,12 @@ class Block_Editor {
|
|
149 |
* Register Gutenberg script.
|
150 |
*/
|
151 |
public function action_enqueue_block_editor_assets() {
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
$handle = 'wp-revisions-control-block-editor';
|
153 |
$asset_data = require_once dirname( __DIR__ ) . '/assets/build/gutenberg.asset.php';
|
154 |
|
149 |
* Register Gutenberg script.
|
150 |
*/
|
151 |
public function action_enqueue_block_editor_assets() {
|
152 |
+
global $pagenow;
|
153 |
+
|
154 |
+
if ( 'widgets.php' === $pagenow ) {
|
155 |
+
return;
|
156 |
+
}
|
157 |
+
|
158 |
$handle = 'wp-revisions-control-block-editor';
|
159 |
$asset_data = require_once dirname( __DIR__ ) . '/assets/build/gutenberg.asset.php';
|
160 |
|
languages/wp-revisions-control.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the WP Revisions Control package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP Revisions Control 1.4.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/wp-revisions-control\n"
|
8 |
-
"POT-Creation-Date: 2022-06-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the WP Revisions Control package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP Revisions Control 1.4.2\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/wp-revisions-control\n"
|
8 |
+
"POT-Creation-Date: 2022-06-11 19:34:09+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://ethitter.com/donate/
|
|
4 |
Tags: revision, revisions, admin
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -35,6 +35,9 @@ Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
38 |
= 1.4.1 =
|
39 |
* Update translation text domain to `wp-revisions-control`, conforming to WordPress standards.
|
40 |
* Add Polish translation thanks to [Maciej Gryniuk](https://github.com/odie2).
|
@@ -58,6 +61,9 @@ Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the
|
|
58 |
|
59 |
== Upgrade Notice ==
|
60 |
|
|
|
|
|
|
|
61 |
= 1.4.1 =
|
62 |
Updates translation text domain to `wp-revisions-control`, conforming to WordPress standards.
|
63 |
|
4 |
Tags: revision, revisions, admin
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 1.4.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 1.4.2 =
|
39 |
+
* Fix notice appearing on Widgets Block Editor.
|
40 |
+
|
41 |
= 1.4.1 =
|
42 |
* Update translation text domain to `wp-revisions-control`, conforming to WordPress standards.
|
43 |
* Add Polish translation thanks to [Maciej Gryniuk](https://github.com/odie2).
|
61 |
|
62 |
== Upgrade Notice ==
|
63 |
|
64 |
+
= 1.4.2 =
|
65 |
+
Fixes notice appearing on Widgets Block Editor.
|
66 |
+
|
67 |
= 1.4.1 =
|
68 |
Updates translation text domain to `wp-revisions-control`, conforming to WordPress standards.
|
69 |
|
wp-revisions-control.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://ethitter.com/plugins/wp-revisions-control/
|
5 |
* Description: Control how many revisions are stored for each post type
|
6 |
* Author: Erick Hitter
|
7 |
-
* Version: 1.4.
|
8 |
* Author URI: https://ethitter.com/
|
9 |
* Text Domain: wp-revisions-control
|
10 |
* Domain Path: /languages/
|
4 |
* Plugin URI: https://ethitter.com/plugins/wp-revisions-control/
|
5 |
* Description: Control how many revisions are stored for each post type
|
6 |
* Author: Erick Hitter
|
7 |
+
* Version: 1.4.2
|
8 |
* Author URI: https://ethitter.com/
|
9 |
* Text Domain: wp-revisions-control
|
10 |
* Domain Path: /languages/
|