[wp-trac] [WordPress Trac] #43081: Custom logo issue in Customizer

WordPress Trac noreply at wordpress.org
Sat Jan 13 00:05:32 UTC 2018


#43081: Custom logo issue in Customizer
---------------------------+-----------------------------
 Reporter:  Guido07111975  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Customize      |    Version:  4.9.1
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Hi,

 Almost 2 years ago I've started a thread about an issue with the custom
 logo in customizer. Link: [https://wordpress.org/support/topic/custom-
 logo-issue-in-customizer/]

 Until now it's not fixed.

 In short, this doesn't behave as expected:
 {{{
 <?php if ( has_custom_logo() ) : ?>
         <?php the_custom_logo(); ?>
 <?php else : ?>
         <h1>Site Title</h1>
         <h2>Tagline</h2>
 <?php endif; ?>
 }}}

 Once a custom logo is set, and removed again in the same session, Site
 Title and Tagline aren't displayed. You need to close and re-visit the
 customizer, to make Site Title and Tagline visible again.

 It seems the custom logo stays active, after removing the logo (image) in
 the same session.

 Guido

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43081>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list