-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Template Loader: Drop
$_wp_current_template_id
(#22196)
This PR changes the `gutenberg_template_loader_filter_block_editor_settings` filter to detect if we're dealing with the Site Editor from the `$settings` array, allowing us to drop the `$_wp_current_template_id` global.
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters