| @@ -38,8 +38,26 @@ | ||
| 38 | 38 | } |
| 39 | 39 | if ( ! class_exists( 'WP_REST_Block_Directory_Controller' ) ) { |
| 40 | 40 | require dirname( __FILE__ ) . '/class-wp-rest-block-directory-controller.php'; |
| 41 | 41 | } |
| 42 | + if ( ! class_exists( 'WP_REST_Block_Types_Controller' ) ) { | |
| 43 | + require dirname( __FILE__ ) . '/class-wp-rest-block-types-controller.php'; | |
| 44 | + } | |
| 45 | + if ( ! class_exists( 'WP_REST_Menus_Controller' ) ) { | |
| 46 | + require_once dirname( __FILE__ ) . '/class-wp-rest-menus-controller.php'; | |
| 47 | + } | |
| 48 | + if ( ! class_exists( 'WP_REST_Menu_Items_Controller' ) ) { | |
| 49 | + require_once dirname( __FILE__ ) . '/class-wp-rest-menu-items-controller.php'; | |
| 50 | + } | |
| 51 | + if ( ! class_exists( 'WP_REST_Menu_Locations_Controller' ) ) { | |
| 52 | + require_once dirname( __FILE__ ) . '/class-wp-rest-menu-locations-controller.php'; | |
| 53 | + } | |
| 54 | + if ( ! class_exists( 'WP_Rest_Customizer_Nonces' ) ) { | |
| 55 | + require_once dirname( __FILE__ ) . '/class-wp-rest-customizer-nonces.php'; | |
| 56 | + } | |
| 57 | + if ( ! class_exists( 'WP_REST_Image_Editor_Controller' ) ) { | |
| 58 | + require dirname( __FILE__ ) . '/class-wp-rest-image-editor-controller.php'; | |
| 59 | + } | |
| 42 | 60 | /** |
| 43 | 61 | * End: Include for phase 2 |
| 44 | 62 | */ |
| 45 | 63 | |
| @@ -49,9 +67,26 @@ | ||
| 49 | 67 | if ( ! class_exists( 'WP_Block_Styles_Registry' ) ) { |
| 50 | 68 | require dirname( __FILE__ ) . '/class-wp-block-styles-registry.php'; |
| 51 | 69 | } |
| 52 | 70 | |
| 71 | +if ( ! class_exists( 'WP_Block_Patterns_Registry' ) ) { | |
| 72 | + require dirname( __FILE__ ) . '/class-wp-block-patterns-registry.php'; | |
| 73 | +} | |
| 74 | + | |
| 75 | +if ( ! class_exists( 'WP_Block_Pattern_Categories_Registry' ) ) { | |
| 76 | + require dirname( __FILE__ ) . '/class-wp-block-pattern-categories-registry.php'; | |
| 77 | +} | |
| 78 | + | |
| 79 | +if ( ! class_exists( 'WP_Block' ) ) { | |
| 80 | + require dirname( __FILE__ ) . '/class-wp-block.php'; | |
| 81 | +} | |
| 82 | + | |
| 83 | +if ( ! class_exists( 'WP_Block_List' ) ) { | |
| 84 | + require dirname( __FILE__ ) . '/class-wp-block-list.php'; | |
| 85 | +} | |
| 86 | + | |
| 53 | 87 | require dirname( __FILE__ ) . '/compat.php'; |
| 88 | +require dirname( __FILE__ ) . '/utils.php'; | |
| 54 | 89 | |
| 55 | 90 | require dirname( __FILE__ ) . '/blocks.php'; |
| 56 | 91 | require dirname( __FILE__ ) . '/templates.php'; |
| 57 | 92 | require dirname( __FILE__ ) . '/template-parts.php'; |
| @@ -60,8 +95,10 @@ | ||
| 60 | 95 | require dirname( __FILE__ ) . '/block-directory.php'; |
| 61 | 96 | require dirname( __FILE__ ) . '/demo.php'; |
| 62 | 97 | require dirname( __FILE__ ) . '/widgets.php'; |
| 63 | 98 | require dirname( __FILE__ ) . '/widgets-page.php'; |
| 99 | +require dirname( __FILE__ ) . '/navigation-page.php'; | |
| 64 | 100 | require dirname( __FILE__ ) . '/experiments-page.php'; |
| 65 | 101 | require dirname( __FILE__ ) . '/customizer.php'; |
| 66 | 102 | require dirname( __FILE__ ) . '/edit-site-page.php'; |
| 103 | +require dirname( __FILE__ ) . '/editor-features.php'; | |
| 67 | 104 | require dirname( __FILE__ ) . '/global-styles.php'; |