Build/Test Tools: Mock remote request for unknown plugin in `WP_REST_Plugins_Controller::create_item()`.
Instead of hitting the live API, this commit mocks the remote request when testing creating an item that's an unknown plugin. Follow-up to [48242]. Props hellofromTonya, noisysocks, sergeybiryukov, TimothyBlynJacobs. See #54420. Built from https://develop.svn.wordpress.org/trunk@52138 git-svn-id: http://core.svn.wordpress.org/trunk@51730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b68878b83f
commit
2ff53354c1
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-52137';
|
$wp_version = '5.9-alpha-52138';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue