From 5e61d7bce83b8c75eafbf9d681e07da2fe1de7f6 Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 8 Jun 2023 14:31:14 +1000 Subject: [PATCH] Reverted prefix change to file that was not copied to GB --- .../class-gutenberg-rest-templates-controller-6-3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compat/wordpress-6.3/class-gutenberg-rest-templates-controller-6-3.php b/lib/compat/wordpress-6.3/class-gutenberg-rest-templates-controller-6-3.php index 37f570344ad063..8fffcb5c99bda0 100644 --- a/lib/compat/wordpress-6.3/class-gutenberg-rest-templates-controller-6-3.php +++ b/lib/compat/wordpress-6.3/class-gutenberg-rest-templates-controller-6-3.php @@ -152,7 +152,7 @@ protected function prepare_revision_links( $template ) { */ public function get_item( $request ) { if ( isset( $request['source'] ) && 'theme' === $request['source'] ) { - $template = gutenberg_get_block_file_template( $request['id'], $this->post_type ); + $template = get_block_file_template( $request['id'], $this->post_type ); } else { $template = gutenberg_get_block_template( $request['id'], $this->post_type ); }