[wp-trac] [WordPress Trac] #17814: wp_load_image()

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 15 20:50:26 UTC 2011


#17814: wp_load_image()
--------------------------+-----------------------------
 Reporter:  primehalo     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1.3
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 The wp_load_image() function in /wp-includes/media.php does a
 file_exists() check on the $file parameter, but that will return TRUE for
 both files and directories. There is no check to make sure $file is
 actually a file instead of a directory.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17814>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list