Version Description
To upgrade this plugin, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings and data from the WP database.
Download this release
Release Info
Developer | specialk |
Plugin | Disable Gutenberg |
Version | 2.2 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.2
- disable-gutenberg.php +4 -4
- inc/resources-enqueue.php +12 -3
- readme.txt +20 -8
disable-gutenberg.php
CHANGED
@@ -9,9 +9,9 @@
|
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
-
Tested up to: 5.
|
13 |
-
Stable tag: 2.
|
14 |
-
Version: 2.
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -69,7 +69,7 @@ if (!class_exists('DisableGutenberg')) {
|
|
69 |
|
70 |
function constants() {
|
71 |
|
72 |
-
if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '2.
|
73 |
if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9');
|
74 |
if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr');
|
75 |
if (!defined('DISABLE_GUTENBERG_NAME')) define('DISABLE_GUTENBERG_NAME', __('Disable Gutenberg', 'disable-gutenberg'));
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
+
Tested up to: 5.5
|
13 |
+
Stable tag: 2.2
|
14 |
+
Version: 2.2
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
69 |
|
70 |
function constants() {
|
71 |
|
72 |
+
if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '2.2');
|
73 |
if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.9');
|
74 |
if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr');
|
75 |
if (!defined('DISABLE_GUTENBERG_NAME')) define('DISABLE_GUTENBERG_NAME', __('Disable Gutenberg', 'disable-gutenberg'));
|
inc/resources-enqueue.php
CHANGED
@@ -26,7 +26,15 @@ function disable_gutenberg_admin_enqueue_scripts() {
|
|
26 |
|
27 |
}
|
28 |
|
29 |
-
function disable_gutenberg_admin_print_scripts() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
<script type="text/javascript">
|
32 |
var
|
@@ -36,5 +44,6 @@ function disable_gutenberg_admin_print_scripts() { ?>
|
|
36 |
alert_reset_options_false = '<?php _e('No, abort mission.', 'disable-gutenberg'); ?>';
|
37 |
</script>
|
38 |
|
39 |
-
<?php
|
40 |
-
|
|
26 |
|
27 |
}
|
28 |
|
29 |
+
function disable_gutenberg_admin_print_scripts() {
|
30 |
+
|
31 |
+
$screen = get_current_screen();
|
32 |
+
|
33 |
+
if (!is_object($screen)) $screen = new stdClass();
|
34 |
+
|
35 |
+
if (!property_exists($screen, 'id')) return;
|
36 |
+
|
37 |
+
if ($screen->id === 'settings_page_disable-gutenberg') : ?>
|
38 |
|
39 |
<script type="text/javascript">
|
40 |
var
|
44 |
alert_reset_options_false = '<?php _e('No, abort mission.', 'disable-gutenberg'); ?>';
|
45 |
</script>
|
46 |
|
47 |
+
<?php endif;
|
48 |
+
|
49 |
+
}
|
readme.txt
CHANGED
@@ -9,9 +9,9 @@ Author URI: https://plugin-planet.com/
|
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
-
Tested up to: 5.
|
13 |
-
Stable tag: 2.
|
14 |
-
Version: 2.
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -26,8 +26,8 @@ Disable Gutenberg Block Editor and restore the Classic Editor and original Edit
|
|
26 |
This plugin disables the new Gutenberg Editor (aka Block Editor) and replaces it with the Classic Editor. You can disable Gutenberg completely, or selectively disable for posts, pages, roles, post types, and theme templates. Plus you can hide the Gutenberg nag, menu item, and more!
|
27 |
|
28 |
> The all-in-one, COMPLETE solution for handling Gutenberg.
|
29 |
-
> Hide ALL traces of Gutenberg and replace with
|
30 |
-
> Restores
|
31 |
|
32 |
The Disable Gutenberg plugin restores the classic (original) WordPress editor and the "Edit Post" screen. So you can continue using plugins and theme functions that extend the Classic Editor. Supports awesome features like Meta Boxes, Quicktags, Custom Fields, and everything else the Classic Editor can do.
|
33 |
|
@@ -56,7 +56,7 @@ Just activate and done! The default plugin settings are configured to hide all t
|
|
56 |
* NEW! Whitelist any post title, slug, or ID
|
57 |
* NEW! Option to disables frontend Gutenberg stylesheet
|
58 |
|
59 |
-
> Works same
|
60 |
> Lightweight and super fast, built with the WP API :)
|
61 |
|
62 |
Fully configurable, enable or disable Gutenberg and restore the Classic Editor wherever is necessary.
|
@@ -112,7 +112,7 @@ __If you like this plugin, please give it a [5-star rating](https://wordpress.or
|
|
112 |
2. Configure the plugin settings as desired
|
113 |
3. Enable theme switcher via settings or shortcode
|
114 |
|
115 |
-
[More info on installing WP plugins](https://
|
116 |
|
117 |
|
118 |
**Settings**
|
@@ -221,7 +221,7 @@ Bottom line: both Disable Gutenberg and Classic Editor plugins are lightweight a
|
|
221 |
Yes, you can install and activate Disable Gutenberg on any supported WordPress version (see Docs/readme.txt for details). If installed on WP versions less than 5.0 without the Gutenberg plugin active, the Disable Gutenberg plugin simply won't do anything (but you can still configure settings, etc.).
|
222 |
|
223 |
|
224 |
-
**Can I use
|
225 |
|
226 |
Yes, if both plugins are active at the same time, Disable Gutenberg gives priority to Classic Editor plugin. So if you want to use Disable Gutenberg, deactivate the Classic Editor plugin (you do not have to remove it, just deactivate via the Plugins screen).
|
227 |
|
@@ -256,6 +256,11 @@ In previous versions the default was to show the Gutenberg Editor links. In 1.5.
|
|
256 |
Either route will get you there.
|
257 |
|
258 |
|
|
|
|
|
|
|
|
|
|
|
259 |
**Got a question?**
|
260 |
|
261 |
Send any questions or feedback via my [contact form](https://perishablepress.com/contact/)
|
@@ -290,6 +295,13 @@ Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-sta
|
|
290 |
If you have any feedback or suggestions to make this plugin the absolute best it can be, and/or would like to help with development, please reach me via my [contact form](https://perishablepress.com/contact/) at Perishable Press.
|
291 |
|
292 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
**2.1 (2020/03/13)**
|
294 |
|
295 |
* Bumps version number
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
+
Tested up to: 5.5
|
13 |
+
Stable tag: 2.2
|
14 |
+
Version: 2.2
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
26 |
This plugin disables the new Gutenberg Editor (aka Block Editor) and replaces it with the Classic Editor. You can disable Gutenberg completely, or selectively disable for posts, pages, roles, post types, and theme templates. Plus you can hide the Gutenberg nag, menu item, and more!
|
27 |
|
28 |
> The all-in-one, COMPLETE solution for handling Gutenberg.
|
29 |
+
> Hide ALL traces of Gutenberg and replace with Classic Editor.
|
30 |
+
> Restores original Edit Post screen (TinyMCE, meta boxes, etc.).
|
31 |
|
32 |
The Disable Gutenberg plugin restores the classic (original) WordPress editor and the "Edit Post" screen. So you can continue using plugins and theme functions that extend the Classic Editor. Supports awesome features like Meta Boxes, Quicktags, Custom Fields, and everything else the Classic Editor can do.
|
33 |
|
56 |
* NEW! Whitelist any post title, slug, or ID
|
57 |
* NEW! Option to disables frontend Gutenberg stylesheet
|
58 |
|
59 |
+
> Works same as Classic Editor plugin, but can do a LOT more!
|
60 |
> Lightweight and super fast, built with the WP API :)
|
61 |
|
62 |
Fully configurable, enable or disable Gutenberg and restore the Classic Editor wherever is necessary.
|
112 |
2. Configure the plugin settings as desired
|
113 |
3. Enable theme switcher via settings or shortcode
|
114 |
|
115 |
+
[More info on installing WP plugins](https://wordpress.org/support/article/managing-plugins/#installing-plugins)
|
116 |
|
117 |
|
118 |
**Settings**
|
221 |
Yes, you can install and activate Disable Gutenberg on any supported WordPress version (see Docs/readme.txt for details). If installed on WP versions less than 5.0 without the Gutenberg plugin active, the Disable Gutenberg plugin simply won't do anything (but you can still configure settings, etc.).
|
222 |
|
223 |
|
224 |
+
**Can I use this plugin and Classic Editor at the same time?**
|
225 |
|
226 |
Yes, if both plugins are active at the same time, Disable Gutenberg gives priority to Classic Editor plugin. So if you want to use Disable Gutenberg, deactivate the Classic Editor plugin (you do not have to remove it, just deactivate via the Plugins screen).
|
227 |
|
256 |
Either route will get you there.
|
257 |
|
258 |
|
259 |
+
**How to disable default Gutenberg frontend styles?**
|
260 |
+
|
261 |
+
The default Gutenberg/Block styles are disabled by default when DG plugin is active. To enable/disable the styles, visit the plugin setting, "Enable Frontend".
|
262 |
+
|
263 |
+
|
264 |
**Got a question?**
|
265 |
|
266 |
Send any questions or feedback via my [contact form](https://perishablepress.com/contact/)
|
295 |
If you have any feedback or suggestions to make this plugin the absolute best it can be, and/or would like to help with development, please reach me via my [contact form](https://perishablepress.com/contact/) at Perishable Press.
|
296 |
|
297 |
|
298 |
+
**2.2 (2020/08/02)**
|
299 |
+
|
300 |
+
* Improves targeted loading of plugin scripts
|
301 |
+
* Refines plugin setting page styles
|
302 |
+
* Refines readme/documentation
|
303 |
+
* Tests on WordPress 5.5
|
304 |
+
|
305 |
**2.1 (2020/03/13)**
|
306 |
|
307 |
* Bumps version number
|