Changeset 2580505
- Timestamp:
- 08/09/2021 07:09:21 PM (5 years ago)
- Location:
- full-site-editing/trunk
- Files:
-
- 3 edited
-
full-site-editing-plugin.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
wpcom-universal-themes/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
full-site-editing/trunk/full-site-editing-plugin.php
r2580048 r2580505 3 3 * Plugin Name: WordPress.com Editing Toolkit 4 4 * Description: Enhances your page creation workflow within the Block Editor. 5 * Version: 3.127 385 * Version: 3.12771 6 6 * Author: Automattic 7 7 * Author URI: https://automattic.com/wordpress-plugins/ … … 43 43 * @var string 44 44 */ 45 define( 'A8C_ETK_PLUGIN_VERSION', '3.127 38' );45 define( 'A8C_ETK_PLUGIN_VERSION', '3.12771' ); 46 46 47 47 // Always include these helper files for dotcom FSE. -
full-site-editing/trunk/readme.txt
r2580048 r2580505 4 4 Requires at least: 5.5 5 5 Tested up to: 5.6 6 Stable tag: 3.127 386 Stable tag: 3.12771 7 7 Requires PHP: 5.6.20 8 8 License: GPLv2 or later -
full-site-editing/trunk/wpcom-universal-themes/index.php
r2578887 r2580505 88 88 remove_action( 'admin_bar_menu', 'gutenberg_adminbar_items', 50 ); 89 89 remove_filter( 'menu_order', 'gutenberg_menu_order' ); 90 add_action( 'init', __NAMESPACE__ . '\hide_template_cpts', 11 ); 91 add_action( 'restapi_theme_init', __NAMESPACE__ . '\hide_template_cpts', 11 ); 90 if ( defined( 'REST_API_REQUEST' ) && true === REST_API_REQUEST ) { 91 // Do not hook to init during the REST API requests, as it causes PHP warnings 92 // while loading the alloptions (unable to access wp_0_ prefixed tables). 93 // Use the restapi_theme_init hook instead. 94 add_action( 'restapi_theme_init', __NAMESPACE__ . '\hide_template_cpts', 11 ); 95 } else { 96 add_action( 'init', __NAMESPACE__ . '\hide_template_cpts', 11 ); 97 } 92 98 add_filter( 'block_editor_settings_all', __NAMESPACE__ . '\hide_fse_blocks' ); 93 99 }
Note: See TracChangeset
for help on using the changeset viewer.