src/wp-admin/includes/class-ftp.php 1 location
|
@@ 190-195 (lines=6) @@
|
| 187 |
|
$b = array(); |
| 188 |
|
$b['isdir'] = $lucifer[0]{0} === "d"; |
| 189 |
|
$b['islink'] = $lucifer[0]{0} === "l"; |
| 190 |
|
if ( $b['isdir'] ) |
| 191 |
|
$b['type'] = 'd'; |
| 192 |
|
elseif ( $b['islink'] ) |
| 193 |
|
$b['type'] = 'l'; |
| 194 |
|
else |
| 195 |
|
$b['type'] = 'f'; |
| 196 |
|
$b['perms'] = $lucifer[0]; |
| 197 |
|
$b['number'] = $lucifer[1]; |
| 198 |
|
$b['owner'] = $lucifer[2]; |
src/wp-admin/includes/class-wp-filesystem-ftpext.php 1 location
|
@@ 501-506 (lines=6) @@
|
| 498 |
|
$b = array(); |
| 499 |
|
$b['isdir'] = $lucifer[0]{0} === 'd'; |
| 500 |
|
$b['islink'] = $lucifer[0]{0} === 'l'; |
| 501 |
|
if ( $b['isdir'] ) |
| 502 |
|
$b['type'] = 'd'; |
| 503 |
|
elseif ( $b['islink'] ) |
| 504 |
|
$b['type'] = 'l'; |
| 505 |
|
else |
| 506 |
|
$b['type'] = 'f'; |
| 507 |
|
$b['perms'] = $lucifer[0]; |
| 508 |
|
$b['permsn'] = $this->getnumchmodfromh( $b['perms'] ); |
| 509 |
|
$b['number'] = $lucifer[1]; |