[wp-trac] [WordPress Trac] #26505: Custom Header cropping code extraction

WordPress Trac noreply at wordpress.org
Mon Dec 9 15:44:22 UTC 2013


#26505: Custom Header cropping code extraction
-------------------------+------------------------------
 Reporter:  ehg          |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Appearance   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by nacin):

 The Customizer already uses functionality from the custom header class,
 via $custom_image_header. A narrower refactor would probably be to just
 decorate the existing class with the public methods you need. This is also
 much easier to maintain. Over time, the custom header screen will ideally
 be replaced by the customizer (same goes for background), so the two
 classes powering those sites will just end up being more generic classes
 used by the Customizer, plus some fallback functionality for when it needs
 to render its own page.

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


More information about the wp-trac mailing list