Filesystem: Add `return` statement to `WP_Filesystem_ftpsockets->rmdir`
Props tymvie. Fixes #39405. git-svn-id: https://develop.svn.wordpress.org/trunk@39644 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8eda7a0510
commit
3a4aae8c20
|
@ -470,9 +470,10 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
|||
*
|
||||
* @param string $path
|
||||
* @param bool $recursive
|
||||
* @return bool
|
||||
*/
|
||||
public function rmdir($path, $recursive = false ) {
|
||||
$this->delete($path, $recursive);
|
||||
return $this->delete($path, $recursive);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue