-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
WordPress 5.4.1 Backports #21800
WordPress 5.4.1 Backports #21800
Conversation
Co-authored-by: roo2 <roo2@protonmail.com>
Including all of the vars, while we really only need one.
@jorgefilipecosta this is ready to go. I had to add the grid system in that last commit. |
@whyisjake, is there context behind adding commit a0d2c64? |
Thanks, that makes sense. Edit: I've updated the PR description to reflect the role of a0d2c64 |
Looks good overall, but @youknowriad could you confirm for Fix keyboard block duplication (#21317)? I'm not sure about the testing instructions (cmd+shift+enter to duplicate?). |
I confirm duplication using the keyboard shortcut works in this PR, it was broken before (JS error) |
@@ -1,7 +1,14 @@ | |||
.wp-block-buttons .wp-block-button { | |||
display: inline-block; | |||
margin: $grid-size-small; | |||
margin-right: $grid-unit-10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During previous cherry-picks (e.g: during 5.4 RC) we opted for not include the new grid system and just change the variable to their equivalents e.g: $grid-unit-10 would be $grid-size in the "old system". But in retrospective probably including the grid system from the start would have been a safer and easier choice, so I don't have anything against including the new grid variables (I regret not having done it sooner). cc: @youknowriad in case you think including the grid system may have an undesirable side effect in future cherry-picks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine to include it, it's harmless
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good in my tests 👍
Description
Bringing in the following changes:
imageDimensions
is empty (Fix the latest-posts block whenimageDimensions
is empty #21070) …These tickets are form this label: Backport to WP Core