[wp-trac] [WordPress Trac] #21355: Crop header images inside the customizer

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 1 07:12:41 UTC 2012


#21355: Crop header images inside the customizer
-------------------------------------+--------------------------
 Reporter:  koopersmith              |       Owner:  koopersmith
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  3.4.2
Component:  Appearance               |     Version:  3.4
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------------
Changes (by koopersmith):

 * keywords:   => has-patch needs-testing


Comment:

 [attachment:21355-for-branch.diff] ports these changes to the 3.4 branch.
 For testing, I recommend testing on Twenty Eleven and adding Twenty Twelve
 to your 3.4 checkout, as it allows for custom headers but currently does
 not register any custom headers by default.

 The behavior should work as follows:

 1. The "upload new" tab should never appear.

 2. If header images for this theme have been previously uploaded, there
 should be an "uploaded" tab. This tab should be selected by default.

 3. If there are default images, there should be a "default" tab. If there
 are no previously uploaded images, the "default" tab should be selected by
 default.

 4. If there are no previously uploaded or default header images, then both
 the header image control and section should be completely hidden.

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


More information about the wp-trac mailing list