- Timestamp:
- 08/09/2022 11:32:01 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-direct.php
r52332 r53872 400 400 * @since 2.5.0 401 401 * 402 * @param string $ filePath to file or directory.403 * @return bool Whether $ fileexists or not.404 */ 405 public function exists( $ file) {406 return @file_exists( $ file);402 * @param string $path Path to file or directory. 403 * @return bool Whether $path exists or not. 404 */ 405 public function exists( $path ) { 406 return @file_exists( $path ); 407 407 } 408 408 … … 448 448 * @since 2.5.0 449 449 * 450 * @param string $ filePath to file or directory.451 * @return bool Whether $ fileis writable.452 */ 453 public function is_writable( $ file) {454 return @is_writable( $ file);450 * @param string $path Path to file or directory. 451 * @return bool Whether $path is writable. 452 */ 453 public function is_writable( $path ) { 454 return @is_writable( $path ); 455 455 } 456 456
Note: See TracChangeset
for help on using the changeset viewer.