-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
Description
With a classic theme active, clicking the site icon to return to the admin dashboard yields a different result between desktop and mobile.
On desktop, the site icon returns to the dashboard. On mobile, however, it opens the site editor sidebar menu, revealing other screens that are not compatible with non-block themes. For instance, a blank page results when attempting to access Styles. The issue appears to have been introduced in 6.6 when the Patterns link was updated to resolve in the site editor.
What I expected
The expected result is that on mobile screens (728px or narrower) the site icon should return to the admin dashboard, like on desktop.
Props @kebbet for raising this in the #core channel.
Step-by-step reproduction instructions
- Open WordPress 6.6+ on a mobile device, OR on desktop, shrink the viewport to 728px width or less.
- Activate a classic theme, such as
twentytwenty. - Navigate to Appearance > Patterns.
- Inspect the site icon (typically the WordPress "W") in the upper left, and observe that it is the "Go to Site Editor" button (via
aria-labelattribute). - Click the site icon and observe that the left site editor panel opens.
Here are some test links that activate classic theme twentytwenty and navigate to the Patterns screen directly:
Screenshots, screen recording, code snippet
Animated GIF demonstrating clicking the site icon when viewing the Patterns screen with Twenty Twenty activated:

Environment info
- Playground
- Browser: Safari 17.6, Google Chrome 130.0.6723.92
- Theme:
twentytwentyandtwentyten - Plugin: w/ and w/o
gutenberg
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure