-
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
Cherry Pick changes for WordPress 6.5 RC2 #59756
Conversation
* Add failing test * Fix returned proxy reference * Add more reference tests * Fix assignment of context objects * Update comment * Update changelog Co-authored-by: DAreRodz <darerodz@git.wordpress.org> Co-authored-by: c4rl0sbr4v0 <cbravobernal@git.wordpress.org>
…variants (#59066) * Font Library: Load/Unload the font face in browser when toggling the variants * Font Library: Unload the deleted font faces * Address feedback * replace repeated implementation by the use of a existing fuction * remove inaccurate comment * added a formatFontFace call to be able to match fonts in firefox too. --------- Co-authored-by: Matias Benedetto <matias.benedetto@gmail.com> --- Co-authored-by: arthur791004 <arthur791004@git.wordpress.org> Co-authored-by: matiasbenedetto <mmaattiiaass@git.wordpress.org> Co-authored-by: okmttdhr <okat@git.wordpress.org>
Fix erroneous escaping of ampersands to `u0026amp;`. This is done by using the [`rest_pre_insert_{$this->post_type}`](https://developer.wordpress.org/reference/hooks/rest_pre_insert_this-post_type/) _filter_ rather than the `rest_insert_wp_navigation` _action_. This avoids calling `wp_update_post` twice, which was the original reason of the issue, as it removed the backslash from the already-encoded entity. Unlinked contributors: kylekelly. Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: tjcafferkey <tomjcafferkey@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: draganescu <andraganescu@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: swissspidy <swissspidy@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: carolinan <poena@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: rcoll <rdcoll@git.wordpress.org>
A typo in font uploader string Co-authored-by: mujuonly <mujuonly@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
…from the home page (#59639) Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org>
…#59647) Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: SaxonF <saxonafletcher@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org> Co-authored-by: colorful-tones <colorful-tones@git.wordpress.org> Co-authored-by: sunil25393 <sunil25393@git.wordpress.org>
Unlinked contributors: oldrup. Co-authored-by: ellatrix <ellatrix@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: timnolte <tnolte@git.wordpress.org> Co-authored-by: justintadlock <greenshady@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org>
…ted (#59564) Co-authored-by: pbking <pbking@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org> Co-authored-by: matiasbenedetto <mmaattiiaass@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: mikachan <mikachan@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org> # Conflicts: # packages/dataviews/src/style.scss
…59708) Ensure scope is properly restored when an exception is thrown in a generator callback. For example, the following block should have the correct context in the catch block: try { yield Promise.reject( '💥' ); } catch ( err ) { getContext().error = err; } --- Co-authored-by: sirreal <jonsurrell@git.wordpress.org> Co-authored-by: DAreRodz <darerodz@git.wordpress.org> Co-authored-by: gziolo <gziolo@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: anton-vlasenko <antonvlasenko@git.wordpress.org> # Conflicts: # packages/interactivity/CHANGELOG.md
This pull request has changed or added PHP files. Please confirm whether these changes need to be synced to WordPress Core, and therefore featured in the next release of WordPress. If so, it is recommended to create a new Trac ticket and submit a pull request to the WordPress Core Github repository soon after this pull request is merged. If you're unsure, you can always ask for help in the #core-editor channel in WordPress Slack. Thank you! ❤️ View changed files❔ phpunit/blocks/block-navigation-block-hooks-test.php ❔ lib/load.php ❔ lib/compat/wordpress-6.6/block-bindings/pattern-overrides.php |
This comment was marked as resolved.
This comment was marked as resolved.
Size Change: +907 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
… being uploaded are valid font files. (#59648) * Font Library: check if file upload is valid font Fixes: #59578 Refactors the upload handler in order to check if files being uploaded are valid font files. * make sure error message is relevant * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * Update packages/edit-site/src/components/global-styles/font-library-modal/upload-fonts.js Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> * error message syntax * use WordPress yoda condition * Respect string freeze * Fix lint --------- Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> Co-authored-by: Dave Smith <getdavemail@gmail.com>
* PoC * Fix cmd + K with click * Adding mutually exclusive states * Sync internal state with format active state * Fix broken anchors for Links * Improve variable naming * Normalize more variable names * Fix sub formats breaking click to edit * Force constrainedTabbing for link ui * Handle nested formats * Revert change to hasLink var * Locate const at top of file * Improve comment * Add test for editing text * Improve var naming * Correct comments * Make new prop unstable * Revert useAnchor API --------- Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: jeryj <jeryj@git.wordpress.org> Co-authored-by: draganescu <andraganescu@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: bacoords <bacoords@git.wordpress.org> Co-authored-by: joedolson <joedolson@git.wordpress.org> Co-authored-by: annezazu <annezazu@git.wordpress.org> Co-authored-by: richtabor <richtabor@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
* don't set creating menu flag on menu switch * return Promises from the navigation menu ref changing functions to be able to clean state after ref is updated * update tests * await the menu creation * stub test updates * revert test changes and remove decorative promises * do not disable the UI when changing the navigation, disable the UI based on resolving menus * block the UI for menu switching too, update tests with some comments, undo the focus update * properly disable menu choices via their choices prop Co-authored-by: draganescu <andraganescu@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org> Co-authored-by: jeryj <jeryj@git.wordpress.org> Co-authored-by: getdave <get_dave@git.wordpress.org> Co-authored-by: afercia <afercia@git.wordpress.org> # Conflicts: # packages/block-library/src/navigation/edit/test/navigation-menu-selector.js
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
@youknowriad I've now finished the cherry picking. Please could you review the PR and merge when you are happy? |
…59769) Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
It includes all the backports from this Gutenberg PR WordPress/gutenberg#59756 Props get_dave, swissspidy, bernhard-reiter, youknowriad. See #60315. git-svn-id: https://develop.svn.wordpress.org/trunk@57814 602fd350-edb4-49c9-b593-d223f7449a82
It includes all the backports from this Gutenberg PR WordPress/gutenberg#59756 Props get_dave, swissspidy, bernhard-reiter, youknowriad. See #60315. Built from https://develop.svn.wordpress.org/trunk@57814 git-svn-id: http://core.svn.wordpress.org/trunk@57315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
It includes all the backports from this Gutenberg PR WordPress/gutenberg#59756 Props get_dave, swissspidy, bernhard-reiter, youknowriad. See #60315. Built from https://develop.svn.wordpress.org/trunk@57814 git-svn-id: https://core.svn.wordpress.org/trunk@57315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
It includes all the backports from this Gutenberg PR WordPress/gutenberg#59756 Reviewed by swissspidy. Merges [57814] to the to the 6.5 branch. Props get_dave, swissspidy, bernhard-reiter, youknowriad. See #60315. git-svn-id: https://develop.svn.wordpress.org/branches/6.5@57816 602fd350-edb4-49c9-b593-d223f7449a82
It includes all the backports from this Gutenberg PR WordPress/gutenberg#59756 Reviewed by swissspidy. Merges [57814] to the to the 6.5 branch. Props get_dave, swissspidy, bernhard-reiter, youknowriad. See #60315. Built from https://develop.svn.wordpress.org/branches/6.5@57816 git-svn-id: http://core.svn.wordpress.org/branches/6.5@57317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
What?
Cherry picking commits proposed for WP 6.5 RC 2.
Automated
save
shortcut #59647IS_GUTENBERG_PLUGIN
flag #59702Manual
Why?
Release workflow
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast