[wp-trac] [WordPress Trac] #15100: Tag/mark custom-header.php uploads

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 12 11:55:10 UTC 2010


#15100: Tag/mark custom-header.php uploads
-----------------------------+----------------------------------------------
 Reporter:  MMN-o            |       Owner:                                                    
     Type:  feature request  |      Status:  new                                               
 Priority:  normal           |   Milestone:  Awaiting Review                                   
Component:  Upload           |     Version:  3.1                                               
 Severity:  normal           |    Keywords:  random header_image,custom-header.php,image upload
-----------------------------+----------------------------------------------
 My suggestion is to mark, tag or somehow make it possible to filter out
 images uploaded with the 'custom header' upload page.

 My reason is that I wish to have a random_header() function to replace the
 header image according to user preference.

 I'm aware I can do this by having a theme add a filter to
 wp_create_file_in_uploads or similar, but then only header images uploaded
 thereafter will be marked as 'header images'.

 A sideeffect of this is that when browsing through "Media" it would be
 possible to only list uploaded header images. That, however, is not part
 of this feature request.

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


More information about the wp-trac mailing list