- Timestamp:
- 06/24/2015 04:48:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r32654 r32923 311 311 */ 312 312 public function gethchmod( $file ){ 313 $perms = $this->getchmod($file);313 $perms = intval( $this->getchmod( $file ), 8 ); 314 314 if (($perms & 0xC000) == 0xC000) // Socket 315 315 $info = 's'; … … 353 353 354 354 /** 355 * Gets the permissions of the specified file or filepath in their octal format 356 * 357 * @since 4.0 358 * @param string $file 359 * @return string the last 3 characters of the octal number 360 */ 361 public function getchmod( $file ) { 362 return '777'; 363 } 364 365 /** 355 366 * Convert *nix-style file permissions to a octal number. 356 367 *
Note: See TracChangeset
for help on using the changeset viewer.