Full Site Editing - Version 0.23

Version Description

  • Dotcom Block Editor NUX: disable by default
Download this release

Release Info

Developer vindl
Plugin Icon wp plugin Full Site Editing
Version 0.23
Comparing to
See all releases

Code changes from version 0.22 to 0.23

Files changed (2) hide show
  1. full-site-editing-plugin.php +13 -2
  2. readme.txt +4 -1
full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Plugin Name: Full Site Editing
4
* Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 0.22
6
* Author: Automattic
7
* Author URI: https://automattic.com/wordpress-plugins/
8
* License: GPLv2 or later
@@ -35,7 +35,7 @@ namespace A8C\FSE;
35
*
36
* @var string
37
*/
38
- define( 'PLUGIN_VERSION', '0.22' );
39
40
// Always include these helper files for dotcom FSE.
41
require_once __DIR__ . '/dotcom-fse/helpers.php';
@@ -229,6 +229,17 @@ add_action( 'plugins_loaded', __NAMESPACE__ . '\load_blog_posts_block' );
229
* Load WPCOM Block Editor NUX
230
*/
231
function load_wpcom_block_editor_nux() {
232
require_once __DIR__ . '/wpcom-block-editor-nux/class-wpcom-block-editor-nux.php';
233
}
234
add_action( 'plugins_loaded', __NAMESPACE__ . '\load_wpcom_block_editor_nux' );
2
/**
3
* Plugin Name: Full Site Editing
4
* Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 0.23
6
* Author: Automattic
7
* Author URI: https://automattic.com/wordpress-plugins/
8
* License: GPLv2 or later
35
*
36
* @var string
37
*/
38
+ define( 'PLUGIN_VERSION', '0.23' );
39
40
// Always include these helper files for dotcom FSE.
41
require_once __DIR__ . '/dotcom-fse/helpers.php';
229
* Load WPCOM Block Editor NUX
230
*/
231
function load_wpcom_block_editor_nux() {
232
+ /**
233
+ * Can be used to enable Dotcom editor guide.
234
+ *
235
+ * @since 0.23
236
+ *
237
+ * @param bool true if Dotcom editor nux should be enabled, false otherwise.
238
+ */
239
+ if ( ! apply_filters( 'a8c_enable_dotcom_editor_nux', false ) ) {
240
+ return;
241
+ }
242
+
243
require_once __DIR__ . '/wpcom-block-editor-nux/class-wpcom-block-editor-nux.php';
244
}
245
add_action( 'plugins_loaded', __NAMESPACE__ . '\load_wpcom_block_editor_nux' );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: alexislloyd, allancole, automattic, bartkalisz, codebykat, copons,
3
Tags: block, blocks, editor, gutenberg, page
4
Requires at least: 5.0
5
Tested up to: 5.3
6
- Stable tag: 0.22
7
Requires PHP: 5.6.20
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -42,6 +42,9 @@ This plugin is experimental, so we don't provide any support for it outside of w
42
43
== Changelog ==
44
45
= 0.22 =
46
* Starter Page Templates: Improved previews with many visual glitches fixed
47
* Starter Page Templates: Make page title visibility depend on theme setting
3
Tags: block, blocks, editor, gutenberg, page
4
Requires at least: 5.0
5
Tested up to: 5.3
6
+ Stable tag: 0.23
7
Requires PHP: 5.6.20
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
42
43
== Changelog ==
44
45
+ = 0.23 =
46
+ * Dotcom Block Editor NUX: disable by default
47
+
48
= 0.22 =
49
* Starter Page Templates: Improved previews with many visual glitches fixed
50
* Starter Page Templates: Make page title visibility depend on theme setting