-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Commits on Mar 11, 2024
-
Interactivity API: Fix context object proxy references (#59553)
* 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>
Configuration menu - View commit details
-
Copy full SHA for dcce36d - Browse repository at this point
Copy the full SHA dcce36dView commit details -
Font Library: Load/Unload the font face in browser when toggling the …
…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>
Configuration menu - View commit details
-
Copy full SHA for 59e7d64 - Browse repository at this point
Copy the full SHA 59e7d64View commit details -
Navigation Block: Fix erroneous escaping of ampersands (etc) (#59561)
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>
Configuration menu - View commit details
-
Copy full SHA for b455d76 - Browse repository at this point
Copy the full SHA b455d76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c42446 - Browse repository at this point
Copy the full SHA 3c42446View commit details -
Site Editor: Fix Global Styles outdated output (#59628)
Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 984ede0 - Browse repository at this point
Copy the full SHA 984ede0View commit details -
Add pattern title in create modal in post editor (#59550)
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>
Configuration menu - View commit details
-
Copy full SHA for 4e8563f - Browse repository at this point
Copy the full SHA 4e8563fView commit details -
Fix typo in Dataviews Pagination and Font Collection components (#59656)
Co-authored-by: rcoll <rdcoll@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 4958400 - Browse repository at this point
Copy the full SHA 4958400View commit details -
Font Library: Fix typo in upload text (#59655)
A typo in font uploader string Co-authored-by: mujuonly <mujuonly@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for b3c9f8b - Browse repository at this point
Copy the full SHA b3c9f8bView commit details -
List view: fix stuck moving animation on Enter (#59644)
Co-authored-by: ellatrix <ellatrix@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for c66577a - Browse repository at this point
Copy the full SHA c66577aView commit details -
Site Editor: Restore the back button when navigating to the template …
…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>
Configuration menu - View commit details
-
Copy full SHA for 67b216a - Browse repository at this point
Copy the full SHA 67b216aView commit details -
Site editor: Fix opening of save panel when using the
save
shortcut (……#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>
Configuration menu - View commit details
-
Copy full SHA for 00fcb56 - Browse repository at this point
Copy the full SHA 00fcb56View commit details -
Code block: preserve newlines (#59627)
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>
Configuration menu - View commit details
-
Copy full SHA for b78d306 - Browse repository at this point
Copy the full SHA b78d306View commit details -
Implement pattern overrides behind
IS_GUTENBERG_PLUGIN
flag (#59702)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>
Configuration menu - View commit details
-
Copy full SHA for dee8699 - Browse repository at this point
Copy the full SHA dee8699View commit details -
Ensure that errors reported from uploading font files are not duplica…
…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>
Configuration menu - View commit details
-
Copy full SHA for 77aff9d - Browse repository at this point
Copy the full SHA 77aff9dView commit details -
Dataviews: Fix sticky table headers (#59467)
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
Configuration menu - View commit details
-
Copy full SHA for e67cb2f - Browse repository at this point
Copy the full SHA e67cb2fView commit details -
Interactivity: Restore scope on thrown exception in async callback (#…
…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
Configuration menu - View commit details
-
Copy full SHA for 588cc8b - Browse repository at this point
Copy the full SHA 588cc8bView commit details -
Font Library: Refactors the upload handler in order to check if files…
… 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>
Configuration menu - View commit details
-
Copy full SHA for 7719a93 - Browse repository at this point
Copy the full SHA 7719a93View commit details -
Fix allow mouse users to edit link text when Link UI is active (#59635)
* 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>
Configuration menu - View commit details
-
Copy full SHA for 7080b67 - Browse repository at this point
Copy the full SHA 7080b67View commit details -
Fix create menu after menu switch (#59630)
* 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
Configuration menu - View commit details
-
Copy full SHA for b2128cd - Browse repository at this point
Copy the full SHA b2128cdView commit details
Commits on Mar 12, 2024
-
Site Editor: Fix selected featured image when opening media library (#…
…59769) Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for e5f7dd6 - Browse repository at this point
Copy the full SHA e5f7dd6View commit details