45803 Commits

Author SHA1 Message Date
Jonathan Desrosiers
ed52e2ac94 Security: Update bundled Root Certificates.
Some checks are pending
Coding Standards / PHP coding standards (push) Waiting to run
Coding Standards / JavaScript coding standards (push) Waiting to run
Coding Standards / Slack Notifications (push) Blocked by required conditions
Coding Standards / Failed workflow tasks (push) Blocked by required conditions
End-to-end Tests / Test with SCRIPT_DEBUG disabled (push) Waiting to run
End-to-end Tests / Test with SCRIPT_DEBUG enabled (push) Waiting to run
End-to-end Tests / Slack Notifications (push) Blocked by required conditions
End-to-end Tests / Failed workflow tasks (push) Blocked by required conditions
JavaScript Tests / QUnit Tests (push) Waiting to run
JavaScript Tests / Slack Notifications (push) Blocked by required conditions
JavaScript Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 5.6 (push) Waiting to run
PHPUnit Tests / PHP 7.0 (push) Waiting to run
PHPUnit Tests / PHP 7.1 (push) Waiting to run
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
🎵 60,000 certs on the wall. 60,000 certs. Take one down, pass it around, 59,999 certs on the wall. 🎵

The Root Certificate bundle maintained by Mozilla ships in WordPress to allow SSL certificates to be verified on hosts with incomplete, outdated, or invalid local SSL configurations.

This updates the `ca-bundle.crt` file to the latest version, which applies upstream changes from the bundle maintained by Mozilla and keeps all unexpired legacy 1024bit certificates which are kept for backward compatibility purposes (see [35919]).

This equals `alot` of certificates.

Partially merges [59740] and [59969] to the 6.0 branch.

Props johnbillion, desrosj, whyisjake, ayeshrajans, SergeyBiryukov, swissspidy, skithund, barry, joedolson.
Fixes #60000. See #62811, #62711.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@60000 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 22:59:20 +00:00
Jonathan Desrosiers
700ad5922a Build/Test Tools: Disable AppArmor for JavaScript testing.
Some checks failed
Coding Standards / PHP coding standards (push) Has been cancelled
Coding Standards / JavaScript coding standards (push) Has been cancelled
End-to-end Tests / Test with SCRIPT_DEBUG disabled (push) Has been cancelled
End-to-end Tests / Test with SCRIPT_DEBUG enabled (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
PHP Compatibility / Check PHP compatibility (push) Has been cancelled
PHPUnit Tests / PHP 5.6 (push) Has been cancelled
PHPUnit Tests / PHP 7.0 (push) Has been cancelled
PHPUnit Tests / PHP 7.1 (push) Has been cancelled
PHPUnit Tests / PHP 7.2 (push) Has been cancelled
PHPUnit Tests / PHP 7.3 (push) Has been cancelled
PHPUnit Tests / PHP 7.4 (push) Has been cancelled
PHPUnit Tests / PHP 8.0 (push) Has been cancelled
PHPUnit Tests / PHP 8.1 (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Test Build Processes / Core running from src (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
End-to-end Tests / Slack Notifications (push) Has been cancelled
End-to-end Tests / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / Failed workflow tasks (push) Has been cancelled
PHP Compatibility / Slack Notifications (push) Has been cancelled
PHP Compatibility / Failed workflow tasks (push) Has been cancelled
PHPUnit Tests / Slack Notifications (push) Has been cancelled
PHPUnit Tests / Failed workflow tasks (push) Has been cancelled
Test Build Processes / Slack Notifications (push) Has been cancelled
Test Build Processes / Failed workflow tasks (push) Has been cancelled
This makes use of the new input added in [59635] that fixes tests on `ubuntu-24`.

Props swissspidy, mukesh27.
See #62808.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@59636 602fd350-edb4-49c9-b593-d223f7449a82
2025-01-16 20:25:31 +00:00
Peter Wilson
d667f6fde9 Tests: Use better domain for HTTP API invalid hostname test.
Some checks failed
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, false, ubuntu-latest, 8.0) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 5.6) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 7.0) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 7.1) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 7.2) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 7.3) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 7.4) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, false, true, ubuntu-latest, 8.0) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, true, false, ubuntu-latest, 7.4) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (mysql, 5.7, true, true, ubuntu-latest, 7.4) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (true, mysql, 5.7, false, false, ubuntu-latest, 8.1) (push) Has been cancelled
PHPUnit Tests / PHP ${{ matrix.php }} (true, mysql, 5.7, false, true, ubuntu-latest, 8.1) (push) Has been cancelled
Test Build Processes / Core running from ${{ matrix.directory }} (build, ubuntu-latest, true) (push) Has been cancelled
Test Build Processes / Core running from ${{ matrix.directory }} (build, windows-latest) (push) Has been cancelled
Test Build Processes / Core running from ${{ matrix.directory }} (src, ubuntu-latest) (push) Has been cancelled
Test Build Processes / Core running from ${{ matrix.directory }} (src, windows-latest) (push) Has been cancelled
Test Build Processes / Core running from ${{ matrix.directory }} (build, macos-13) (push) Has been cancelled
Test Build Processes / Core running from ${{ matrix.directory }} (src, macos-13) (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
End-to-end Tests / Slack Notifications (push) Has been cancelled
End-to-end Tests / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / Failed workflow tasks (push) Has been cancelled
PHP Compatibility / Slack Notifications (push) Has been cancelled
PHP Compatibility / Failed workflow tasks (push) Has been cancelled
PHPUnit Tests / Slack Notifications (push) Has been cancelled
PHPUnit Tests / Failed workflow tasks (push) Has been cancelled
Test Build Processes / Slack Notifications (push) Has been cancelled
Test Build Processes / Failed workflow tasks (push) Has been cancelled
The previous domain that was used to test for a host whose IPv4 address cannot be resolved, `exampleeeee.com`, got registered and has an A-record now, so it's not invalid anymore.

`.invalid` is intended for use in online construction of domain names that are sure to be invalid and which it is obvious at a glance are invalid.

Reference: [https://datatracker.ietf.org/doc/html/rfc2606#section-2 Reserved Top Level DNS Names: TLDs for Testing, & Documentation Examples].

Follow-up to [52084], [58384], [58388].

Reviewed by peterwilsoncc.
Merges test changes from [59293] to the 6.0 branch.

Props sippis, johnbillion, MattyRob, swissspidy, SergeyBiryukov.
Fixes #62303.




git-svn-id: https://develop.svn.wordpress.org/branches/6.0@59304 602fd350-edb4-49c9-b593-d223f7449a82
2024-10-27 23:02:56 +00:00
Jonathan Desrosiers
bbb51cacbd Build/Test Tools: Re-add Slack notices for E2E workflow.
This re-adds Slack notices for the E2E workflow in the 6.0 branch.

These were mistakenly removed in [58357].

See #61733, #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58793 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-23 19:16:11 +00:00
Jonathan Desrosiers
7ef2ad2f27 Build/Test Tools: Change 6.0 default values of LOCAL_PHP/LOCAL_DB_VERSION.
This changes the default values for `LOCAL_PHP` and `LOCAL_DB_VERSION` in the 6.0 branch from `latest` to `8.1-fpm` (with beta support) and `5.7`, respectively, to properly reflect the highest versions of PHP and MySQL that this branch will support.

See #61533.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58663 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 17:31:21 +00:00
Jonathan Desrosiers
75bb961693 Build/Test Tools: Update the reusable PHPUnit workflow name.
Follow up to [58645] for the 6.0 branch.

Props jorbin.
See #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58652 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 15:58:24 +00:00
Jonathan Desrosiers
810b83a17c Build/Test Tools: Update job names to ensure proper grouping.
Follow up to [58357].

See #61213.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58609 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-01 18:13:16 +00:00
Jb Audras
9f52320193 WordPress 6.0.9.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58507 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-24 16:16:27 +00:00
Jb Audras
2117c2639c Grouped Backports to the 6.0 branch.
- Editor: Fix Path Traversal issue on Windows in Template-Part Block.
- Editor: Sanitize Template Part HTML tag on save.

Merges [58470], [58471], [58472] and [58473] to the 6.0 branch.
Props xknown, peterwilsoncc, jorbin, bernhard-reiter, azaozz.




git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58481 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-24 15:17:32 +00:00
Jonathan Desrosiers
51aaf31597 Build/Test Tools: Make use of new reusable workflows for 6.0.
This updates the 6.0 branch to utilize the new reusable workflows in trunk introduced in [58165].

This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The `image` and `platform` properties for the `mysql` container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Run E2E tests with and without `SCRIPT_DEBUG` (#58661).
- Migrating to Docker Compose V2 (#60901).
- Removing the `version` property from `docker-compose.yml` (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Move the Memcached container into the Docker Compose config (#55700).
- Configure Xdebug modes in the local Docker environment (#56022).

Merges [53895], [53552], [56113], [56114], [57918], [58157], [57124], [57125], [57249] to the 6.0 branch.

Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen.
See #55700, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213, #58661.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@58357 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-06 15:27:31 +00:00
Aaron Jorbin
3076736490 Editor: Update packages with pinned react-resize-aware
Props isabel_brison, peterwilsoncc, johnbillion, sergeybiryukov, desrosj, davidbaumwald, jorbin.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57982 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-10 19:54:37 +00:00
Jonathan Desrosiers
59b403cec1 Bump the version to 6.0.8 in package configuration files.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57971 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-09 15:00:39 +00:00
John Blackbourn
2437cb9afa Build/Test tools: Ignore the warning about sourcemaps in the block-editor script in the 6.0 branch.
This corrects an accidental revert made in [57964].


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57967 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-09 14:34:43 +00:00
John Blackbourn
bb8b645be4 WordPress 6.0.8.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57964 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-09 14:17:00 +00:00
John Blackbourn
f2e0e06819 Build/Test tools: Ignore the warning about sourcemaps in the block-editor script in the 6.0 branch.
This warning is legitimate but needs to be investigated more thoroughly across all branches. Ignoring these files allows the build to complete without warnings.

Props gziolo, jorbin, desrosj


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57958 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-09 14:00:31 +00:00
John Blackbourn
57bc45753f Editor: Update npm packages for the 6.0 branch.
Updates the editor npm packages to the latest patch versions.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57954 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-09 12:33:38 +00:00
Sergey Biryukov
ccab9ddd82 Tests: Use an image on WordPress.org CDN in external HTTP tests.
Due to some changes on the WP.com side to compress the requested images on the fly, the exact image size in the response could be different between platforms.

This commit aims to make the affected tests more reliable.

Follow-up to [139/tests], [31258], [34568], [47142], [57903], [57904], [57924].

Merges [57931] to the 6.0 branch.

Props peterwilsoncc, jorbin.
See #60865.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57942 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-07 21:49:23 +00:00
Jonathan Desrosiers
e76538d561 General: Ensure newline at end of file.
Follow up to [57434].

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57446 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 17:33:37 +00:00
Joe McGill
bd257dc5c4 WordPress 6.0.7.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57434 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 16:33:58 +00:00
Aaron Jorbin
9911aadd35 Grouped Backports to the 6.0 branch
- Install: When populating options, maybe_serialize instead of always serialize.
- Uploads: Check for and verify ZIP archives.

Merges [57388] and [57389] to the 6.0 branch.

Props costdev, peterwilsoncc, azaozz, tykoted, johnbillion, desrosj, afragen, jorbin, xknown.



git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57395 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 14:39:47 +00:00
Jonathan Desrosiers
3e7a630216 Build/Test Tools: Change the default value of LOCAL_PHP.
This changes the default value for `LOCAL_PHP` in the 6.0 branch from `latest` to `8.1-fpm` to reflect the highest version of PHP this branch will support (with beta support).

After this change, future updates to the `latest` container built and published by the `wpdev-docker-images` repository will not cause failures in this branch.

This also pins the version of PHP used in the E2E test workflow to PHP 8.0 to avoid deprecated notices mostly related to #54914, which was not fixed until version 6.1.

Follow up to [57198], [57199], [57200], [57201].

See #60095.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@57202 602fd350-edb4-49c9-b593-d223f7449a82
2023-12-18 19:54:27 +00:00
Jb Audras
fc39af26b7 WordPress 6.0.6.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@56892 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-12 15:44:24 +00:00
Joe McGill
b74d49cfa6 Grouped backports to the 6.0 branch.
- REST API: Limit `search_columns` for users without `list_users`.
- Comments: Prevent users who can not see a post from seeing comments on it.
- Application Passwords: Prevent the use of some pseudo protocols in application passwords.
- Restrict media shortcode ajax to certain type
- REST API: Ensure no-cache headers are sent when methods are overriden.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56833], [56834], [56835], [56836], [56837], and [56838] to the 6.0 branch.
Props xknown, jorbin, Vortfu, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, martinkrcho, paulkevan, dd32, antpb, rmccue.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@56870 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-12 14:59:09 +00:00
Jonathan Desrosiers
3e395826c2 WordPress 6.0.5.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55835 602fd350-edb4-49c9-b593-d223f7449a82
2023-05-20 04:11:59 +00:00
Jonathan Desrosiers
d4e3724593 Editor: Restore shortcode support for block templates.
Follow up to [55761].

Props youknowriad, Clorith, desrosj, antpb, Otto42, johnbillion, jorbin, rmccue, timothyblynjacobs, mikeschroder, peterwilsoncc, audrasjb, matveb, noisysocks, xknown, ehtis, isabel_brison, talldanwp, gziolo, chriscct7, davidbaumwald.
Merges [55828] to the 6.0 branch.
See #58333.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55831 602fd350-edb4-49c9-b593-d223f7449a82
2023-05-20 04:02:53 +00:00
Jb Audras
7f126b3b67 Grouped backports to the 6.0 branch.
- Media: Prevent CSRF setting attachment thumbnails.
- Embeds: Add protocol validation for WordPress Embed code.
- I18N: Introduce sanitization function for locale.
- Editor: Ensure block comments are of a valid form.
- Editor: Remove shortcode support from block templates.

Merges [55760-55764] to the 6.0 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.



git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55773 602fd350-edb4-49c9-b593-d223f7449a82
2023-05-16 15:18:41 +00:00
Sergey Biryukov
3f34053478 Tests: Adjust the expected mime type for WOFF fonts on PHP 8.1.12+.
As of PHP 8.1.12, which includes libmagic/file update to version 5.42, the expected mime type for WOFF files has changed to `font/woff`, so the type needs to be adjusted accordingly in `wp_check_filetype_and_ext()` tests.

References:
* [https://github.com/php/php-src/issues/8805 php-src: #8805: finfo returns wrong mime type for woff/woff2 files]
* [https://www.php.net/ChangeLog-8.php#8.1.12 PHP 8.1.12 changelog]

Follow-up to [40124], [54508], [54509], [54724].

Props desrosj, jrf, costdev, SergeyBiryukov.
Merges [55462] to the 6.0 branch.
Fixes #56817.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55497 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-09 14:04:12 +00:00
Jonathan Desrosiers
91bd605bdf Build/Test Tools: Update several GitHub Actions.
This updates three GitHub Actions to their latest versions:
- `shivammathur/setup-php`
- `actions/cache`
- `wow-actions/welcome`

The welcome action now uses the `GITHUB_TOKEN` by default, so it no longer needs to be passed manually.

Merges [54651] and [55487] to the 6.0 branch.
See #56793, #57572.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55490 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-08 16:48:21 +00:00
Jonathan Desrosiers
cdcf93de06 General: Update SVN mergeinfo.
Missed in [55482].


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55483 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-07 20:16:39 +00:00
Jonathan Desrosiers
c97877e2f3 Build/Test Tools: Backport updates to GitHub Actions.
This backports several changesets to GitHub Actions workflows. These changesets:
- address the deprecated notices related to `save-output` and `set-output` to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- backports some Docker environment related tooling updates for the sake of consistency across branches.

Merges [53628], [53636], [53736], [53737], [53895], [53940], [53947], [54039], [54096], [54108], [54293], [54297], [54313], [54342], [54343], [54371], [54373], [54511], [54649], [54650], [54674], [54678], [54750], [54851], [54852], [54856], [54921], [55152] to the 6.0 branch.
See 55702, #52708, #55652, #55652, #55700, #55652, #56407, #56407, #56528, #55652, #55652, #55652, #54695, #55652, #55652, #55652, #55652, #56820, #56820, #56816, #55652, #55652, #56820, #56793, #56793, #53841, #57148, #57572, #56682.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55482 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-07 19:36:29 +00:00
Peter Wilson
1e52ae5fed I18N: Add new strings to about.php for use with end-of-life updates.
This changeset adds two additional translation strings in the changelog file, for use when releasing the final version of WordPress on a particular branch.

Props peterwilsoncc, audrasjb, mukesh27.
Merges [55350] to the 6.0 branch.
Fixes #57216.



git-svn-id: https://develop.svn.wordpress.org/branches/6.0@55372 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-21 02:37:11 +00:00
Peter Wilson
ca12beb331 Built/Test tools, HTTP API: Refactor test for multiple location headers.
Remove wordpress.org as an external dependency testing `WP_HTTP::handle_redirects()`.

This refactors and reenables an existing test to call the `WP_HTTP::handle_redirects()` method directly with a mocked array of HTTP headers containing multiple location headers.

The test is moved from the external-http group to the http test group as it no longer makes an HTTP request.

Follow up to [54955].

Props SergeyBiryukov, dd32, peterwilsoncc.
Merges [54968] to the 6.0 branch.
Fixes #57306.
See #56793.



git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54975 602fd350-edb4-49c9-b593-d223f7449a82
2022-12-15 04:20:34 +00:00
Sergey Biryukov
34d1e48811 Coding Standards: Correct the deprecation version for _filter_query_attachment_filenames().
Follow-up to [54524], [54534].

Props jrf.
Merges [54878] to the 6.0 branch.
See #56791.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54880 602fd350-edb4-49c9-b593-d223f7449a82
2022-11-26 16:26:49 +00:00
Peter Wilson
3a6dbcde6e Media: Add object-fit to the allowed list of CSS properties.
This resolves a bug in Featured Image blocks where `object-fit` was being removed during the `render_callback`.

Props raduiason, pbiron, kebbet, SergeyBiryukov, bernhard-reiter, ironprogrammer, xknown, audrasjb, ckanderson22, ivanjeronimo, seriouslysenpai, davidbaumwald.
Merges [54675] to the 6.0 branch.
Fixes #56855.



git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54763 602fd350-edb4-49c9-b593-d223f7449a82
2022-11-08 04:33:04 +00:00
Sergey Biryukov
3697ce03b7 Post WordPress 6.0.3 version bump.
The 6.0 branch is now 6.0.4-alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54628 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 23:08:38 +00:00
Sergey Biryukov
aada438606 WordPress 6.0.3.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54597 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 20:10:38 +00:00
Jb Audras
8643d067d0 Help/About: Update the About page for WordPress 6.0.3.
git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54577 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 19:38:32 +00:00
Sergey Biryukov
79f361f47d Users: Revert use of shared objects for current user.
Reverts [50790].

Props oztaser, ravipatel, dd32, costdev, SergeyBiryukov, tykoted, cu121, xknown.
Merges [54397] to the 6.0 branch.
Fixes #54984.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54544 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 16:53:54 +00:00
Jonathan Desrosiers
863c5c46da Editor: Bump @wordpress packages for 6.0.3.
Package updates for bug fixes:

* @wordpress/block-directory: 3.4.15
* @wordpress/block-library: 7.3.15
* @wordpress/customize-widgets: 3.3.15
* @wordpress/edit-post: 6.3.15
* @wordpress/edit-site: 4.3.15
* @wordpress/edit-widgets: 4.3.15
* @wordpress/widgets: 2.4.11

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54543 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 16:22:04 +00:00
Jb Audras
a058ffd9b8 Widgets: Escape RSS error messages for display.
Props xknown, timothyblynjacobs, matveb, talldanwp.
Merges [54541] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54542 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:41:05 +00:00
Jb Audras
49660ae677 Query: Validate relation in WP_Date_Query.
Props dd32, johnjamesjacoby, martinkrcho, ehtis, paulkevan, peterwilsoncc.
Merges [54530] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54540 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:36:06 +00:00
Jb Audras
254d3b599c Mail: Reset PHPMailer properties between use.
Props xknown, martinkrcho, tykoted.
Merges [54529] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54539 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:34:37 +00:00
Jb Audras
fa8d3b72f6 REST API: Lockdown post parameter of the terms endpoint.
Props johnbillion, tykoted, timothyblynjacobs, peterwilsoncc, martinkrcho, ehtis.
Merges [54528] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54538 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:33:23 +00:00
Jb Audras
1d7c8b1873 Comments: Apply kses when editing comments.
Props davidbaumwald, xknown, peterwilsoncc, paulkevan.
Merges [54527] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54537 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:31:51 +00:00
Jb Audras
9c29c8f600 Customize: Escape blogname option in underscores templates.
Props xknown, martinkrcho.
Merges [54526] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54536 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:29:54 +00:00
Jb Audras
e5ced7955a Pings/trackbacks: Apply KSES to all trackbacks.
Props dd32, xknown, martinkrcho, peterwilsoncc.
Merges [54525] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54535 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:27:09 +00:00
Jb Audras
a3deb1ef5e Media: Refactor search by filename within the admin.
Props vortfu, xknown, peterwilsoncc, paulkevan.
Merges [54524] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54534 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:24:45 +00:00
Jb Audras
c26c02700d Posts, Post types: Remove emails from post-by-email logs.
Props paulkevan, xknown, martinkrcho, peterwilsoncc.
Merges [54523] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54533 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:18:21 +00:00
Jb Audras
419de4780c General: Validate host on "Are you sure?" screen.
Props voldemortensen, xknown, peterwiloncc.

Merges [54522] to the 6.0 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54532 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:09:54 +00:00
Jb Audras
9668242b09 Posts, Post types: Apply KSES to post-by-email content.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb.


git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54531 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 12:03:36 +00:00