Changeset 54818 for branches/6.1/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
- Timestamp:
- 11/11/2022 04:29:27 PM (2 years ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
r54356 r54818 529 529 $changes->post_status = 'publish'; 530 530 $changes->tax_input = array( 531 'wp_theme' => isset( $request['theme'] ) ? $request['theme'] : wp_get_theme()->get_stylesheet(),531 'wp_theme' => isset( $request['theme'] ) ? $request['theme'] : get_stylesheet(), 532 532 ); 533 533 } elseif ( 'custom' !== $template->source ) {
Note: See TracChangeset
for help on using the changeset viewer.