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:
Dion Hulse 2016-12-28 03:52:42 +00:00
parent df256f9fee
commit 4efebd4b71
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}
/**

View File

@ -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.