-
Notifications
You must be signed in to change notification settings - Fork 4.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
WordPress 5.8.1 backports #34393
WordPress 5.8.1 backports #34393
Conversation
(cherry picked from commit 626f233)
(cherry picked from commit 8afca1e)
* Widgets: Allow HTML tags in description * Use `dangerouslySetInnerHTML` Avoid `<div />` inside the `<p />` tag * Describe by dangerouslySetInnerHTML is used * Use safeHTML * Update comment
Don't include terms that aren't assigned to any posts as "most used" terms.
…33679) * FontSizePicker: Don't use units if the value is a number * Add unit tests * Disable units when we have number values
* Remove margin setting, auto right conflict with justify buttons * Per review, add little margin back
* Add error boundary to edit widgets screen * Add error boundary to customize widgets * Refactor sidebar controls provider to application level so that its state is not lost when re-initializing * Revert "Refactor sidebar controls provider to application level so that its state is not lost when re-initializing" This reverts commit 7d607ff. * Remove rebootability from customize widgets * Remove debug code
This updates the default batch processor to make multiple batch requests if the number of requests to process exceeds the number of requests that the batch endpoint can handle. We determine the number of requests that the batch endpoint can handle by making a preflight OPTIONS request to /batch/v1. By default it is 25 requests. See https://make.wordpress.org/core/2020/11/20/rest-api-batch-framework-in-wordpress-5-6/.
* Rework button block link UI to match RichText format implementation * Refine some more, determine visibility by selection and url state * Add e2e test * Also focus rich text when unlinking using a keyboard shortcut
Size Change: +1.43 kB (0%) Total Size: 1.05 MB
ℹ️ View Unchanged
|
Also, I know some of the commits cherry picked here were not marked with the label or appropriate milestone. My reasoning for including the first 4 commits in the list above was to avoid some problematic merge conflicts in the other commits that followed these. It may result in a few more packages being updated than necessary for the release, but it will make backporting any PRs with README updates much easier during 5.8.x. |
Adding also these two Reusable block PRs |
Looks like #30617 depends on #34170, and the latter isn't included in this PR. Adding the missing import would help, but the argument in the calls to |
The simpler way would be to access the name of the story through the imported object so we don't have to bring more unrelated code from #34170: import { store as editorStore } from '@wordpress/editor';
controls.select( edtiorStore.name ).selector();
That's a good strategy. I was initially surprised seeing some of PRs on the list, but it all makes sense 👍🏻 |
Yep, that's what I was suggesting 😄 |
In my opinion, both of these feel like they are bug fixes by way of enhancement/refinement and I think I'm more comfortable waiting until 5.9 to include these. If a few Gutenberg leads feel that this is important and low risk enough to include, I'm happy to reconsider. @talldan @gziolo would either of you be able to perform a partial cherry pick of the needed code? It's not clear to me where those imports would need to take place. |
@desrosj, any idea why some (or even all) CI jobs run twice when targeting WP release branches? I added two commits that should make static analysis CI jobs pass. |
Thanks!
Ah that is my fault. They are running twice because they are configured to happen on Looks like the performance tests are failing, but the failing test is a timeout. I've restarted it. |
This is a partial cherry pick of 2356b2d in order to fix the performance tests.
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.
It looks like CI checks pass now so we should be good to go 👍🏻
Just noting that the failing end-to-end tests were run on the |
Description
This cherry picks the following commits to the
wp/5.8
branch for inclusion in WordPress 5.8.1 (RC due out Wednesday, September 1, 2021.Partial cherry pick:
Trac ticket: https://core.trac.wordpress.org/ticket/54052.
Checklist:
*.native.js
files for terms that need renaming or removal).