- Timestamp:
- 06/03/2024 06:30:02 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
r58229 r58303 669 669 */ 670 670 public function prepare_item_for_response( $item, $request ) { 671 // Resolve pattern blocks so they don't need to be resolved client-side 672 // in the editor, improving performance. 673 $blocks = parse_blocks( $item->content ); 674 $blocks = resolve_pattern_blocks( $blocks ); 675 $item->content = serialize_blocks( $blocks ); 676 671 677 // Restores the more descriptive, specific name for use within this method. 672 678 $template = $item;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)