45135 Commits

Author SHA1 Message Date
Jorge Costa
c78c876173 Update WordPress packages.
Updates the WordPress packages to their most recent patch versions.

Props xknown, sergey, audrasjb.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52894 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 23:01:12 +00:00
Jb Audras
1b34d90183 WordPress 5.9.2.
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52874 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 22:00:39 +00:00
Jb Audras
0709236f2b External Librairies: Update jQuery.query to version 2.2.3.
This updates the "jquery-query" library from version 2.1.7 to 2.2.3.

Props jorbin, peterwilsoncc, xknown, audrasjb, jorgefilipecosta.
Merges [52844] to the 5.9 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52845 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 19:18:24 +00:00
Jb Audras
8cc9e53847 Themes: Remove the Live Preview link when installing a block theme from a zip archive.
This changeset removes the Live Preview link for block-based themes when installing for a zip archive, since the customizer is disabled by default for block themes.

Follow-up to [52353].

Props alanjacobmathew, hellofromTonya, antonvlasenko, ironprogrammer.
Fixes #54578.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52803 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-26 08:27:50 +00:00
Sergey Biryukov
67d7e50407 Post WordPress 5.9.1 version bump.
The 5.9 branch is now 5.9.2-alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52788 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-22 16:05:13 +00:00
Jb Audras
35cd881c66 WordPress 5.9.1.
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52786 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-22 15:15:08 +00:00
Jb Audras
d6e0fa764e Help/About: Update the About page for WordPress 5.9.1.
Props hellofromTonya, audrasjb.
Fixes #55173.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52785 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-22 11:03:05 +00:00
Jb Audras
fd74b1fa69 Twenty Twenty-Two: Bump theme version to 1.1.
This change bumps the version of the Twenty Twenty-Two bundled theme in preparation for release with WordPress 5.9.1.

Props peterwilsoncc, petaryoast, audrasjb, SergeyBiryukov, rafiahmedd.
Merges [52781] to the 5.9 branch.
Fixes #55056.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52782 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-21 21:13:36 +00:00
Jb Audras
bc9067bdd5 Post WordPress 5.9.1 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52771 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 21:46:21 +00:00
Jb Audras
f3c1894502 WordPress 5.9.1 RC1.
git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52770 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 21:22:23 +00:00
Tonya Mork
4c522660c0 Editor: Automatically apply global styles duotone filters to render in post editor.
Global styles duotone filters were not rendering in the post editor. This fixes that by adding `wp_global_styles_render_svg_filters` to the `in_admin_header` so it renders in the body before the editor.

Follow-up [52757].

Props ajlende, abhanonstopnewsuk.
Merges [52768] to the 5.9 branch.
Fixes #55190.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52769 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 20:49:37 +00:00
Tonya Mork
de80656938 Options: Disable transients while installing.
Prevent the transient setters and getters from attempting to use the database table before they exist during the installation process. 

During installation transients now use the `wp_cache_*()` functions on all sites, including those without a persistent cache, to prevent database errors. The use of the caching functions stores the data in memory for the duration of the request to account for transient data that is used multiple times during installation.

Props dd32, audrasjb, tnolte, antonvlasenko, noisysocks, peterwilsoncc.
Merges [52694] to the 5.9 branch.
Fixes #54849.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52767 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 19:51:30 +00:00
Jb Audras
632b4c9b70 Editor: Update block editor packages for WordPress 5.9.1.
The following packages were updated:

- @wordpress/block-directory@3.0.27
- @wordpress/block-editor@8.0.17
- @wordpress/block-library@6.0.26
- @wordpress/components@19.2.3
- @wordpress/core-data@4.0.10
- @wordpress/customize-widgets@2.0.27
- @wordpress/e2e-tests@2.5.18
- @wordpress/edit-post@5.0.27
- @wordpress/edit-site@3.0.27
- @wordpress/edit-widgets@3.1.22
- @wordpress/editor@12.0.21
- @wordpress/format-library@3.0.23
- @wordpress/interface@4.1.18
- @wordpress/list-reusable-blocks@3.0.20
- @wordpress/nux@5.0.20
- @wordpress/reusable-blocks@3.0.23
- @wordpress/server-side-render@3.0.20
- @wordpress/widgets@2.0.23

Props Mamaduka.
Merges [52765] to the 5.9 branch.
See #55179.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52766 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 19:40:17 +00:00
Tonya Mork
7a401187ce Editor: Adds an additional check to guard against incompete presets.
Adds an additional guard to ensure the value of `$preset_metadata['value_key']` actually exists as a key in the `$preset` array. Fixes `Warning: Undefined array key` error. 

Intentionally adds the check into the existing `isset()` as it's native to PHP, more efficient, and a good pattern.

Follow-up [52049].

Props jeherve, swissspidy, sergeybiryukov, jrf.
Merges [52763] to the 5.9 branch.
Fixes #55161.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52764 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 18:54:37 +00:00
Tonya Mork
2f1ca7986c Script Loader: Prevent normalizing data URIs in _wp_normalize_relative_css_links().
This prevents making data URIs as in `mask-image:url('data:image/svg+xml;utf8,<svg...` relative to the WordPress installation.

Props staatic.
Merges [52754] to the 5.9 branch.
See #54243.
Fixes #55177.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52762 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 17:58:11 +00:00
Sergey Biryukov
4a30e29a3d Filesystem API: Use a temp folder for Content-Disposition files.
#38231 added support for files fetched remotely to have their filename defined by the host using the `Content-Disposition` header. This would then take priority over the existing temporary file name created with `wp_tempnam()` earlier in the process.

The change unintentionally omitted the temporary directory path used during uploads, since the `wp_tempnam()` function would have added it previously, so that files with this header ended up being stored in the WordPress root folder, or wp-admin folder, when triggered by WP_Cron or user interactions respectively.

This change makes sure the file path includes the temporary directory location when the header is used.

Follow-up to [51939].

Props antonynz, azouamauriac, Clorith.
Merges [52734] and [52760] to the 5.9 branch.
Fixes #55109.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52761 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 17:42:09 +00:00
Jb Audras
4bdde1fb33 Editor: Backport Duotone fixes for 5.9.1.
This changeset is a backport for the following Gutenberg PRs:

- Fix duotone theme cache: https://github.com/WordPress/gutenberg/pull/36236
- Fix duotone render in non-fse themes gutenberg: https://github.com/WordPress/gutenberg/pull/37954
- Duotone: Allow users to specify custom filters gutenberg: https://github.com/WordPress/gutenberg/pull/38442

Props oandregal, scruffian, Mamaduka.
Merges [52757] to the 5.9 branch.
See #55179.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52759 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 17:29:04 +00:00
Jb Audras
37849d4e6d Docs: Typo corrections in class-wp-theme-json docblocks.
Props kebbet, hellofromtonya.
Merges [52692] to the 5.9 branch.
See #54729.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52758 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 17:20:27 +00:00
Tonya Mork
aa65a85a94 Editor: Grant only admins access to the "Navigation Menus" UI for block and non-block themes.
Restricts and grants access to only admin roles for the Navigation Menu UI screen, i.e. either directly through the URL wp-admin/edit.php?post_type=wp_navigation or via the Navigation block's "Manage menu" option (in the block's toolbar).

It resolves 2 issues:

- For non-block themes, fixes the issue where admins could not access the UI.
- For block themes, restricts access to only admin roles, i.e. non-admins no longer have access to the UI.

Non-admins will receive the "Sorry, you are not allowed to edit posts in this post type" error message.

Follow-up [52069], [52145], [52330], [52400].

Props ironprogrammer, costdev, noisysocks, talldanwp, hellofromTonya, manfcarlo, pyrobd.
Merges [52755] to the 5.9 branch.
Fixes #54889.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52756 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 15:44:02 +00:00
Jorge Costa
cbf7219423 Global Styles: Load the global styles before the theme styles in the editor.
This commit makes the site editor follow what we do in the front-end, where theme styles are loaded after global styles by default.

Props oandregal, ntsekouras.
Merges [52752] to the 5.9 branch.
Fixes #55188.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52753 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 14:17:18 +00:00
Jorge Costa
349bc33a26 Global Styles: Fix PHP warning in WP_REST_Global_Styles_Controller if no styles exist.
There is a PHP warning in WP_REST_Global_Styles_Controller because we are assuming that every theme.json has styles property, which is not always the case.

Props ntsekouras.
Merges [52750] to the 5.9 branch.
Fixes #54900.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52751 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 13:54:28 +00:00
Jorge Costa
1c560a4cd6 Script Loader: Improvements to the load block support styles mechanism.
This commit applies feedback given to commit 52741. It changes the new function name, the file where it is located, and improves its documentation and marks.

Follow-up to [52741].
Props hellofromtonya, swissspidy, oandregal.
Merges [52743] to the 5.9 branch.
See #55148.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52748 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 13:11:59 +00:00
Jorge Costa
70213b98a7 Script Loader: Load block support styles in the head for block themes.
The dynamic block styles for layout and elements should be loaded in the head for block themes. While that should also be the case for classic themes, the current mechanism we use (render_block) does not allow us to do that, hence, this PR doesn't change anything for them and will be loaded the body.

Props oandregal, youknowriad, wpsoul.
Merges [52741] to the 5.9 branch.
Fixes #55148.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52747 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 13:07:46 +00:00
Jb Audras
00452c7b30 Themes: Allow extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes.
This change updates methods visibility from `private` to `protected` and adds late static binding.

Original PRs from Gutenberg repository:
- https://github.com/WordPress/gutenberg/pull/38625
- https://github.com/WordPress/gutenberg/pull/38671

Props oandregal, Mamaduka, kapilpaul.
Merges [52744] to the 5.9 branch.
Fixes #55178.
See #55179.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52746 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 11:13:09 +00:00
Dominik Schilling
9a7e624857 Editor: Prevent front-end assets of a block from being enqueued in the block editor.
Since WordPress 5.9 you can set a view script for a block which is supposed to be only loaded on the front end. Unfortunately it's currently also loaded in the editor which can cause unexpected behaviour and also performance issues depending on the size of the scripts.
This is caused by the preloading of REST API routes via `block_editor_rest_api_preload()` which doesn't happen in an encapsulated process and so does pollute any global state like the one for scripts and styles.
Similar to the global `$post`, core now backups the globals `$wp_scripts` and `$wp_styles` and restores the backup after the preloading.

Props gziolo, ocean90.
Merges [52733] to the 5.9 branch.
Fixes #55151.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52745 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-17 09:09:12 +00:00
Jb Audras
b0eed4db69 Script Loader: Load block themes styles in the head section.
Previously, some logic was added to load the global stylesheet in the bottom of `<body>` for classic themes that opted-in into loading individual block styles instead of a single stylesheet for them all. At the time, block themes always loaded the global stylesheet in the `<head>`. When block themes landed in core during WordPress 5.9 this logic wasn’t updated to consider them, hence the global stylesheet loaded in the `<body>` for them. This changeset fixes this.

Props oandregal, aristath.
Merges [52738] to the 5.9 branch.
Fixes #55148.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52739 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-16 10:53:59 +00:00
Jb Audras
eb88321caf Administration: Fix a CSS issue on the Welcome Panel when the "Dashboard" heading is missing.
This change adds a CSS exception for when the "Dashboard" heading is missing or located below the Welcome Panel.

Props critterverse, sabernhardt, rolfsiebers, audrasjb.
Merges [52735] to the 5.9 branch.
Fixes #54977.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52736 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-15 18:27:05 +00:00
Jb Audras
e417119d55 Widgets: Missing markup from Widgets Group block.
This change fixes an issue in the Widgets editor: widgets group was missing a `.wp-widget-group__inner-blocks` container.

Props noisysocks, ironprogrammer.
Merges [52730] to the 5.9 branch.
Fixes #55072.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52731 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-15 10:31:46 +00:00
Peter Wilson
efe5e46bad External libraries: Update version string for hoverIntent.
Updating the version string will help invalidate caches, ensuring the new version of the library is loaded where applicable.

Follow-up to [52429].

Props david.binda, Clorith.
Merges [52673] to the 5.9 branch.
Fixes #54904.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52729 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-15 02:47:42 +00:00
Peter Wilson
3075d02e4b Editor: Only render term update notices on term screens.
Prevent blank notices from appearing when adding custom fields or terms in the post editor.

Props gadhiyaravi, Boniu91, ravipatel, sabernhardt, joedolson.
Fixes #54955. See #42937.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52728 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-15 02:43:24 +00:00
Jb Audras
93ece82f04 Twenty Twenty-One: Allow editor styles to control block margins.
This change removes some overrides that prevented site editor updates in 5.9 from controlling vertical margins via `var(--global--spacing-vertical)`.

Props stacimc, Boniu91, aristath, ironprogrammer, nidhidhandhukiya.
Merges [52726] to the 5.9 branch.
Fixes #54250.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52727 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-14 22:18:52 +00:00
Jb Audras
33244d025f Revert [52722].
This change was not intended to be backported to branch 5.9.

Unprops audrasjb.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52723 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-13 21:28:08 +00:00
Jb Audras
b9a082eb40 Twenty Fifteen: Add gradient background options using the theme color scheme.
This change implements gradient background options that fit the color scheme used in Twenty Fifteen.

Props ianbelanger, itsamoreh, pls78, audrasjb.
Fixes #49760.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52722 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-13 21:03:42 +00:00
Sergey Biryukov
0afadd5e97 Update mergeinfo for the 5.9 branch.
Follow-up to [52541], [52542], [52579], [52590], [52632], [52688], [52709], [52712], [52714], [52715].

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52720 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-12 15:10:54 +00:00
Jb Audras
46aa3820a6 Query: Check if the theme supports block-templates before calling locate_block_template() in get_query_template().
This change improves performance for classic themes by removing an unnecessary query and fixes an issue where a classic theme would show "Empty template: Index" on the frontend when an empty `(block-)templates/index.html` file exists.

Props johnbillion, ianatkins, Mamaduka, costdev, manfcarlo, dolphingg, audrasjb, madeinua, kapilpaul, rafiahmedd, SergeyBiryukov.
Merges [52697] to the 5.9 branch.
Fixes #54844.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52716 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-12 07:45:56 +00:00
Jb Audras
5a7a70a3e8 Script Loader: Prevent normalizing HTML IDs in _wp_normalize_relative_css_links().
This change fixes an issue where `_wp_normalize_relative_css_links()` was not only matching urls, but also HTML IDs.

Follow-up to [52036].

Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52715 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 22:51:16 +00:00
Jb Audras
cdf06613d9 Script Loader: Prevent normalizing HTML IDs in _wp_normalize_relative_css_links().
This change fixes an issue where `_wp_normalize_relative_css_links()` was not only matching urls, but also HTML IDs.

Follow-up to [52036].

Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52714 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 22:42:14 +00:00
Sergey Biryukov
0f343369d6 Upgrade/Install: Make sure the "Show hidden updates" button is visible and works as expected.
The [https://api.jquery.com/toggle-event/ .toggle( handler, handler )] method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. 

This commit updates the click handler function to work with jQuery 1.9+.

Follow-up to [9441], [9543], [42785], [48323].

Props malinevskiy, Boniu91, SergeyBiryukov.
Merges [52644] to the 5.9 branch.
Fixes #54886.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52713 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 22:09:35 +00:00
Jb Audras
f86f3d6712 Editor: Remove standard post type UI for templates and template parts.
In [52158] the standard post type UI was added back for templates and template parts, because these features had been temporarily removed from the site editor in the rush to get 5.9 ready for December. Since 5.9 these features were properly added back to the site editor, the `show_ui` values for these post types should be returned back to `false`.

Follow-up to [52158].

Props manfcarlo, audrasjb.
Merges [52668] to the 5.9 branch.
Fixes #54908.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52712 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 21:36:23 +00:00
Sergey Biryukov
64ccc06c85 Twenty Twenty-Two: Fix headings consistency in Pricing table pattern.
This change fixes a consistency issue where "Pigeon" was a h3, while "Sparrow" and "Falcon" were h2. Let's treat these birds equally 🐦

Props kjellr, jffng, audrasjb.
Merges [52681] to the 5.9 branch.
Fixes #54929.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52711 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 21:28:08 +00:00
Sergey Biryukov
a091ce2d38 Twenty Twenty-Two: Optimize the assets/images/ducks.jpg image.
The new file should have a much better balance of quality and file size.

Follow-up to [52081], [52107].

Props kafleg, kjellr, jffng, kapilpaul.
Merges [52651] to the 5.9 branch.
Fixes #54911.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52710 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 21:10:19 +00:00
Sergey Biryukov
513b728a6a Twenty Twenty-Two: Update mergeinfo after [52688].
See #54944, #55103.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52709 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 21:08:03 +00:00
Jb Audras
5b2cd50023 Twenty Twenty-Two: Remove negative side margins on group blocks with a background.
This change fixes an issue where applying a background color to a group block aligned it to the left in the editor.

Props eddystile, audrasjb, webmandesign, sabernhardt, petaryoast, kjellr.
Merges [52679] and [52686] to the 5.9 branch.
Fixes #54944, #55103.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52688 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-07 14:56:13 +00:00
Sergey Biryukov
f0180f59ea Tests: Rename the test file and class for wp_get_global_stylesheet() tests.
This matches the name of the function being tested.

Follow-up to [52675-52677].

Merges [52682] to the 5.9 branch.
See #54782.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52683 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-05 13:23:53 +00:00
Sergey Biryukov
a5c59978a2 Themes: Fix for Classic themes using default presets.
This commit makes the presets provided by the theme via `add_theme_support()` always create CSS Custom Properties, whether or not the theme has a `theme.json` file. This way, if the theme overwrites a core preset, the core CSS variables are also overwritten and use the theme value.

Props oandregal, hellofromTonya, desrosj, costdev, pbearne, johnstonphilip, webmandesign, jorgefilipecosta, SergeyBiryukov.
Merges [52675-52677] to the 5.9 branch.
Fixes #54782.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52678 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-04 14:46:27 +00:00
Peter Wilson
871afd0205 Twenty Twenty-Two: Replace GitHub with .org link in Theme URI.
Theme URI is the URL of a public web page where users can find more information about the theme. For bundled themes, it should be a link to the theme’s page on the Theme Repository.

Props kafleg, audrasjb.
Merges [52658] to the 5.9 branch.
Fixes #55018.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52667 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-03 00:18:18 +00:00
Peter Wilson
6ecf6ee9c9 Twenty Twenty-Two: Make 404 pattern search label and button translatable.
This changes makes the Twenty Twenty-Two "hidden-404" pattern fully prepared for translation.

Props kjellr, walbo, audrasjb.
Merges [52664] to the 5.9 branch.
Fixes #54928.


git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52666 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-03 00:13:55 +00:00
Peter Wilson
f8ce6e2da0 External libraries: Update jQuery UI to 1.13.1
Some regressions happened alongside the release of jQuery UI 1.13.0, this brings the fixes from 1.13.1 downstream to WordPress, notably relating to Widget, Autocomplete, Sortable, and Tooltip modules.

See the changelog between version 1.13.0 and 1.13.1 at https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1

Props blogaid, linux4me2, mgol, Clorith.
Merges [52648] to the 5.9 branch.
Fixes #54902.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52665 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-03 00:02:28 +00:00
Peter Wilson
dd1c0af37c Upgrade: Prevent warnings upgrading cron array.
An unvisited site may have an undefined cron array, resulting in `_get_cron_array()` returning the value `false`. Previously this would trigger warning in `upgrade_590()` as the function assumed `_get_cron_array()` would alway return an array.

No database version change is required as the upgrade routine was successful on sites with a cron array during 5.9.0. On sites without a cron array, the error has already been thrown if they are running db version 51917. This fix is only required for new sites or those upgrading that have skipped 5.9.0.

Follow up to [51917].

Props chrisvanpatten, kapilpaul, SergeyBiryukov, audrasjb.
Merges [52656] and [52662] to the 5.9 branch.
Fixes #54906.
See #53940.



git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52663 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-02 23:24:40 +00:00
Sergey Biryukov
7c346cf7b4 Post WordPress 5.9 version bump.
The 5.9 branch is now 5.9.1-alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52643 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-25 21:30:10 +00:00