Added by column shows an empty grey circle for old templates if the site has no logo #37086
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
This issue follows up on what @paaljoachim mentioned here - #36763 (comment)
The Added By column can show an empty dark grey circle in some situations.
It requires a very specific scenario. The user needs to have created the template or template part before author support was added to templates. This causes the site logo and name to display as a fallback. If the site has no logo, this is when a grey circle is shown.
It's a pretty easy to show an icon as a fallback, so we should do it. Just need to know which icon to use 😄
Step-by-step reproduction instructions
Testing is pretty difficult since it requires either existing old templates or for you to create a new template using an old version of WordPress and Gutenberg (maybe something like WP 5.8.2 and 11.9)
Screenshots, screen recording, code snippet
Environment info
No response
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
The text was updated successfully, but these errors were encountered: