[wp-trac] [WordPress Trac] #20819: Restrict Media Library header image chooser to only images (no audio, video, etc)

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 3 01:11:42 UTC 2012


#20819: Restrict Media Library header image chooser to only images (no audio,
video, etc)
-----------------------------+------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.4
Component:  Appearance       |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  2nd-opinion => needs-patch
 * component:  General => Appearance
 * milestone:  Awaiting Review => 3.4


Comment:

 Setting an audio file as header obviously results in a broken image when
 cropping and a warning:

 {{{
 Warning: imagecreatefromstring() [function.imagecreatefromstring]: Data is
 not in a recognized format in wp-includes\media.php on line 258

 Image could not be processed. Please go back and try again.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20819#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list