-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Template Loader: Get rid of _wp_current_template_part_ids globals (#2…
…2143) This commit changes the `create_auto_draft_for_template_part_block` function to return a list of template part IDs, and the `gutenberg_find_template_post` function to include that information in its return value, allowing us to drop the `$_wp_current_template_part_ids` global.
- Loading branch information
Showing
2 changed files
with
78 additions
and
79 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
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