-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected or missing limited Global Styles notices #81628
Comments
Support References This comment is automatically generated. Please do not edit it.
|
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO I SU'd into the owner of the the following sites:
In all sites, the editor does not show any warning about custom styles, but viewing the homepage while logged in shows the warning. Additionally, their sites contain Styles Revisions , but the styles can't be reset (which should mean there are no custom styles saved currently):
📌 ACTIONS
|
They should be able to use the revision list to set back to the initial styles, but yes the 'Reset to defaults' menu item is greyed out. |
Global Styles customisations are stored in a custom post type. For all of the sites mentioned the post corresponding to their active theme includes this:
So they technically have global styles customisations saved, but those customizations are effectively blank. I'm not sure how or why they were able to have an effectively blank GS saved but they have and so must many other people. We could track down this behaviour, fix it and remove the affected data....but it's probably easier to make our front-end upgrade notice resilient to "empty" customisations. |
It's the empty |
Behaviours was removed from GB16.7, so there's possibly nothing to be done upstream about the revisions really. I'll update our allowlist that I linked above so we're not displaying the notices any longer. |
Thanks. We've got a couple of folks to follow up with here. |
@supernovia is this a note for the Chiron team, or are you requesting a batch reply for this? I'm not sure this one warrants a batch reply from my side of things (they can be a slog, and there aren't a ton of interactions here). If I'm understanding @dsas 's last comment, it seems the users should stop seeing the notices, so there's nothing users need to take action on for that fix to reach them, which is another reason I'm thinking that a batch reply wouldn't really be worth the effort here. |
Yep, that's right. The bugfix has been deployed and the notices should disappear without any action from the users. I've verified the deployment with the first blog in the initial list. |
Since these are in the forums with multiple people involved in the threads, it's a nice look for us to update when the issues are solved. We can get that! |
Seems that under some circumstances, we're either displaying the "Your site includes customized styles" notice in the frontend incorrectly, or maybe we're showing it correctly but it's missing in the site editor.
I'm unable to reproduce the issue, but I spotted a couple of tickets where it's definitely happening:
The text was updated successfully, but these errors were encountered: