Filesystem: Add `return` statement to `WP_Filesystem_ftpsockets->rmdir`
Props tymvie. Fixes #39405. Built from https://develop.svn.wordpress.org/trunk@39644 git-svn-id: http://core.svn.wordpress.org/trunk@39584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
df256f9fee
commit
4efebd4b71
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39643';
|
||||
$wp_version = '4.8-alpha-39644';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue