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.0 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 2.0
- css/settings.css +6 -5
- disable-gutenberg.php +5 -8
- inc/plugin-core.php +13 -3
- inc/plugin-features.php +10 -4
- inc/plugin-frontend.php +3 -1
- inc/settings-register.php +1 -1
- languages/disable-gutenberg.pot +59 -57
- readme.txt +12 -4
css/settings.css
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
/* Plugin Settings */
|
2 |
|
3 |
.wp-admin .disable-gutenberg-version { display: inline-block; margin-left: 3px; color: #c7c7c7; font-size: 80%; text-shadow: 1px 1px 1px rgba(255,255,255,0.5); }
|
4 |
-
.wp-admin form h2 { margin-top:
|
5 |
-
|
6 |
-
.wp-admin
|
7 |
-
.wp-admin
|
|
|
8 |
|
9 |
.ui-dialog .ui-dialog-buttonpane, .ui-dialog .ui-dialog-titlebar, .ui-dialog .plugin-modal-dialog { text-align: center; }
|
10 |
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; }
|
11 |
.ui-dialog .ui-dialog-buttonpane .ui-button { margin: 0; }
|
12 |
-
.ui-dialog .ui-dialog-buttonpane .ui-button:first-child { margin-right: 15px; }
|
1 |
/* Plugin Settings */
|
2 |
|
3 |
.wp-admin .disable-gutenberg-version { display: inline-block; margin-left: 3px; color: #c7c7c7; font-size: 80%; text-shadow: 1px 1px 1px rgba(255,255,255,0.5); }
|
4 |
+
.wp-admin form h2 { margin-top: 25px; }
|
5 |
+
|
6 |
+
.wp-admin label { display: block; margin: 3px 0 0 3px; color: #777; font-size: 13px; font-style: italic; }
|
7 |
+
.wp-admin .inline-block { display: inline-block; margin: 0; }
|
8 |
+
.wp-admin input[type=checkbox] { margin-top: -1px; }
|
9 |
|
10 |
.ui-dialog .ui-dialog-buttonpane, .ui-dialog .ui-dialog-titlebar, .ui-dialog .plugin-modal-dialog { text-align: center; }
|
11 |
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; }
|
12 |
.ui-dialog .ui-dialog-buttonpane .ui-button { margin: 0; }
|
13 |
+
.ui-dialog .ui-dialog-buttonpane .ui-button:first-child { margin-right: 15px; }
|
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:
|
14 |
-
Version:
|
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', '
|
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'));
|
@@ -85,6 +85,7 @@ if (!class_exists('DisableGutenberg')) {
|
|
85 |
|
86 |
require_once DISABLE_GUTENBERG_DIR .'inc/classic-editor.php';
|
87 |
require_once DISABLE_GUTENBERG_DIR .'inc/plugin-core.php';
|
|
|
88 |
|
89 |
if (is_admin()) {
|
90 |
|
@@ -99,10 +100,6 @@ if (!class_exists('DisableGutenberg')) {
|
|
99 |
|
100 |
}
|
101 |
|
102 |
-
} else {
|
103 |
-
|
104 |
-
require_once DISABLE_GUTENBERG_DIR .'inc/plugin-frontend.php';
|
105 |
-
|
106 |
}
|
107 |
|
108 |
}
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
+
Tested up to: 5.3
|
13 |
+
Stable tag: 2.0
|
14 |
+
Version: 2.0
|
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.0');
|
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'));
|
85 |
|
86 |
require_once DISABLE_GUTENBERG_DIR .'inc/classic-editor.php';
|
87 |
require_once DISABLE_GUTENBERG_DIR .'inc/plugin-core.php';
|
88 |
+
require_once DISABLE_GUTENBERG_DIR .'inc/plugin-frontend.php';
|
89 |
|
90 |
if (is_admin()) {
|
91 |
|
100 |
|
101 |
}
|
102 |
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
|
105 |
}
|
inc/plugin-core.php
CHANGED
@@ -212,12 +212,14 @@ function disable_gutenberg_disable_templates() {
|
|
212 |
|
213 |
$excluded = array();
|
214 |
|
215 |
-
$template = '';
|
216 |
-
|
217 |
$disable = false;
|
218 |
|
|
|
|
|
219 |
$post_id = isset($_GET['post']) ? intval($_GET['post']) : null;
|
220 |
|
|
|
|
|
221 |
if (is_admin() && !empty($post_id)) {
|
222 |
|
223 |
$options = disable_gutenberg_get_options();
|
@@ -226,7 +228,15 @@ function disable_gutenberg_disable_templates() {
|
|
226 |
|
227 |
$excluded = array_map('trim', explode(',', $excluded));
|
228 |
|
229 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
231 |
}
|
232 |
|
212 |
|
213 |
$excluded = array();
|
214 |
|
|
|
|
|
215 |
$disable = false;
|
216 |
|
217 |
+
$template = null;
|
218 |
+
|
219 |
$post_id = isset($_GET['post']) ? intval($_GET['post']) : null;
|
220 |
|
221 |
+
$post_id = (empty($post_id) && isset($_POST['post_ID'])) ? $_POST['post_ID'] : $post_id;
|
222 |
+
|
223 |
if (is_admin() && !empty($post_id)) {
|
224 |
|
225 |
$options = disable_gutenberg_get_options();
|
228 |
|
229 |
$excluded = array_map('trim', explode(',', $excluded));
|
230 |
|
231 |
+
if (isset($_POST) && !empty($_POST)) {
|
232 |
+
|
233 |
+
$template = isset($_POST['page_template']) ? $_POST['page_template'] : null;
|
234 |
+
|
235 |
+
} else {
|
236 |
+
|
237 |
+
$template = get_page_template_slug($post_id);
|
238 |
+
|
239 |
+
}
|
240 |
|
241 |
}
|
242 |
|
inc/plugin-features.php
CHANGED
@@ -138,11 +138,17 @@ add_filter('get_edit_post_link', 'disable_gutenberg_get_edit_post_link');
|
|
138 |
|
139 |
function disable_gutenberg_redirect_post_location($location) {
|
140 |
|
141 |
-
if (!isset($_REQUEST['classic-editor']) && !disable_gutenberg()) return $location;
|
142 |
-
|
143 |
if (isset($_REQUEST['classic-editor']) || (isset($_POST['_wp_http_referer']) && strpos($_POST['_wp_http_referer'], '&classic-editor') !== false)) {
|
144 |
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
|
147 |
}
|
148 |
|
@@ -176,4 +182,4 @@ function disable_gutenberg_enable_features() {
|
|
176 |
|
177 |
return $enable;
|
178 |
|
179 |
-
}
|
138 |
|
139 |
function disable_gutenberg_redirect_post_location($location) {
|
140 |
|
|
|
|
|
141 |
if (isset($_REQUEST['classic-editor']) || (isset($_POST['_wp_http_referer']) && strpos($_POST['_wp_http_referer'], '&classic-editor') !== false)) {
|
142 |
|
143 |
+
if (disable_gutenberg()) {
|
144 |
+
|
145 |
+
$location = add_query_arg('classic-editor', '', $location);
|
146 |
+
|
147 |
+
} else {
|
148 |
+
|
149 |
+
$location = remove_query_arg('classic-editor', $location);
|
150 |
+
|
151 |
+
}
|
152 |
|
153 |
}
|
154 |
|
182 |
|
183 |
return $enable;
|
184 |
|
185 |
+
}
|
inc/plugin-frontend.php
CHANGED
@@ -4,6 +4,8 @@ function disable_gutenberg_wp_enqueue_scripts() {
|
|
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');
|
@@ -17,4 +19,4 @@ function disable_gutenberg_wp_enqueue_scripts() {
|
|
17 |
|
18 |
}
|
19 |
|
20 |
-
}
|
4 |
|
5 |
global $wp_query;
|
6 |
|
7 |
+
if (is_admin()) return;
|
8 |
+
|
9 |
$post_id = isset($wp_query->post->ID) ? $wp_query->post->ID : null;
|
10 |
|
11 |
$options = get_option('disable_gutenberg_options');
|
19 |
|
20 |
}
|
21 |
|
22 |
+
}
|
inc/settings-register.php
CHANGED
@@ -141,7 +141,7 @@ function disable_gutenberg_settings_section_3() {
|
|
141 |
|
142 |
function disable_gutenberg_settings_section_4() {
|
143 |
|
144 |
-
echo '<p>'. esc_html__('Select the theme template files for which Gutenberg should be disabled.', 'disable-gutenberg') .'</p>';
|
145 |
|
146 |
}
|
147 |
|
141 |
|
142 |
function disable_gutenberg_settings_section_4() {
|
143 |
|
144 |
+
echo '<p>'. esc_html__('Select the theme template files for which Gutenberg should be disabled (e.g., custom-page.php).', 'disable-gutenberg') .'</p>';
|
145 |
|
146 |
}
|
147 |
|
languages/disable-gutenberg.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Disable Gutenberg\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2019-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -19,47 +19,47 @@ msgstr ""
|
|
19 |
msgid "Disable Gutenberg"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: disable-gutenberg.php:
|
23 |
msgid "Settings"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: disable-gutenberg.php:
|
27 |
msgid "Plugin Homepage"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: disable-gutenberg.php:
|
31 |
msgid "Homepage"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: disable-gutenberg.php:
|
35 |
msgid "Click here to rate and review this plugin on WordPress.org"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: disable-gutenberg.php:
|
39 |
msgid "Rate this plugin"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: disable-gutenberg.php:
|
43 |
msgid "requires WordPress "
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: disable-gutenberg.php:
|
47 |
msgid " or higher, and has been deactivated! "
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: disable-gutenberg.php:
|
51 |
msgid "Please return to the"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: disable-gutenberg.php:
|
55 |
msgid "WP Admin Area"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: disable-gutenberg.php:
|
59 |
msgid "to upgrade WordPress and try again."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: disable-gutenberg.php:
|
63 |
msgid "Sorry, pal!"
|
64 |
msgstr ""
|
65 |
|
@@ -109,185 +109,187 @@ msgstr ""
|
|
109 |
msgid "No, abort mission."
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: inc/settings-register.php:
|
113 |
msgid "Complete Disable"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: inc/settings-register.php:
|
117 |
msgid "Disable Gutenberg everywhere"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: inc/settings-register.php:
|
121 |
msgid "Disable for"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: inc/settings-register.php:
|
125 |
msgid "User Role ="
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: inc/settings-register.php:
|
129 |
msgid "Post Type ="
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: inc/settings-register.php:
|
133 |
msgid "Disable Templates"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: inc/settings-register.php:
|
137 |
msgid "Separate multiple templates with commas"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: inc/settings-register.php:
|
141 |
msgid "Disable Post IDs"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: inc/settings-register.php:
|
145 |
msgid "Separate multiple post IDs with commas"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: inc/settings-register.php:
|
149 |
msgid "Whitelist Post IDs"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: inc/settings-register.php:
|
153 |
msgid "Post IDs that always should use the Block Editor"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: inc/settings-register.php:
|
157 |
msgid "Whitelist Post Slugs"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: inc/settings-register.php:
|
161 |
msgid "Post slugs that always should use the Block Editor"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: inc/settings-register.php:
|
165 |
msgid "Whitelist Post Titles"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: inc/settings-register.php:
|
169 |
msgid "Post titles that always should use the Block Editor"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: inc/settings-register.php:
|
173 |
msgid "Disable Nag"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: inc/settings-register.php:
|
177 |
msgid "Disable \"Try Gutenberg\" nag"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: inc/settings-register.php:
|
181 |
msgid "Enable Frontend"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: inc/settings-register.php:
|
185 |
msgid "Enable frontend Gutenberg styles"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: inc/settings-register.php:
|
189 |
msgid "Whitelist Options"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: inc/settings-register.php:
|
193 |
msgid "Display Whitelist settings"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: inc/settings-register.php:
|
197 |
msgid "Plugin Menu Item"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: inc/settings-register.php:
|
201 |
msgid "Hide this plugin’s menu item"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: inc/settings-register.php:
|
205 |
msgid "Gutenberg Menu Item"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: inc/settings-register.php:
|
209 |
msgid "Hide Gutenberg plugin’s menu item (for WP < 5.0)"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: inc/settings-register.php:
|
213 |
msgid "Display Edit Links"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: inc/settings-register.php:
|
217 |
msgid "Display \"Add New (Classic)\" menu link and Classic/Block edit links"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: inc/settings-register.php:
|
221 |
msgid "ACF Support"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: inc/settings-register.php:
|
225 |
msgid "Enable Custom Fields Meta Box (ACF disables by default),"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: inc/settings-register.php:
|
229 |
msgid "learn more"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: inc/settings-register.php:
|
233 |
msgid "Reset Options"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: inc/settings-register.php:
|
237 |
msgid "Restore default plugin options"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: inc/settings-register.php:
|
241 |
msgid "Rate Plugin"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: inc/settings-register.php:
|
245 |
msgid "Show support with a 5-star rating »"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: inc/settings-register.php:
|
249 |
msgid ""
|
250 |
"Enable this setting to completely disable Gutenberg (and restore the Classic "
|
251 |
"Editor). Or, disable this setting to display more options."
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: inc/settings-register.php:
|
255 |
msgid "Select the user roles for which Gutenberg should be disabled."
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: inc/settings-register.php:
|
259 |
msgid "Select the post types for which Gutenberg should be disabled."
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: inc/settings-register.php:
|
263 |
-
msgid "
|
|
|
|
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: inc/settings-register.php:
|
267 |
msgid "Select the post IDs for which Gutenberg should be disabled."
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: inc/settings-register.php:
|
271 |
msgid ""
|
272 |
"Select the posts that always should use the Gutenberg Block Editor. Separate "
|
273 |
"multiple values with commas."
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: inc/settings-register.php:
|
277 |
msgid "Toggle More Tools"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: inc/settings-register.php:
|
281 |
msgid "Click here"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: inc/settings-register.php:
|
285 |
msgid ""
|
286 |
"to display more tools and options. Note: these options remain in effect even "
|
287 |
"when hidden on this page."
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: inc/settings-register.php:
|
291 |
msgid "Please give a 5-star rating! A huge THANK YOU for your support!"
|
292 |
msgstr ""
|
293 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Disable Gutenberg\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2019-10-26 20:29+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
19 |
msgid "Disable Gutenberg"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: disable-gutenberg.php:155
|
23 |
msgid "Settings"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: disable-gutenberg.php:170
|
27 |
msgid "Plugin Homepage"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: disable-gutenberg.php:171
|
31 |
msgid "Homepage"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: disable-gutenberg.php:176
|
35 |
msgid "Click here to rate and review this plugin on WordPress.org"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: disable-gutenberg.php:177
|
39 |
msgid "Rate this plugin"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: disable-gutenberg.php:199
|
43 |
msgid "requires WordPress "
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: disable-gutenberg.php:200
|
47 |
msgid " or higher, and has been deactivated! "
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: disable-gutenberg.php:201
|
51 |
msgid "Please return to the"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: disable-gutenberg.php:202
|
55 |
msgid "WP Admin Area"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: disable-gutenberg.php:202
|
59 |
msgid "to upgrade WordPress and try again."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: disable-gutenberg.php:222 disable-gutenberg.php:228
|
63 |
msgid "Sorry, pal!"
|
64 |
msgstr ""
|
65 |
|
109 |
msgid "No, abort mission."
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: inc/settings-register.php:20
|
113 |
msgid "Complete Disable"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: inc/settings-register.php:20
|
117 |
msgid "Disable Gutenberg everywhere"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: inc/settings-register.php:26 inc/settings-register.php:34
|
121 |
msgid "Disable for"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: inc/settings-register.php:26
|
125 |
msgid "User Role ="
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: inc/settings-register.php:34
|
129 |
msgid "Post Type ="
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: inc/settings-register.php:38
|
133 |
msgid "Disable Templates"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: inc/settings-register.php:38
|
137 |
msgid "Separate multiple templates with commas"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: inc/settings-register.php:39
|
141 |
msgid "Disable Post IDs"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: inc/settings-register.php:39
|
145 |
msgid "Separate multiple post IDs with commas"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: inc/settings-register.php:41
|
149 |
msgid "Whitelist Post IDs"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: inc/settings-register.php:41
|
153 |
msgid "Post IDs that always should use the Block Editor"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: inc/settings-register.php:42
|
157 |
msgid "Whitelist Post Slugs"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: inc/settings-register.php:42
|
161 |
msgid "Post slugs that always should use the Block Editor"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: inc/settings-register.php:43
|
165 |
msgid "Whitelist Post Titles"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: inc/settings-register.php:43
|
169 |
msgid "Post titles that always should use the Block Editor"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: inc/settings-register.php:45
|
173 |
msgid "Disable Nag"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: inc/settings-register.php:45
|
177 |
msgid "Disable \"Try Gutenberg\" nag"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: inc/settings-register.php:46
|
181 |
msgid "Enable Frontend"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: inc/settings-register.php:46
|
185 |
msgid "Enable frontend Gutenberg styles"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: inc/settings-register.php:47
|
189 |
msgid "Whitelist Options"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: inc/settings-register.php:47
|
193 |
msgid "Display Whitelist settings"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: inc/settings-register.php:48
|
197 |
msgid "Plugin Menu Item"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: inc/settings-register.php:48
|
201 |
msgid "Hide this plugin’s menu item"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: inc/settings-register.php:49
|
205 |
msgid "Gutenberg Menu Item"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: inc/settings-register.php:49
|
209 |
msgid "Hide Gutenberg plugin’s menu item (for WP < 5.0)"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: inc/settings-register.php:50
|
213 |
msgid "Display Edit Links"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: inc/settings-register.php:50
|
217 |
msgid "Display \"Add New (Classic)\" menu link and Classic/Block edit links"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: inc/settings-register.php:51
|
221 |
msgid "ACF Support"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: inc/settings-register.php:51
|
225 |
msgid "Enable Custom Fields Meta Box (ACF disables by default),"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: inc/settings-register.php:51
|
229 |
msgid "learn more"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: inc/settings-register.php:52
|
233 |
msgid "Reset Options"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: inc/settings-register.php:52 inc/settings-register.php:219
|
237 |
msgid "Restore default plugin options"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: inc/settings-register.php:53
|
241 |
msgid "Rate Plugin"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: inc/settings-register.php:53 inc/settings-register.php:229
|
245 |
msgid "Show support with a 5-star rating »"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: inc/settings-register.php:126
|
249 |
msgid ""
|
250 |
"Enable this setting to completely disable Gutenberg (and restore the Classic "
|
251 |
"Editor). Or, disable this setting to display more options."
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: inc/settings-register.php:132
|
255 |
msgid "Select the user roles for which Gutenberg should be disabled."
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: inc/settings-register.php:138
|
259 |
msgid "Select the post types for which Gutenberg should be disabled."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: inc/settings-register.php:144
|
263 |
+
msgid ""
|
264 |
+
"Select the theme template files for which Gutenberg should be disabled (e.g.,"
|
265 |
+
" custom-page.php)."
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: inc/settings-register.php:150
|
269 |
msgid "Select the post IDs for which Gutenberg should be disabled."
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: inc/settings-register.php:156
|
273 |
msgid ""
|
274 |
"Select the posts that always should use the Gutenberg Block Editor. Separate "
|
275 |
"multiple values with commas."
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: inc/settings-register.php:162
|
279 |
msgid "Toggle More Tools"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: inc/settings-register.php:162
|
283 |
msgid "Click here"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: inc/settings-register.php:162
|
287 |
msgid ""
|
288 |
"to display more tools and options. Note: these options remain in effect even "
|
289 |
"when hidden on this page."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: inc/settings-register.php:228
|
293 |
msgid "Please give a 5-star rating! A huge THANK YOU for your support!"
|
294 |
msgstr ""
|
295 |
|
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:
|
14 |
-
Version:
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
@@ -287,9 +287,17 @@ Links, tweets and likes also appreciated. Thanks! :)
|
|
287 |
|
288 |
Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-star reviews](https://wordpress.org/support/plugin/disable-gutenberg/reviews/)!
|
289 |
|
290 |
-
|
291 |
|
292 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
**1.9 (2019/09/02)**
|
294 |
|
295 |
* Updates check for existing Gutenberg plugin
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.9
|
12 |
+
Tested up to: 5.3
|
13 |
+
Stable tag: 2.0
|
14 |
+
Version: 2.0
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: disable-gutenberg
|
17 |
Domain Path: /languages
|
287 |
|
288 |
Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-star reviews](https://wordpress.org/support/plugin/disable-gutenberg/reviews/)!
|
289 |
|
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.0 (2019/10/26)**
|
294 |
+
|
295 |
+
* Updates styles for plugin settings page
|
296 |
+
* Fixes bug with front-end script loading
|
297 |
+
* Fixes bug with disable for page templates
|
298 |
+
* Generates new default translation template
|
299 |
+
* Tests on WordPress 5.3
|
300 |
+
|
301 |
**1.9 (2019/09/02)**
|
302 |
|
303 |
* Updates check for existing Gutenberg plugin
|