diff --git a/src/wp-content/themes/twentyten/functions.php b/src/wp-content/themes/twentyten/functions.php index efa7e5f8f9..a36a293eb0 100644 --- a/src/wp-content/themes/twentyten/functions.php +++ b/src/wp-content/themes/twentyten/functions.php @@ -740,7 +740,7 @@ function twentyten_block_editor_styles() { add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' ); // Block Patterns. -require get_stylesheet_directory() . '/block-patterns.php'; +require get_template_directory() . '/block-patterns.php'; if ( ! function_exists( 'wp_body_open' ) ) : /**