[wp-trac] [WordPress Trac] #53770: Site logo missing in 5.8

WordPress Trac noreply at wordpress.org
Tue Jul 27 17:49:43 UTC 2021


#53770: Site logo missing in 5.8
------------------------------+------------------------------
 Reporter:  eqwmo             |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Customize         |     Version:  5.8
 Severity:  normal            |  Resolution:
 Keywords:  has-testing-info  |     Focuses:
------------------------------+------------------------------

Comment (by jokanane):

 I installed fresh 5.7.2 and 5.8 side-by-side, no other plugins than what
 the core installs, default theme 2021.

 I then uploaded and set the site logo file in both identically and set..:
 {{{
 <?php var_dump(get_theme_mod('custom_logo')); ?>
 }}}
 ... in header.php.

 5.7.2 returns int(10) and 5.8 string(2) "10". This alone is surprising and
 makes one wonder if there's another regression around here that's causing
 the problems we're seeing.

 @eqwmo if you know how, do the var_dump() given above with your site
 having 5.7.2 and then with 5.8. I bet my money that you'll see an integer
 with 5.7.2 and an array with 5.8. That will throw off the code that is set
 to render the image.

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


More information about the wp-trac mailing list