Full Site Editing - Version 3.12592

Version Description

Download this release

Release Info

Developer mattwiebe
Plugin Icon wp plugin Full Site Editing
Version 3.12592
Comparing to
See all releases

Code changes from version 3.12588 to 3.12592

full-site-editing-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
- * Version: 3.12588
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
@@ -42,7 +42,7 @@ namespace A8C\FSE;
42
  *
43
  * @var string
44
  */
45
- define( 'A8C_ETK_PLUGIN_VERSION', '3.12588' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
2
  /**
3
  * Plugin Name: WordPress.com Editing Toolkit
4
  * Description: Enhances your page creation workflow within the Block Editor.
5
+ * Version: 3.12592
6
  * Author: Automattic
7
  * Author URI: https://automattic.com/wordpress-plugins/
8
  * License: GPLv2 or later
42
  *
43
  * @var string
44
  */
45
+ define( 'A8C_ETK_PLUGIN_VERSION', '3.12592' );
46
 
47
  // Always include these helper files for dotcom FSE.
48
  require_once __DIR__ . '/dotcom-fse/helpers.php';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
- Stable tag: 3.12588
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: block, blocks, editor, gutenberg, page
4
  Requires at least: 5.5
5
  Tested up to: 5.6
6
+ Stable tag: 3.12592
7
  Requires PHP: 5.6.20
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
wpcom-universal-themes/index.php CHANGED
@@ -195,6 +195,10 @@ function hide_fse_blocks( $editor_settings ) {
195
  * @return void
196
  */
197
  function hide_template_cpts() {
 
 
 
 
198
  global $wp_post_types;
199
  if ( isset( $wp_post_types['wp_template'] ) ) {
200
  $wp_post_types['wp_template']->show_ui = false;
195
  * @return void
196
  */
197
  function hide_template_cpts() {
198
+ // This can interfere with Legacy FSE, bail if it's active.
199
+ if ( is_full_site_editing_active() ) {
200
+ return;
201
+ }
202
  global $wp_post_types;
203
  if ( isset( $wp_post_types['wp_template'] ) ) {
204
  $wp_post_types['wp_template']->show_ui = false;