[wp-trac] [WordPress Trac] #26989: WP_Customize_Upload_Control cannot be extended to only accept .ico files

WordPress Trac noreply at wordpress.org
Fri Nov 14 23:05:50 UTC 2014


#26989: WP_Customize_Upload_Control cannot be extended to only accept .ico files
--------------------------+---------------------
 Reporter:  ScottSmith    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Upload        |     Version:  3.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by celloexpressions):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  Future Release => 4.1


Comment:

 With [30309], favicon uploads now work in the Customizer. Note that they
 will be treated as an unknown file type, which is fine, and that you can
 no longer force uploads to be `.ico` files in the UI, so you may need
 descriptive help text along with proper filetype checks in the sanitize
 callback.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26989#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list