Changeset 48524
- Timestamp:
- 07/21/2020 01:36:16 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-plugins-controller.php
r48242 r48524 1014 1014 add_filter( 1015 1015 'upgrader_pre_download', 1016 function () { 1017 return DIR_TESTDATA . '/link-manager.zip'; 1018 } 1016 static function ( $reply, $package, $upgrader ) { 1017 if ( $upgrader instanceof Plugin_Upgrader ) { 1018 $reply = DIR_TESTDATA . '/link-manager.zip'; 1019 } 1020 1021 return $reply; 1022 }, 1023 10, 1024 3 1019 1025 ); 1020 1026 }
Note: See TracChangeset
for help on using the changeset viewer.