[wp-trac] [WordPress Trac] #38639: Improve the user and developer experience for new custom header functions

WordPress Trac noreply at wordpress.org
Mon Nov 14 18:40:11 UTC 2016


#38639: Improve the user and developer experience for new custom header functions
--------------------------+----------------------
 Reporter:  bradyvercher  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------

Comment (by westonruter):

 In [changeset:"39227"]:
 {{{
 #!CommitTicketReference repository="" revision="39227"
 Customize: Use selective refresh for custom header changes when possible.

 * Use `postMessage` transport for header image settings by default when
 video headers are supported, and thus `the_custom_header_markup()` will
 necessarily be used (and thus a selective refresh partial will be
 available).
 * Ensure that `the_custom_header_markup()` always outputs a container
 element in the customizer preview even if the header is empty.
 * Ensure that edit shortcut appearing for custom header does not get
 positioned off-screen.

 Props bradyvercher, westonruter.
 See #38639.
 Fixes #38737.
 }}}

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


More information about the wp-trac mailing list