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.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.8.1
- disable-gutenberg.php +3 -3
- inc/plugin-frontend.php +1 -1
- readme.txt +7 -2
disable-gutenberg.php
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.2
|
13 |
-
Stable tag: 1.8
|
14 |
-
Version: 1.8
|
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', '1.8');
|
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'));
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.2
|
13 |
+
Stable tag: 1.8.1
|
14 |
+
Version: 1.8.1
|
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', '1.8.1');
|
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/plugin-frontend.php
CHANGED
@@ -4,7 +4,7 @@ function disable_gutenberg_wp_enqueue_scripts() {
|
|
4 |
|
5 |
global $wp_query;
|
6 |
|
7 |
-
$post_id = $wp_query->post->ID;
|
8 |
|
9 |
$options = get_option('disable_gutenberg_options');
|
10 |
|
4 |
|
5 |
global $wp_query;
|
6 |
|
7 |
+
$post_id = isset($wp_query->post->ID) ? $wp_query->post->ID : null;
|
8 |
|
9 |
$options = get_option('disable_gutenberg_options');
|
10 |
|
readme.txt
CHANGED
@@ -10,8 +10,8 @@ Donate link: https://monzillamedia.com/donate.html
|
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.2
|
13 |
-
Stable tag: 1.8
|
14 |
-
Version: 1.8
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -290,6 +290,11 @@ Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-sta
|
|
290 |
Version 1.5 brings some great new features and improvements. Note that better Multisite support is being developed for a future release. 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 |
**1.8 (2019/04/28)**
|
294 |
|
295 |
* Bumps [minimum PHP version](https://codex.wordpress.org/Template:Server_requirements) to 5.6.20
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
Tested up to: 5.2
|
13 |
+
Stable tag: 1.8.1
|
14 |
+
Version: 1.8.1
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
290 |
Version 1.5 brings some great new features and improvements. Note that better Multisite support is being developed for a future release. 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 |
+
**1.8.1 (2019/04/29)**
|
294 |
+
|
295 |
+
* Fixes PHP Notice: "Trying to get property ID of non-object"
|
296 |
+
* Tests on WordPress 5.2
|
297 |
+
|
298 |
**1.8 (2019/04/28)**
|
299 |
|
300 |
* Bumps [minimum PHP version](https://codex.wordpress.org/Template:Server_requirements) to 5.6.20
|