Commit Graph

48038 Commits

Author SHA1 Message Date
audrasjb
0be4374921 REST API: Limit search_columns for users without list_users.
Props Vortfu, jorbin, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis.
Reviewed by jorbin, audrasjb.




Built from https://develop.svn.wordpress.org/branches/6.3@56840


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 13:10:26 +00:00
audrasjb
638bbbf0a4 Post WordPress 6.3.2 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56795


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-06 15:02:23 +00:00
audrasjb
3bfcbef6da WordPress 6.3.2 RC1.
Built from https://develop.svn.wordpress.org/branches/6.3@56794


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-06 14:50:26 +00:00
audrasjb
e0b57aaef1 Themes: Fix core block style paths on Windows.
This is a follow-up to [56528], which normalizes the `BLOCKS_PATH` for Windows prior to making paths relative for caches during the registration process. Prior to 
this change, incorrect file paths would lead to broken styles for core blocks on Windows.

Props wildworks, pbiron, flixos90, joemcgill.
Merges [56785] to the 6.3 branch.
Fixes #59489. See #59111.




Built from https://develop.svn.wordpress.org/branches/6.3@56789


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-05 17:15:26 +00:00
audrasjb
4c03f712bc Upgrade/Install: Check plugin compatibility during bulk upgrades.
Previously, bulk upgrades did not verify that a plugin package was compatible with the site's WordPress version or the server's PHP version. This could lead to 
incompatible updates being installed, causing various compatibility issues and errors.

This change implements the following checks:

- If available, the API response's `requires` and `requires_php` values are checked for compatibility. This saves time, diskspace, memory and file operations by 
failing the upgrade before the package is downloaded and unpacked.
- If the API check passes, the downloaded and unpacked package is verified using `Plugin_Upgrader::check_package()` to ensure a plugin file is present, and the 
plugin's "RequiresWP" and "RequiresPHP" headers are compatible, if present. This ensures that a mismatch between the API response and the plugin file's headers does 
not cause an incompatible plugin to be installed.

Props salcode, afragen, mukesh27, iammehedi1, zunaid321, johnbillion, SergeyBiryukov, costdev, nicolefurlan, audrasjb, nicolefurlan.
Merges [56525] to the 6.3 branch.
Fixes #59198.

--

_M   6.3
M    6.3/src/wp-admin/includes/class-plugin-upgrader.php

Built from https://develop.svn.wordpress.org/branches/6.3@56787


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-05 15:10:23 +00:00
audrasjb
2d724f358c Editor: Update packages with bug fixes for 6.3.2
Updates editor npm packages to latest patch versions for the 6.3.x branch.
This changeset is specifically for the 6.3 release branch. It pulls the changes from [56520] and rebuilds them with 6.3's older node version.

Props ramonopoly, isabel_brison.
Merges [56520] to the 6.3 branch.
Fixes #59293.




Built from https://develop.svn.wordpress.org/branches/6.3@56786


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-05 15:05:08 +00:00
audrasjb
9a5c4b6919 Twenty Twenty: Fix style issues within iframed editor.
This changeset:
- Replaces `body` with `html` for the first CSS selector that makes text white against a dark background
- Moves `twentytwenty_block_editor_styles()` from the `enqueue_block_editor_assets` action to `enqueue_block_assets` for WordPress 6.3 and later
- Removes the obsolete `twentytwenty-block-editor-script` from the styles function to avoid an error in the iframe

Props floydwilde, poena, huzaifaalmesbah, greenshady, sabernhardt, audrasjb, pooja1210, shailu25, joemcgill.
Merges [56783] to the 6.3 branch.
Fixes #59086.




Built from https://develop.svn.wordpress.org/branches/6.3@56784


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-04 22:16:26 +00:00
audrasjb
2b4b283c35 Build Tools: Avoid doing copy:dynamic when running grunt watch when using --dev option.
This prevents erroneously copying a file from source onto itself in source.

Props westonruter, jorbin.
Merges [56461] to the 6.3 branch.
Fixes #59196.




Built from https://develop.svn.wordpress.org/branches/6.3@56782


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-04 19:50:26 +00:00
audrasjb
173c028dd5 REST API: Remove misleading comment in WP_REST_Blocks_Controller->get_item_schema.
In r56093 schema caching was added above a comment instructing developers not to cache that controller's schema. However, there is no obvious penalty for re-caching 
schema that is partially derived from a parent.

Caching schema in the same way in every controller is beneficial consistency, and discussion at WCUS2023 contributor day concluded we could remove this comment.

Props ahardyjpl, davidbinda, johnjamesjacoby, TimothyBlynJacobs, kadamwhite.
Fixes #59193.
See #58657.




Built from https://develop.svn.wordpress.org/branches/6.3@56781


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-04 19:41:24 +00:00
audrasjb
c382748f6c Editor: Preserve block style variations when securing theme.
Adds the ability to process block style variations to the `remove_insecure_properties` function of theme json class.

Props dsas, ramonopoly, dean, isabel_brison, joemcgill, audrasjb.
Merges [56502] and [56778] to the 6.3 branch.
Fixes #59108.




Built from https://develop.svn.wordpress.org/branches/6.3@56779


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-04 19:10:26 +00:00
audrasjb
a394649eb3 Post Types: allow trashing draft patterns.
Adds `delete_posts` to capabilities for the `wp_block` post type.

Props ramonopoly, johnbillion, dhruvishah2203, audrasjb, isabel_brison, joemcgill.
Merges [56577] to the 6.3 branch.
Fixes #59041.




Built from https://develop.svn.wordpress.org/branches/6.3@56777


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-04 18:51:24 +00:00
audrasjb
8d3525d461 Editor: Fix loading of assets in blocks in child themes where the directory name starts with the parent theme's directory name.
Props lgladdy, masteradhoc, audrasjb, rajinsharwar, azaozz.
Merges [56527] to the 6.3 branch.
Fixes #59018.




Built from https://develop.svn.wordpress.org/branches/6.3@56776


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-04 18:47:26 +00:00
danielbachhuber
5b7940ecfd Editor: Prevent possibility of a fatal error when previewing block themes.
Ensures that preview callbacks attached to the `stylesheet` and `template` filters do not run before `pluggable.php` has been included. These callbacks need functionality from `pluggable.php`.

Props scruffian, johnbillion, SergeyBiryukov, okat, azaozz.
Merges [56529] and [56757] to the 6.3 branch.
Fixes #59000.

Built from https://develop.svn.wordpress.org/branches/6.3@56758


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-02 22:56:24 +00:00
costdev
578d633a14 Editor: Don't use fluid layout value in typography.
Changes fluid typography calculation to use fallback value if layout wide size is a fluid value.

Props ramonopoly, mukesh27, jastos, aurooba.
Merges [56503] to the 6.3 branch.
Fixes #58754.
Built from https://develop.svn.wordpress.org/branches/6.3@56737


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-27 19:00:26 +00:00
Bernhard Reiter
f95491ba6c HTML API: Remove all duplicate copies of an attribute when removing.
When encountering an HTML tag with duplicate copies of an attribute the tag processor ignores the duplicate values, according to the specification. However, when removing an attribute it must remove all copies of that attribute lest one of the duplicates becomes the primary and it appears as if no attributes were removed.

In this patch we're adding tests that will be used to ensure that all attribute copies are removed from a tag when one is request to be removed.

**Before**

{{{#!php
<?php
$p = new WP_HTML_Tag_Processor( '<br id=one id="two" id='three' id>' );
$p->next_tag();
$p->remove_attribute( 'id' );
$p->get_updated_html();
// <br id="two" id='three' id>
}}}

**After**

{{{#!php
<?php
$p = new WP_HTML_Tag_Processor( '<br id=one id="two" id='three' id>' );
$p->next_tag();
$p->remove_attribute( 'id' );
$p->get_updated_html();
// <br>
}}}

Previously we have been overlooking duplicate attributes since they don't have an impact on what parses into the DOM. However, as one unit test affirmed (asserting the presence of the bug in the tag processor) when removing an attribute where duplicates exist this meant we ended up changing the value of an attribute instead of removing it.

In this patch we're tracking the text spans of the parsed duplicate attributes so that ''if'' we attempt to remove them then we'll have the appropriate information necessary to do so. When an attribute isn't removed we'll simply forget about the tracked duplicates. This involves some overhead for normal operation ''when'' in fact there are duplicate attributes on a tag, but that overhead is minimal in the form of integer pairs of indices for each duplicated attribute.

Props dmsnell, zieladam.
Merges [56684] to the 6.3 branch.
Fixes #58119.
Built from https://develop.svn.wordpress.org/branches/6.3@56685


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-25 19:15:29 +00:00
costdev
64e87a4b3a Build/Test Tools: Add sys_get_temp_dir() to open_basedir tests.
In PHPUnit 10.3.5, 9.6.13 and 8.5.34, the child processes used for process isolation now use temporary files to communicate their result to the parent process.

This caused a failure in some tests that set the `open_basedir` PHP directive to a value that did not include `sys_get_temp_dir()`.

This adds `sys_get_temp_dir()` to the `open_basedir` value set by the tests to ensure that permission is still granted for the temporary directory.

PHPUnit uses `sys_get_temp_dir()`. To ensure the result is the same, Core's `get_temp_dir()` function is not used.

References:
- https://github.com/sebastianbergmann/phpunit/issues/5356

Props desrosj, mukesh27, SergeyBiryukov, costdev.
Merges [56622] to the 6.3 branch.
See #59394.
Built from https://develop.svn.wordpress.org/branches/6.3@56624


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-19 17:15:27 +00:00
costdev
1a4de64fdf Upgrade/Install: Fix broken sprintf() call when deleting a backup.
In `WP_Upgrader::delete_temp_backup()`, a malformed `sprintf()` call did not pass the value, triggering a Warning in PHP 7 and a Fatal Error in PHP 8.

This fixes the malformed `sprintf()` call by correctly passing the value.

Follow-up to [55720].

Props akihiroharai, afragen.
Merges [56550] to the 6.3 branch.
Fixes #59320.
Built from https://develop.svn.wordpress.org/branches/6.3@56582


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-14 10:43:25 +00:00
Bernhard Reiter
7fcf396c9e HTML API: Skip over contents of RAWTEXT elements such as STYLE.
When encountering elements that imply switching into the RAWTEXT parsing state,
the Tag Processor should skip processing until exiting the RAWTEXT state.

In this patch the Tag Processor does just that, except for the case of the
deprecated XMP element which implies further and more complicated rules.

There's an implicit assumption that the SCRIPT ENABLED flag in HTML parsing
is enabled so that the contents of NOSCRIPT can be skipped. Otherwise, it would
be required to parse the contents of that tag.

Props dmsnell.
Merges [56563] to the 6.3 branch.
Fixes #59292.
Built from https://develop.svn.wordpress.org/branches/6.3@56564


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-13 12:55:27 +00:00
desrosj
b8cb69c8e3 Build/Test Tools: Restore automatically retrying failed E2E tests once.
This restores the GitHub Actions job responsible for automatically retrying a failed workflow once within the E2E testing workflow.

[56198] disabled Slack notifications for this workflow because of the increased number of timeout errors occurring after recent changes until they could be further investigated. Even though the signal-to-noise ration was way too high, there’s still benefit in retrying the workflow once to see if the timeout can be resolved without human intervention. The one retry attempt will not result in any Slack notifications.

Follow up to [56198].
Merges [56308] to the 6.3 branch.
See #58779.
Built from https://develop.svn.wordpress.org/branches/6.3@56539


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-07 17:14:27 +00:00
Felix Arntz
7504b598ed Themes: Avoid stale caches for core block styles.
This fixes an issue introduced in [56044] in which the path to core block styles are cached to avoid expensive file operations on every page load. The original caching strategy is now modified so that only the path relative to the blocks location are stored, rather than the full path, since the path to the `wp-includes`` folder can change after the value is generated. The new cached value also includes the current WordPress version value to ensure it is rebuilt when the version changes.

Props lhe2012, coreyw, colorful tones, petitphp, mukesh27, spacedmonkey, joemcgill, flixos90, kimannwall, desmith.
Merges [56524] to the 6.3 branch.
Fixes #59111.

Built from https://develop.svn.wordpress.org/branches/6.3@56528


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-06 21:34:24 +00:00
Felix Arntz
2cdc8ec43a Posts, Post Types: Reinstate missing sort_column options in get_pages().
This fixes an issue introduced in [55569] that broke sort ordering by `post_modified_gmt` or `modified_gmt`.

Props david.binda, azaozz, spacedmonkey, flixos90, joemcgill.
Merges [56490] to the 6.3 branch.
Fixes #59226.

Built from https://develop.svn.wordpress.org/branches/6.3@56517


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-05 20:48:24 +00:00
Felix Arntz
bedc3be9f2 Posts, Post Types: Avoid redundant SQL query in get_pages().
This avoids an additional query by passing the query args directly to the `WP_Query::query()` method, rather than to the constructor and calling get_posts(), following [55569].

Props david.binda, azaozz, spacedmonkey, mukesh27, flixos90, SergeyBiryukov, joemcgill.
Merges [56491] to the 6.3 branch.
Fixes #59224.

Built from https://develop.svn.wordpress.org/branches/6.3@56516


git-svn-id: http://core.svn.wordpress.org/branches/6.3@56028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-05 20:45:29 +00:00
audrasjb
f732f19520 Post WordPress 6.3.1 version bump.
The 6.3 branch is now `6.3.2-alpha`.




Built from https://develop.svn.wordpress.org/branches/6.3@56487


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-29 14:48:26 +00:00
audrasjb
c420ae07ae WordPress 6.3.1.
Built from https://develop.svn.wordpress.org/branches/6.3@56485


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-29 14:10:25 +00:00
audrasjb
0568e56073 Help/About: Update the About page for 6.3.1.
Props audrasjb, mukesh27.
Reviewed by SergeyBiryukov.
Fixes #59180.




Built from https://develop.svn.wordpress.org/branches/6.3@56483


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-29 09:40:29 +00:00
Peter Wilson
8bafa5d18b Block Editor: Update SVN props to ignore new asset files.
Update svn props to ignore additional CSS files added to WordPress 6.3.

Merges [56463] to the 6.3 branch.
Fixes #59197.

Built from https://develop.svn.wordpress.org/branches/6.3@56465


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-24 21:12:24 +00:00
audrasjb
7ef1de02ae Post WordPress 6.3.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56432


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 21:30:28 +00:00
audrasjb
d17e7baf7c WordPress 6.3.1 RC1.
Built from https://develop.svn.wordpress.org/branches/6.3@56431


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 21:12:28 +00:00
Sergey Biryukov
29017af114 Docs: Correct duplicate hook reference for wp_min_priority_img_pixels.
The original filter location is `wp_maybe_add_fetchpriority_high_attr()` in `wp-includes/media.php`.

This commit updates the instance in `wp_get_loading_optimization_attributes()` to point to the correct file.

Follow-up to [56037], [56143], [56347].

Props tmatsuur, rajinsharwar, khokansardar.
Reviewed by azaozz, audrasjb.
Merges [56386] to the 6.3 branch.
Fixes #59067.
Built from https://develop.svn.wordpress.org/branches/6.3@56429


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 14:02:26 +00:00
audrasjb
77191b645c Site Health: Correct the check for disk space available to safely perform updates.
If the available disk space exceeds the `PHP_INT_MAX` value, i.e. a 32-bit PHP version is in use with more than 2 GB free, the type casting to `(int)` could cause 
an overflow, and the Site Health test would then erroneously report that there is not enough free space.

This commit removes the unnecessary type casting and uses the result from `disk_free_space()` directly.

Includes optimizing the logic to skip further checks if the available disk space could not be determined.

Follow-up to [55720].

Props mathsgrinds, Presskopp, rajinsharwar, SergeyBiryukov.
Reviewed by azaozz, audrasjb.
Merges [56401] to the 6.3 branch.
Fixes #59116.




Built from https://develop.svn.wordpress.org/branches/6.3@56428


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 13:31:22 +00:00
audrasjb
82e625f72f Users: Correct the logic for switch_to_blog() in WP_User_Query::generate_cache_key().
If `$blog_id` equals `0`, it should be treated as the current site ID, and there is no need to switch to a different site.
This commit prevents an unnecessary call to `switch_to_blog()` on single site to avoid a fatal error when using `'orderby' => 'post_count'` and the deprecated 
`'who' => 'authors'` parameter:

`Uncaught Error: Call to undefined function switch_to_blog() in wp-includes/class-wp-user-query.php:1077`

Follow-up to [55657].

Props dd32, austinginder, RavanH, mukesh27.
Reviewed by azaozz, audrasjb.
Merges [56381] to the 6.3 branch.
Fixes #59011.




Built from https://develop.svn.wordpress.org/branches/6.3@56427


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-23 13:23:24 +00:00
audrasjb
544ca05b84 Editor: Fix error handling of converting classic to block menus.
Fixes the error handling for when `WP_Classic_To_Block_Menu_Converter::convert()` returns an instance of `WP_Error`. 
`WP_Navigation_Fallback::create_classic_menu_fallback()` now checks for `is_wp_error()` and if `true`, returns the error. And the `@return` type is updated to 
`string|WP_Error`.

Also includes a fix in the return type in `WP_Classic_To_Block_Menu_Converter::convert()` to return an empty string instead of an array instead, i.e. when bailing 
out for no menu items returned by `wp_get_nav_menu_items()`. The return type is clearly documented as a string.

Follow-up to [56052].

Props dlh, get_dave, antonvlasenko, hellofromTonya.
Reviewed by azaozz, audrasjb.
Merges [56422] to the 6.3 branch.
Fixes #58823.

 --Cette ligne, et les suivantes ci-dessous, seront 
ignorées--

_M   .
M    src/wp-includes/class-wp-classic-to-block-menu-converter.php
M    src/wp-includes/class-wp-navigation-fallback.php
M    tests/phpunit/tests/editor/classic-to-block-menu-converter.php

Built from https://develop.svn.wordpress.org/branches/6.3@56426


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-22 20:59:24 +00:00
audrasjb
e4d4ef8f0e General: Revert the last use of str_starts_with() in update-core.php.
Fixes updating WordPress from 5.7 and earlier versions. When doing the update this file runs first in the old version where the polifills may not be available.

Props frankit, azaozz.
Reviewed by audrasjb.
Merges [56417] to the 6.3 branch.
Fixes #59145.



Built from https://develop.svn.wordpress.org/branches/6.3@56425


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-22 12:47:25 +00:00
audrasjb
a2e308dfb5 Editor: update npm packages with critical bug fixes for 6.3.1.
Includes fixes for footnotes and editor styles related crashes, as well as a cut and paste-related crash.

This changeset partially merges [56419] to the 6.3 branch as the package-lock had to be rebuilt due to the release branch still using node 14.x.x, and some manual 
editing was necessary due to the unresolved floating-ui dependency issue.

Props ramonopoly, isabel_brison.
Reviewed by azaozz, audrasjb.
Merges [56419] to the 6.3 branch.
See #59151.



Built from https://develop.svn.wordpress.org/branches/6.3@56423


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-22 10:00:06 +00:00
davidbaumwald
69fd66e6c1 Bump version in package-lock.json.
Props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/branches/6.3@56375


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 20:49:24 +00:00
davidbaumwald
164567daca Update package.json version to 6.3.1.
Built from https://develop.svn.wordpress.org/branches/6.3@56374


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 20:46:23 +00:00
davidbaumwald
2eaa9591f7 Post WordPress 6.3 version bump.
The 6.3 branch is now 6.3.1-alpha.
Built from https://develop.svn.wordpress.org/branches/6.3@56373


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 20:32:24 +00:00
davidbaumwald
b970e85822 WordPress 6.3.
Built from https://develop.svn.wordpress.org/branches/6.3@56371


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-08 19:28:28 +00:00
davidbaumwald
5ed60bd109 Post WordPress 6.3 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56369


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 19:09:26 +00:00
davidbaumwald
923fb2edb6 WordPress 6.3 RC4.
Built from https://develop.svn.wordpress.org/branches/6.3@56368


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 18:53:27 +00:00
davidbaumwald
a6e50d7419 General: Commit changes after running precommit:css.
The `{min|max}-device-pixel-ratio` syntax as a a non-standard CSS media feature that was used as an alternative to the now standard `resolution`. Prior to Safari 16.0, `-webkit-{min|max}-device-pixel-ratio` was needed to correctly support it.

This change is a result of the `caniuse-lite` update that was applied recently in [56065]. Though there were no changes to target browsers as a result of this update, it seems an upstream change identified these as unnecessary.

Props desrosj, joemcgill, isabel_brison, SergeyBiryukov, azaozz.
Reviewed by SergeyBiryukov, azaozz.
Backports [56279] to the 6.3 branch.
Fixes #57856.

Built from https://develop.svn.wordpress.org/branches/6.3@56367


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 17:57:27 +00:00
davidbaumwald
160687edcb Upgrade/Install: Update $_old_files for 6.3.
Props SergeyBiryukov.
Reviewed by azaozz, SergeyBiryukov.
Merges [56365] to the 6.3 branch.
Fixes #58994.
Built from https://develop.svn.wordpress.org/branches/6.3@56366


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 17:33:27 +00:00
Sergey Biryukov
cea8337d78 Emoji: Suppress console errors from sessionStorage usage in sandboxed post embed iframe.
Amends [56074].

Props westonruter, flixos90.
Reviewed by westonruter, SergeyBiryukov.
Merges [56358] to the 6.3 branch.
Fixes #58978. See #58472.
Built from https://develop.svn.wordpress.org/branches/6.3@56364


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-07 16:54:35 +00:00
isabel_brison
196cd1e45c Build/Test Tools: revert downgrade of uuid.
Reverts the accidental downgrade of uuid in [56065] by changing it back to 9.0.0.

Props Hareesh Pillai, JeffPaul, audrasjb.
Reviewed by audrasjb.
Merges [56350] to the 6.3 branch.
See #58623.

Built from https://develop.svn.wordpress.org/branches/6.3@56351


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-03 05:18:38 +00:00
audrasjb
b5bc1f7f22 Post WordPress 6.3 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/6.3@56344


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 16:52:20 +00:00
audrasjb
1b8ad38956 WordPress 6.3 RC3.
Built from https://develop.svn.wordpress.org/branches/6.3@56343


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 16:32:20 +00:00
Sergey Biryukov
59e4256bcc Upgrade/Install: Pass stored credentials to WP_Filesystem() where appropriate.
With the introduction of temporary backups of plugins and themes before updating, a new Site Health test was added to verify that plugin and theme temporary backup directories are writable or can be created.

When using a non-direct filesystem, the Site Health test did not include the required credentials, leading to a fatal error as the connection was not initialized properly.

This commit attemps to use the stored credentials if available, and displays a message otherwise.

Includes a similar fix in a function that performs a cleanup of the temporary backup directory.

Follow-up to [55720].

Props utsav72640, rajinsharwar, costdev, mukesh27, peterwilsoncc, audrasjb, SergeyBiryukov.
Reviewed by audrasjb, SergeyBiryukov.
Merges [56341] to the 6.3 branch.
See #58940.
Built from https://develop.svn.wordpress.org/branches/6.3@56342


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 16:10:22 +00:00
ryelle
6baed7cbc9 Help/About: Add images to About page, match header style to images.
Props richtabor, markoserb, audrasjb, peterwilsoncc, mukesh27.
Reviewed by davidbaumwald.
Merges [56339] to the 6.3 branch.
See #58067.


Built from https://develop.svn.wordpress.org/branches/6.3@56340


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 15:11:20 +00:00
audrasjb
fb9861e7d8 Help/About: Escape "Contribute" links, for better consistency.
Props SergeyBiryukov, peterwilsoncc.
Reviewed by peterwilsoncc, audrasjb.
Merges [56337] to the 6.3 branch.
See #23348.



Built from https://develop.svn.wordpress.org/branches/6.3@56338


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 13:00:29 +00:00
audrasjb
b3c1e21cfe Help/About: Remove target="_blank" from the Contribute link.
Props davidbaumwald.
Reviewed by audrasjb.
Merges [56335] to the 6.3 branch.
See #23348.



Built from https://develop.svn.wordpress.org/branches/6.3@56336


git-svn-id: http://core.svn.wordpress.org/branches/6.3@55848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 12:53:22 +00:00