Skip to content

Commit 2cfdcc6

Browse files
committed
REST API: Fix finalize endpoint tests in Attachments controller.
Enable client-side media processing in the three `test_finalize_item*` tests so the `/finalize` route is registered before dispatching requests. Without this, the route does not exist and all assertions fail with `rest_no_route`. Extracts the repeated filter-and-reinitialize pattern into a shared `enable_client_side_media_processing()` helper, used by both the sideload and finalize tests. Follow-up to [61982]. Built from https://develop.svn.wordpress.org/trunk@61984 git-svn-id: http://core.svn.wordpress.org/trunk@61266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 12608ab commit 2cfdcc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta4-61983';
19+
$wp_version = '7.0-beta4-61984';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)