mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Docs: In various @return tags, list the expected type first, instead of WP_Error.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -450,7 +450,7 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
* @param string $local_destination
|
||||
* @param string $remote_destination
|
||||
* @param array $plugin
|
||||
* @return WP_Error|bool
|
||||
* @return bool|WP_Error
|
||||
*/
|
||||
public function delete_old_plugin( $removed, $local_destination, $remote_destination, $plugin ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
Reference in New Issue
Block a user