WordPress.org

Make WordPress Core

Changeset 39644


Ignore:
Timestamp:
12/28/16 03:51:29 (8 months ago)
Author:
dd32
Message:

Filesystem: Add return statement to WP_Filesystem_ftpsockets->rmdir

Props tymvie.
Fixes #39405.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r38470 r39644  
    471471     * @param string $path 
    472472     * @param bool $recursive 
     473     * @return bool 
    473474     */ 
    474475    public function rmdir($path, $recursive = false ) { 
    475         $this->delete($path, $recursive); 
     476        return $this->delete($path, $recursive); 
    476477    } 
    477478 
Note: See TracChangeset for help on using the changeset viewer.