Changeset 22463
- Timestamp:
- 11/08/2012 02:02:03 AM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
-
class-wp-image-editor-gd.php (modified) (1 diff)
-
class-wp-image-editor-imagick.php (modified) (1 diff)
-
deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-gd.php
r22420 r22463 52 52 return true; 53 53 54 if ( ! file_exists( $this->file ) )54 if ( ! is_file( $this->file ) ) 55 55 return new WP_Error( 'error_loading_image', __('File doesn’t exist?'), $this->file ); 56 56 -
trunk/wp-includes/class-wp-image-editor-imagick.php
r22421 r22463 53 53 return true; 54 54 55 if ( ! file_exists( $this->file ) )55 if ( ! is_file( $this->file ) ) 56 56 return new WP_Error( 'error_loading_image', __('File doesn’t exist?'), $this->file ); 57 57 -
trunk/wp-includes/deprecated.php
r22431 r22463 3222 3222 $file = get_attached_file( $file ); 3223 3223 3224 if ( ! file_exists( $file ) )3224 if ( ! is_file( $file ) ) 3225 3225 return sprintf(__('File “%s” doesn’t exist?'), $file); 3226 3226
Note: See TracChangeset
for help on using the changeset viewer.