[wp-trac] [WordPress Trac] #38737: Add selective refresh to new custom header functions

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


#38737: Add selective refresh to new custom header functions
-------------------------------------+--------------------------
 Reporter:  peterwilsoncc            |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.7
Component:  Themes                   |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 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/38737#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list