Skip to content

Commit

Permalink
Move the block page templates hook into compat/5.9 folder (#37142)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Dec 6, 2021
1 parent fc8abe5 commit 08bbe2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Support for page templates.
* Support for custom block-based page templates.
*
* @package gutenberg
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ function gutenberg_is_experiment_enabled( $name ) {
require __DIR__ . '/full-site-editing/full-site-editing.php';
require __DIR__ . '/full-site-editing/block-templates.php';
require __DIR__ . '/full-site-editing/default-template-types.php';
require __DIR__ . '/full-site-editing/page-templates.php';
require __DIR__ . '/full-site-editing/template-loader.php';
require __DIR__ . '/full-site-editing/edit-site-page.php';
require __DIR__ . '/compat/wordpress-5.9/wp-theme-get-post-templates.php';
require __DIR__ . '/compat/wordpress-5.9/default-theme-supports.php';
require __DIR__ . '/compat/wordpress-5.9/class-gutenberg-rest-global-styles-controller.php';
require __DIR__ . '/compat/wordpress-5.9/rest-active-global-styles.php';
Expand Down

0 comments on commit 08bbe2b

Please sign in to comment.