- Timestamp:
- 02/16/2023 10:11:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php
r55205 r55354 762 762 } 763 763 764 $ret = array(); 764 $path = trailingslashit( $path ); 765 $ret = array(); 765 766 766 767 foreach ( (array) $dirlist as $struc ) { 767 768 if ( 'd' === $struc['type'] ) { 768 769 if ( $recursive ) { 769 $struc['files'] = $this->dirlist( $path . '/' .$struc['name'], $include_hidden, $recursive );770 $struc['files'] = $this->dirlist( $path . $struc['name'], $include_hidden, $recursive ); 770 771 } else { 771 772 $struc['files'] = array();
Note: See TracChangeset
for help on using the changeset viewer.