PluginProbe
Gutenberg / 19.6.1
Gutenberg v19.6.1
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | lib/block-template-utils.php +2 -2 23.5.119.6.1 View file →
@@ -59,9 +59,9 @@
59 59 }
60 60 }
61 61
62 62 // Load templates into the zip file.
63 - $templates = get_block_templates();
63 + $templates = gutenberg_get_block_templates();
64 64 foreach ( $templates as $template ) {
65 65 $template->content = traverse_and_serialize_blocks(
66 66 parse_blocks( $template->content ),
67 67 '_remove_theme_attribute_from_template_part_block'
@@ -73,9 +73,9 @@
73 73 );
74 74 }
75 75
76 76 // Load template parts into the zip file.
77 - $template_parts = get_block_templates( array(), 'wp_template_part' );
77 + $template_parts = gutenberg_get_block_templates( array(), 'wp_template_part' );
78 78 foreach ( $template_parts as $template_part ) {
79 79 $zip->addFromString(
80 80 'parts/' . $template_part->slug . '.html',
81 81 $template_part->content