Changeset 53402 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php
- Timestamp:
- 05/17/2022 12:08:15 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-edit-site-export-controller.php
r53129 r53402 83 83 } 84 84 85 $theme_name = wp_get_theme()->get( 'TextDomain');85 $theme_name = basename( get_stylesheet() ); 86 86 header( 'Content-Type: application/zip' ); 87 87 header( 'Content-Disposition: attachment; filename=' . $theme_name . '.zip' );
Note: See TracChangeset
for help on using the changeset viewer.