Changeset 11005 for trunk/wp-admin/includes/theme.php
- Timestamp:
- 04/19/2009 07:36:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme.php
r10951 r11005 73 73 } 74 74 75 if ( $wp_filesystem->errors->get_error_code() ) {76 return $wp_filesystem->errors;77 }78 75 79 76 if ( ! is_object($wp_filesystem) ) 80 77 return new WP_Error('fs_unavailable', __('Could not access filesystem.')); 81 78 82 if ( $wp_filesystem->errors->get_error_code() )79 if ( is_wp_error($wp_filesystem->errors) && $wp_filesystem->errors->get_error_code() ) 83 80 return new WP_Error('fs_error', __('Filesystem error'), $wp_filesystem->errors); 84 81
Note: See TracChangeset
for help on using the changeset viewer.