Changeset 11823 for trunk/wp-admin/includes/file.php
- Timestamp:
- 08/15/2009 12:01:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r11819 r11823 606 606 $wp_filesystem = new $method($args); 607 607 608 //Define the timeouts for the connections. Only available after the construct is called to allow for per-transport overriding of the default. 609 if ( ! defined('FS_CONNECT_TIMEOUT') ) 610 define('FS_CONNECT_TIMEOUT', 30); 611 if ( ! defined('FS_TIMEOUT') ) 612 define('FS_TIMEOUT', 30); 613 608 614 if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) 609 615 return false;
Note: See TracChangeset
for help on using the changeset viewer.