33127 Commits

Author SHA1 Message Date
Jonathan Desrosiers
4937e39bc3 Security: Update bundled Root Certificates.
Some checks failed
Coding Standards / JavaScript coding standards (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
PHPUnit Tests / PHP 5.3 (push) Has been cancelled
PHPUnit Tests / PHP 5.4 (push) Has been cancelled
PHPUnit Tests / PHP 5.5 (push) Has been cancelled
PHPUnit Tests / PHP 5.6 (push) Has been cancelled
PHPUnit Tests / PHP 7.0 (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / 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 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]).

Partially merges [37431], [496094], [58707], [59740] and [59969] to the 4.4 branch.

Props johnbillion, desrosj, whyisjake, ayeshrajans, SergeyBiryukov, swissspidy, skithund, barry, paragoninitiativeenterprises, ocean90, DrewAPicture.
See #62811, #62711, #50828, #45807, #36835.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@60026 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 16:48:58 +00:00
Jonathan Desrosiers
96f2c64490 Build/Test Tools: Disable AppArmor for JavaScript testing.
Some checks failed
Coding Standards / JavaScript coding standards (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
PHPUnit Tests / PHP 5.3 (push) Has been cancelled
PHPUnit Tests / PHP 5.4 (push) Has been cancelled
PHPUnit Tests / PHP 5.5 (push) Has been cancelled
PHPUnit Tests / PHP 5.6 (push) Has been cancelled
PHPUnit Tests / PHP 7.0 (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / 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` in the 4.4 branch.

Props swissspidy, mukesh27.
See #62808.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@59652 602fd350-edb4-49c9-b593-d223f7449a82
2025-01-16 20:47:05 +00:00
Jonathan Desrosiers
73e5d72e46 Build/Test Tools: Use Git when fetching the WordPress Importer for use in tests.
Some checks failed
Coding Standards / JavaScript coding standards (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
PHPUnit Tests / PHP 5.3 (push) Has been cancelled
PHPUnit Tests / PHP 5.4 (push) Has been cancelled
PHPUnit Tests / PHP 5.5 (push) Has been cancelled
PHPUnit Tests / PHP 5.6 (push) Has been cancelled
PHPUnit Tests / PHP 7.0 (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / 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 switches to using Git in the local Docker environment install script to check out a copy of the WordPress Importer plugin for use in unit tests.

Previously, SVN was used and the commands were not correctly run within the Docker container. The container does not actually have SVN installed, and the script was only working when the machine running the command had SVN present.

Merges [51179] to the 4.4 branch.
Reviewed by swissspidy.

Props czapla, alexstine, jnylen0, francina, desrosj.
See #52909.
See #62280.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@59622 602fd350-edb4-49c9-b593-d223f7449a82
2025-01-15 16:11:35 +00:00
Jonathan Desrosiers
3a80630bf5 Build/Test Tools: Make use of new reusable workflows for 4.4.
This updates the 4.4 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).
- 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.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).

Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.4 branch.

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

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@58641 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:59:26 +00:00
Jb Audras
3356e521d2 WordPress 4.4.33.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@58524 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-24 16:36:23 +00:00
Jb Audras
b3680d90dd Editor: Fix Path Traversal issue on Windows in Template-Part Block.
Merges [58470] to the 4.4 branch.
Props xknown, jorbin.




git-svn-id: https://develop.svn.wordpress.org/branches/4.4@58498 602fd350-edb4-49c9-b593-d223f7449a82
2024-06-24 15:49:43 +00:00
Sergey Biryukov
fdc08e69e1 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 4.4 branch.

Props peterwilsoncc, jorbin.
See #60865.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@58013 602fd350-edb4-49c9-b593-d223f7449a82
2024-04-16 23:14:50 +00:00
Aaron Jorbin
0bdabb995e General: Backport polyfills for str_ends_with() and str_starts_with().
Merges [52040], [56016], and [56015] to 4.4 branch.

Props ocean90, SergeyBiryukov, desrosj, joemcgill, jorbin, mukesh27.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@57442 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 17:27:44 +00:00
Joe McGill
6ca5961580 WordPress 4.4.32.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@57418 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 16:09:35 +00:00
Aaron Jorbin
f286495baf Grouped Backports to the 4.4 branch.
- Install: When populating options, maybe_serialize instead of always serialize.
- Uploads: Check for and verify ZIP archives.

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

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


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@57411 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-30 15:11:35 +00:00
Jb Audras
ef642f9250 WordPress 4.4.31.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@56860 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-12 14:44:35 +00:00
David Baumwald
3bd4438171 Grouped backports to the 4.4 branch.
- Comments: Prevent users who can not see a post from seeing comments on it.
- Shortcodes: Restrict media shortcode ajax to certain type.
- REST API: Ensure no-cache headers are sent when methods are overridden.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56834], [56835], [56836], and [56838] to the 4.4 branch.
Props xknown, jorbin, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, antpb, rmccue.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@56855 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-12 14:31:27 +00:00
Sergey Biryukov
9ede4924ce Grouped backports to the 4.4 branch.
- Media: Prevent CSRF setting attachment thumbnails.
- Embeds: Add protocol validation for WordPress Embed code.

Merges [55763] and [55764] to the 4.4 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@55779 602fd350-edb4-49c9-b593-d223f7449a82
2023-05-16 15:36:46 +00:00
Jonathan Desrosiers
b9b63a9c16 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.
- removes workflow files that are not applicable to the branch.
- backports some Docker environment related tooling updates for the sake of consistency across branches. 

Merges [53736], [53737], [53940], [53947], [54039], [54096], [54108], [54293], [54313], [54342], [54343], [54373], [54511], [54650], [54651], [54674], [54750], [54852], [55152], [54651], [55487] to the 4.4 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@55532 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:30:36 +00:00
Peter Wilson
eaaf1d9a38 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 4.4 branch.
Fixes #57216.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@55388 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-21 03:12:05 +00:00
Peter Wilson
475cdd2853 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 4.4 branch.
Fixes #57306.
See #56793.



git-svn-id: https://develop.svn.wordpress.org/branches/4.4@54991 602fd350-edb4-49c9-b593-d223f7449a82
2022-12-15 04:49:42 +00:00
Sergey Biryukov
983c277978 WordPress 4.4.29.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@54587 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 19:47:56 +00:00
Sergey Biryukov
4670cae79c Grouped backports to the 4.4 branch.
- Posts, Post types: Apply KSES to post-by-email content,
- General: Validate host on "Are you sure?" screen,
- Posts, Post types: Remove emails from post-by-email logs,
- Pings/trackbacks: Apply KSES to all trackbacks,
- Comments: Apply kses when editing comments,
- Customize: Escape blogname option in underscores templates,
- Mail: Reset PHPMailer properties between use,
- Query: Validate relation in `WP_Date_Query`,
- Widgets: Escape RSS error messages for display.

Merges [54521], [54522], [54523], [54525], [54526], [54527], [54529], [54530], [54541] to the 4.4 branch.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb, martinkrcho, davidbaumwald, tykoted, johnjamesjacoby, ehtis, matveb, talldanwp.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@54558 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 18:00:49 +00:00
Peter Wilson
f54a57608b Security: Introduce strings to indicate support status.
Add strings for use in future maintenance/security releases to indicate the security support status of the version of WordPress.

Two strings are introduced:

* indicating the version of WordPress is not receiving security updates, and,
* indicating the version of WordPress will shortly stop receiving security updates.

This change does not make use of the strings, the purpose is to make them available to translators prior to dropping support of selected versions of WordPress.

Props costdev, chesio, robinwpdeveloper, desrosj, rudlinkon, mukesh27, sumitbagthariya16.
Merges [54322] to the 4.4 branch.
See #56532.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@54456 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-10 22:18:38 +00:00
Jonathan Desrosiers
db642f4df6 WordPress 4.4.28.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@54003 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-30 17:27:49 +00:00
Sergey Biryukov
c4b5c80c3f Grouped backports to the 4.4 branch.
- Posts, Post Types: Escape output within `the_meta()`.
- General: Ensure bookmark query limits are numeric.
- Plugins: Escape output in error messages.

Merges [53958-53960] to the 4.4 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@53979 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-30 15:49:41 +00:00
Jonathan Desrosiers
2e2f23bbb2 Build/Test Tools: Use the Slack notifications workflow as a reusable one.
This backports several changesets that are required to remove the reliance on the `workflow_run` event for posting Slack notifications.

The Slack notification workflow will now be called as a reusable one, which has several benefits (see [53591]).

Several other minor GitHub Actions related updates are also being backported in this commit to maintain tooling consistency across branches that still receive security updates as a courtesy when necessary.

Workflows that are not relevant to this branch that were mistakenly backported are also being deleted.

Merges [50473], [50704], [50930], [51341], [51355], [51498], [51511], [51535], [51924], [51925], [51937], [52002], [52130], [52183], [52233], [53112], [53581], [53582], [53592] to the 4.4 branch.
See #56095.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@53617 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:20:02 +00:00
David Baumwald
d6dfb79d1c WordPress 4.4.27.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@52890 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 22:15:48 +00:00
Sergey Biryukov
7b3043b6b6 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 4.4 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@52862 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 21:38:48 +00:00
Jonathan Desrosiers
3bf0eb147f WordPress 4.4.26.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@52501 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-06 18:46:50 +00:00
Jonathan Desrosiers
af692934a3 Grouped backports to the 4.4 branch.
- Query: Improve sanitization within `WP_Tax_Query`.
- Query: Improve sanitization within `WP_Meta_Query`.
- Upgrade/Install: Avoid using `unserialize()` unnecessarily.
- Formatting: Correctly encode ASCII characters in post slugs.

Merges [52454-52457] to the 4.4 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@52479 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-06 18:18:04 +00:00
Sergey Biryukov
54496bf8b4 Date/Time: Use delta comparison in get_gmt_from_date() tests to avoid race conditions.
Follow-up to [35284].

Props keesiemeijer.
Merges [41920] to the 4.4 branch.
See #38815.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@51616 602fd350-edb4-49c9-b593-d223f7449a82
2021-08-15 13:39:47 +00:00
Peter Wilson
50b33f3dcc WordPress 4.4.25.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50882 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-12 23:21:07 +00:00
Peter Wilson
0eb604225a External libraries: Improve attachment handling in PHPMailer
Props: audrasjb, ayeshrajans, desrosj, peterwilsoncc, xknown.
Partially merges [50799] to the 4.4 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50860 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-12 22:32:16 +00:00
Jonathan Desrosiers
20605ba1f5 Build/Test Tools: Backport GitHub Action and build improvements to the 4.4 branch.
This backports several build and test tool improvements to the 4.4 branch. Most notably, this includes:

- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.

Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.4 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50639 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:42:33 +00:00
Jonathan Desrosiers
2616b2a166 Build/Test Tools: Remove unused test groups from the 4.4 branch.
Follow up to [50314].

See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50328 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 21:06:08 +00:00
Jonathan Desrosiers
751caec44f Build/Test Tools: Add an object cache drop-in to the 4.4 branch.
This adds an object cache drop-in to the `tests/phpunit/includes` directory to avoid relying on and having to copy from an external repository.

It also removes a stray character that was mistakenly included in [50210].

Follow up to [50210], [50314].

Unprops desrosj.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50316 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 20:17:51 +00:00
Jonathan Desrosiers
fe3cd1b18e Build/Test Tools: Restore automated testing in the 4.4 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.

In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.

Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.4 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50314 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 20:03:12 +00:00
Jonathan Desrosiers
3945f09461 Build/Test Tools: Backport the local Docker environment to the 4.4 branch.
This commit introduces the Docker-based local WordPress development environment to the 4.4 branch.

Merges [44176,45445,45745,45762,45783-45784,45800,45819,45885,46320,46999,47225,47912,48121,49267,49335,49358,49360,49362] to the 4.4 branch.
See #48301, #47767.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50244 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-08 20:51:48 +00:00
Jonathan Desrosiers
ee46d1a053 Build/Test Tools: Ignore patch related files, so they can't be accidentally committed.
Merges [39360-39361] to the 4.4 branch.
See #38727.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50211 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 04:23:31 +00:00
Jonathan Desrosiers
f2700994d7 Build/Test Tools: Support NodeJS 14.x in the 4.4 branch.
This updates the 4.4 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

Because older branches use (really) old versions of NodeJS, the local Docker environment cannot be backported since the needed dependencies will not run on these older versions (see #48301). This also blocks the ability to move automated testing over to GitHub Actions (see #50401).

This also replaces the `npm-shrinkwrap.json` with a `package-lock.json` file. Lock files were not supported in earlier versions of NPM, but can now be used.

In addition to backporting the package updates that happened after branching 4.4, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [35859,35862,36860-36865,36935,36978-36979,37017,37019-37020,37212,37612,38111,38688,39110,39113-39119,39478,42460-42461,42463,42887,43320,43323,43977,44219,44233,44728,45321,45765,46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,50017,50126,50176,50185,50192] to the 4.4 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50210 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 04:22:23 +00:00
Sergey Biryukov
12bc77d2fb Tests: Move skipTestOnTimeout() to a more appropriate location, for consistency with other branches.
Follow-up to [50088].

Merges [50097] to the 4.4 branch.
See #51669.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50100 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-30 15:26:59 +00:00
Sergey Biryukov
6307192834 Tests: Use skipTestOnTimeout() in more HTTP tests.
Adjust it to handle more types of timeouts, e.g. "Resolving timed out", "Connection timed out".

Merges [38757], [43511], [43512], [46682], [46996] to the 4.4 branch.
See #51669.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50091 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-30 12:08:49 +00:00
Jonathan Desrosiers
32ef684c83 Build/Test Tools: Correct JavaScript files in the 4.4 branch.
In [46498], some JavaScript files were unintentionally changed. This restores those files to their correct state.

Partially reverts [46498].
See #52367.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@50018 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-25 20:14:35 +00:00
Jonathan Desrosiers
2cf786fa3f Build/Test Tools: Remove the TravisCI configuration file.
In [49162], GitHub Action workflow configuration files were introduced to run all of Core’s automated testing with the intent to fully transition after some time was allowed for testing.

After two full months of testing, the time to finish this transition has come.

We thank TravisCI for testing the codebase through nearly 20 major and many more minor releases.

Merges [49876] to the 4.4 branch.
See #52161. See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@49889 602fd350-edb4-49c9-b593-d223f7449a82
2020-12-22 21:11:17 +00:00
Jake Spurlock
96b267f5de Build/Test Tools: Match .nvmrc with the declared node engine.
Let's match up the versions from package.json, .travis.yml and .nvmrc.

This brings the changes from [49653] to the 4.4 branch.

Fixes #51682.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@49659 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-18 23:04:45 +00:00
Jonathan Desrosiers
e9c5dad752 WordPress 4.4.24.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@49420 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-29 19:34:08 +00:00
Jake Spurlock
5475e9efc5 General: WordPress updates
* XML-RPC: Improve error messages for unprivileged users.
* External Libraries: Disable deserialization in Requests_Utility_FilteredIterator
* Embeds: Disable embeds on deactivated Multisite sites.
* Coding standards: Modify escaping functions to avoid potential false positives.
* XML-RPC: Return error message if attachment ID is incorrect.
* Upgrade/install: Improve logic check when determining installation status.
* Meta: Sanitize meta key before checking protection status.
* Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.

Brings the changes from [49380,49382-49388] to the 4.4 branch.

Props xknown, zieladam, peterwilsoncc, whyisjake, desrosj, dd32.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@49402 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-29 19:04:00 +00:00
Sergey Biryukov
503e47fcd8 Administration: Pass the result of set-screen-option filter to the new set_screen_option_{$option} filter to ensure backward compatibility.
Rename the `$keep` parameter of both filters to `$screen_option` for clarity, update the documentation to better reflect its purpose.

Follow-up to [47951].

Props Chouby, sswells, SergeyBiryukov.
Merges [48241] to the 4.4 branch.
Fixes #50392.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@48254 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-01 09:49:59 +00:00
Sergey Biryukov
b73782c487 Build/Test Tools: Bump grunt-contrib-qunit ~0.7.0 → ~1.1.0.
Merges [37020] to the 4.4 branch.
Fixes #50371. See #35104.

git-svn-id: https://develop.svn.wordpress.org/branches/4.4@48030 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-12 10:53:09 +00:00
Jonathan Desrosiers
bce9bd3287 WordPress 4.4.23.
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@47999 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-10 21:32:44 +00:00
Jake Spurlock
b81697a8a9 General: Backport several commits for release.
- Embeds: Ensure that the title attribute is set correctly on embeds.
- Editor: Prevent HTML decoding on by setting the proper editor context.
- Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
- Themes: Ensure a broken theme name is returned properly.
- Administration: Add a new filter to extend set-screen-option.
Merges [47947-47951] to the 4.4 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@47972 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-10 18:37:42 +00:00
Jonathan Desrosiers
37fc72342b Update the About page for WordPress 4.4.22
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@47694 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-29 18:30:26 +00:00
Jonathan Desrosiers
c9aa4002b5 WordPress 4.4.22
git-svn-id: https://develop.svn.wordpress.org/branches/4.4@47676 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-29 17:56:38 +00:00
Jake Spurlock
63cc1a6ee9 User: Invalidate user_activation_key on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
Cache API: Ensure proper escaping around the stats method in the cache API.
Formatting: Expand `sanitize_file_name` to have better support for utf8 characters.

Brings the changes in [47634], [47635], [47637], and [47638] to the 4.4 branch.

Props: batmoo, ehti, nickdaugherty, peterwilsoncc, sergeybiryukov, sstoqnov, westi, whyisjake, whyisjake, xknown.


git-svn-id: https://develop.svn.wordpress.org/branches/4.4@47653 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-29 16:38:31 +00:00