WordPress.org

Make WordPress Core

Opened 6 weeks ago

#51337 new defect (bug)

Twenty Twenty: Custom Logo bug in the Customizer

Reported by: acosmin Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

This ticket is based on a bug discovered by @ilovewpcom

 I think I found a weird bug in the theme. It's not breaking anything, just some odd behaviour.

 Steps to replicate the issue:
 1. Start with a website that doesn't have a logo in the Site Identity.
 2. Open the Customize page and open the Site Identity panel.
 3. Upload a logo and DON'T click the Publish button.
 4. Change the site title or description under the logo.

 Right after step 4 you will notice that the logo disappears in the previewer and the site title becomes a lot bigger.
 If you click the Publish button to save the changes then everything is correct on the front-end.
 The only issue is with the previewer's odd behaviour.
 I hope this helps :)

A solution for this is to add:

'container_inclusive' => version_compare( $GLOBALS['wp_version'], '5.5', '>=' ),

on class-twentytwenty-customize.php:L50

It probably needs more testing.

Change History (0)

Note: See TracTickets for help on using tickets.