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 | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.3.1
- disable-gutenberg.php +18 -18
- inc/plugin-core.php +3 -0
- readme.txt +8 -4
disable-gutenberg.php
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.5
|
12 |
Tested up to: 5.0
|
13 |
-
Stable tag: 1.3
|
14 |
-
Version: 1.3
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -51,21 +51,21 @@ if (!class_exists('DisableGutenberg')) {
|
|
51 |
add_filter('plugin_action_links', array($this, 'action_links'), 10, 2);
|
52 |
add_filter('plugin_row_meta', array($this, 'plugin_links'), 10, 2);
|
53 |
|
54 |
-
add_filter('page_row_actions', 'disable_gutenberg_page_row_actions', 15, 2);
|
55 |
-
add_filter('post_row_actions', 'disable_gutenberg_page_row_actions', 15, 2);
|
56 |
-
add_filter('get_edit_post_link', 'disable_gutenberg_get_edit_post_link');
|
57 |
-
add_filter('redirect_post_location', 'disable_gutenberg_redirect_post_location');
|
58 |
-
add_action('edit_form_top', 'disable_gutenberg_edit_form_top');
|
59 |
-
|
60 |
-
|
61 |
-
add_action('
|
62 |
-
add_action('
|
63 |
-
add_action('
|
64 |
-
add_action('admin_init',
|
65 |
-
add_action('
|
66 |
-
add_action('admin_menu',
|
67 |
-
add_action('admin_menu',
|
68 |
-
add_filter('admin_init',
|
69 |
|
70 |
add_filter('use_block_editor_for_post_type', 'disable_gutenberg_init', 10, 2);
|
71 |
|
@@ -73,7 +73,7 @@ if (!class_exists('DisableGutenberg')) {
|
|
73 |
|
74 |
function constants() {
|
75 |
|
76 |
-
if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '1.3');
|
77 |
if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.5');
|
78 |
if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr');
|
79 |
if (!defined('DISABLE_GUTENBERG_NAME')) define('DISABLE_GUTENBERG_NAME', __('Disable Gutenberg', 'disable-gutenberg'));
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.5
|
12 |
Tested up to: 5.0
|
13 |
+
Stable tag: 1.3.1
|
14 |
+
Version: 1.3.1
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
51 |
add_filter('plugin_action_links', array($this, 'action_links'), 10, 2);
|
52 |
add_filter('plugin_row_meta', array($this, 'plugin_links'), 10, 2);
|
53 |
|
54 |
+
// add_filter('page_row_actions', 'disable_gutenberg_page_row_actions', 15, 2);
|
55 |
+
// add_filter('post_row_actions', 'disable_gutenberg_page_row_actions', 15, 2);
|
56 |
+
// add_filter('get_edit_post_link', 'disable_gutenberg_get_edit_post_link');
|
57 |
+
// add_filter('redirect_post_location', 'disable_gutenberg_redirect_post_location');
|
58 |
+
// add_action('edit_form_top', 'disable_gutenberg_edit_form_top');
|
59 |
+
// add_action('admin_menu', 'disable_gutenberg_add_submenus');
|
60 |
+
|
61 |
+
add_action('admin_enqueue_scripts', 'disable_gutenberg_enqueue_resources_admin');
|
62 |
+
add_action('admin_print_scripts', 'disable_gutenberg_print_js_vars_admin');
|
63 |
+
add_action('admin_notices', 'disable_gutenberg_admin_notice');
|
64 |
+
add_action('admin_init', 'disable_gutenberg_register_settings');
|
65 |
+
add_action('admin_init', 'disable_gutenberg_reset_options');
|
66 |
+
add_action('admin_menu', 'disable_gutenberg_menu_pages');
|
67 |
+
add_action('admin_menu', 'disable_gutenberg_menu_items', 999);
|
68 |
+
add_filter('admin_init', 'disable_gutenberg_disable_nag');
|
69 |
|
70 |
add_filter('use_block_editor_for_post_type', 'disable_gutenberg_init', 10, 2);
|
71 |
|
73 |
|
74 |
function constants() {
|
75 |
|
76 |
+
if (!defined('DISABLE_GUTENBERG_VERSION')) define('DISABLE_GUTENBERG_VERSION', '1.3.1');
|
77 |
if (!defined('DISABLE_GUTENBERG_REQUIRE')) define('DISABLE_GUTENBERG_REQUIRE', '4.5');
|
78 |
if (!defined('DISABLE_GUTENBERG_AUTHOR')) define('DISABLE_GUTENBERG_AUTHOR', 'Jeff Starr');
|
79 |
if (!defined('DISABLE_GUTENBERG_NAME')) define('DISABLE_GUTENBERG_NAME', __('Disable Gutenberg', 'disable-gutenberg'));
|
inc/plugin-core.php
CHANGED
@@ -276,7 +276,10 @@ function disable_gutenberg_post_or_page() {
|
|
276 |
|
277 |
}
|
278 |
|
|
|
|
|
279 |
// THANKS to Classic Editor for next several functions
|
|
|
280 |
|
281 |
function disable_gutenberg_add_submenus() {
|
282 |
|
276 |
|
277 |
}
|
278 |
|
279 |
+
|
280 |
+
|
281 |
// THANKS to Classic Editor for next several functions
|
282 |
+
// NOTE: these functions are disabled until further notice
|
283 |
|
284 |
function disable_gutenberg_add_submenus() {
|
285 |
|
readme.txt
CHANGED
@@ -10,8 +10,8 @@ Donate link: https://monzillamedia.com/donate.html
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.5
|
12 |
Tested up to: 5.0
|
13 |
-
Stable tag: 1.3
|
14 |
-
Version: 1.3
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -41,8 +41,6 @@ The Disable Gutenberg plugin restores the classic (original) WordPress editor an
|
|
41 |
* Disable Gutenberg admin notice (nag)
|
42 |
* Option to hide the plugin menu item
|
43 |
* Option to hide the Gutenberg plugin menu item (settings link)
|
44 |
-
* NEW! Adds WP menu item: "Add New (Classic)"
|
45 |
-
* NEW! Adds post link to "Edit (Classic)"
|
46 |
|
47 |
> Works same way as Classic Editor plugin, but can do a LOT more!
|
48 |
> Lightweight and super fast, built with the WP API :)
|
@@ -193,6 +191,12 @@ Links, tweets and likes also appreciated. Thanks! :)
|
|
193 |
|
194 |
== Changelog ==
|
195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
**1.3 (2018/10/27)**
|
197 |
|
198 |
* Refactored for WordPress 5.0 (Gutenberg merged into core)
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.5
|
12 |
Tested up to: 5.0
|
13 |
+
Stable tag: 1.3.1
|
14 |
+
Version: 1.3.1
|
15 |
Requires PHP: 5.2
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
41 |
* Disable Gutenberg admin notice (nag)
|
42 |
* Option to hide the plugin menu item
|
43 |
* Option to hide the Gutenberg plugin menu item (settings link)
|
|
|
|
|
44 |
|
45 |
> Works same way as Classic Editor plugin, but can do a LOT more!
|
46 |
> Lightweight and super fast, built with the WP API :)
|
191 |
|
192 |
== Changelog ==
|
193 |
|
194 |
+
**1.3.1 (2018/10/29)**
|
195 |
+
|
196 |
+
* Rolls back new "Edit Classic" feature introduced in 1.3
|
197 |
+
* Further tests on WP 5.0 beta
|
198 |
+
|
199 |
+
|
200 |
**1.3 (2018/10/27)**
|
201 |
|
202 |
* Refactored for WordPress 5.0 (Gutenberg merged into core)
|