[wp-trac] [WordPress Trac] #53801: Block-based Widgets Screen does action wp_footer after each Widget
WordPress Trac
noreply at wordpress.org
Thu Sep 2 23:13:30 UTC 2021
#53801: Block-based Widgets Screen does action wp_footer after each Widget
-------------------------------------+---------------------
Reporter: MadtownLems | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8.2
Component: Widgets | Version: 5.8
Severity: major | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------
Comment (by costdev):
Replying to [comment:30 Hareesh Pillai]:
> Defining both `width` and `max-width` as 0 seems redundant. One of them
can be removed.
Indeed, thanks!
Running changes for the next iteration are:
1. Remove `width: 0 !important`, as `max-width: 0 !important` will
override this anyway.
2. Add `!important` to `transform: translate(-9999px, -9999px)`.
I've also raised this ticket in CSS and Accessibility channels. Pending
further discussion, I'll be aiming to upload the next iteration on Monday.
In the meantime, please test
[https://core.trac.wordpress.org/attachment/ticket/53801/53801_css02.diff
the current patch] and let us know if you find any plugins/themes that
successfully inject content into the legacy widget previews.
**Only test ''existing'' plugins/themes** - We're all experienced enough
to know how to break this patch. We're specifically focusing on how likely
a break is in the wild.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53801#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list