[wp-trac] [WordPress Trac] #51015: has_custom_logo isn't working with Customizer

WordPress Trac noreply at wordpress.org
Sat Aug 15 09:26:17 UTC 2020


#51015: has_custom_logo isn't working with Customizer
-------------------------------------------------+-------------------------
 Reporter:  athemeart                            |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  General                              |    Version:  5.5
 Severity:  normal                               |   Keywords:
  Focuses:  javascript, administration,          |
  template, performance, coding-standards        |
-------------------------------------------------+-------------------------
 Hi
 the has_custom_logo  function isn't working perfectly with Customizer edit
 mod .
 i am trying below code, it fine for without Customizer

 {{{

 if ( has_custom_logo() ) {
         echo the_custom_logo();
 }else{
         bloginfo( 'name' );
 }
 }}}

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


More information about the wp-trac mailing list