[wp-trac] [WordPress Trac] #38627: Twenty Seventeen: Custom Header Preview Doesn't Match in Customizer When Changed

WordPress Trac noreply at wordpress.org
Wed Nov 2 21:22:38 UTC 2016


#38627: Twenty Seventeen: Custom Header Preview Doesn't Match in Customizer When
Changed
---------------------------+----------------------------
 Reporter:  davidakennedy  |       Owner:  davidakennedy
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  4.7
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+----------------------------
Changes (by bradyvercher):

 * keywords:  needs-patch => has-patch


Comment:

 This particular issue is due to the `has-header-image` body class not
 being toggled whenever images or videos are added or removed.
 [attachment:38627.diff] toggles the body class using the same logic as
 `twentyseventeen_body_classes()`.

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


More information about the wp-trac mailing list