Changeset 53724 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
- Timestamp:
- 07/19/2022 04:20:54 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r53197 r53724 348 348 if ( $block_type->is_dynamic() ) { 349 349 $links['https://api.w.org/render-block'] = array( 350 'href' => add_query_arg( 'context', 'edit', rest_url( sprintf( '%s/%s/%s', 'wp/v2', 'block-renderer', $block_type->name ) ) ), 350 'href' => add_query_arg( 351 'context', 352 'edit', 353 rest_url( sprintf( '%s/%s/%s', 'wp/v2', 'block-renderer', $block_type->name ) ) 354 ), 351 355 ); 352 356 }
Note: See TracChangeset
for help on using the changeset viewer.