Changeset 59159 for trunk/src/wp-includes/block-template-utils.php
- Timestamp:
- 10/03/2024 12:23:53 AM (19 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-template-utils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r59101 r59159 1405 1405 * @since 6.0.0 Adds the whole theme to the export archive. 1406 1406 * 1407 * @global string $wp_version The WordPress version string.1408 *1409 1407 * @return WP_Error|string Path of the ZIP file or error on failure. 1410 1408 */ 1411 1409 function wp_generate_block_templates_export_file() { 1412 global $wp_version;1410 $wp_version = wp_get_wp_version(); 1413 1411 1414 1412 if ( ! class_exists( 'ZipArchive' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.