Version Description
Download this release
Release Info
| Developer | mattwiebe |
| Plugin | |
| Version | 3.26500 |
| Comparing to | |
| See all releases | |
Code changes from version 3.26189 to 3.26500
- full-site-editing-plugin.php +2 -2
- readme.txt +1 -1
- wpcom-universal-themes/index.php +9 -0
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.
|
| 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.
|
| 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.26500
|
| 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.26500' );
|
| 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.
|
| 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.26500
|
| 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
|
@@ -139,6 +139,15 @@ function load_helpers() {
|
|
| 139 |
if ( ! is_fse_theme() ) {
|
| 140 |
return;
|
| 141 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
if ( apply_filters( 'a8c_hide_core_fse_activation', false ) ) {
|
| 143 |
return;
|
| 144 |
}
|
| 139 |
if ( ! is_fse_theme() ) {
|
| 140 |
return;
|
| 141 |
}
|
| 142 |
+
|
| 143 |
+
// AMP registration on the default 10 priority is too early and confuses the current
|
| 144 |
+
// Gutenberg (v12.5.1 at this comment's writing) `gutenberg_remove_legacy_pages` function
|
| 145 |
+
// into mistaking it for the Customizer proper.
|
| 146 |
+
if ( function_exists( 'amp_add_customizer_link' ) ) {
|
| 147 |
+
remove_action( 'admin_menu', 'amp_add_customizer_link' );
|
| 148 |
+
add_action( 'admin_menu', 'amp_add_customizer_link', 11 );
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
if ( apply_filters( 'a8c_hide_core_fse_activation', false ) ) {
|
| 152 |
return;
|
| 153 |
}
|
