- Timestamp:
- 10/09/2024 10:09:30 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/wpRestTemplatesController.php
r59073 r59201 547 547 ); 548 548 549 wp_register_block_template( $template_name, $args );549 register_block_template( $template_name, $args ); 550 550 551 551 $request = new WP_REST_Request( 'GET', '/wp/v2/templates/test-plugin//test-template' ); … … 567 567 $this->assertSame( 'test-plugin', $data['plugin'], 'Plugin name mismatch.' ); 568 568 569 wp_unregister_block_template( $template_name );569 unregister_block_template( $template_name ); 570 570 571 571 $request = new WP_REST_Request( 'GET', '/wp/v2/templates/test-plugin//test-template' );
Note: See TracChangeset
for help on using the changeset viewer.