[wp-trac] [WordPress Trac] #17814: wp_load_image() attempts to load directories (was: wp_load_image())
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 2 00:00:16 UTC 2012
#17814: wp_load_image() attempts to load directories
--------------------------+--------------------
Reporter: primehalo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: 3.1.3
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Comment (by scribu):
Couldn't we just replace the file_exists() check with is_file() instead of
calling both?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17814#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list