43103 Commits

Author SHA1 Message Date
Jonathan Desrosiers
246a2bea52 Editor: Bump @wordpress packages for 5.6.10.
Package updates for bug fixes:

* @wordpress/block-directory: 1.17.11
* @wordpress/block-library: 2.26.11
* @wordpress/edit-post: 3.25.11

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@54573 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 18:36:07 +00:00
Jb Audras
36248b2a4f Grouped backports to the 5.6 branch.
- Editor: Bump @wordpress packages for the branch,
- Media: Refactor search by filename within the admin,
- REST API: Lockdown post parameter of the terms endpoint,
- Customize: Escape blogname option in underscores templates,
- Query: Validate relation in `WP_Date_Query`,
- 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,
- Mail: Reset PHPMailer properties between use,
- Comments: Apply kses when editing comments,
- Widgets: Escape RSS error messages for display.

Merges [54521-54530] to the 5.6 branch.
Props audrasjb, costdev, cu121, dd32, davidbaumwald, ehtis, johnbillion, johnjamesjacoby, martinkrcho, matveb, oztaser, paulkevan, peterwilsoncc, ravipatel, SergeyBiryukov, talldanwp, timothyblynjacobs, tykoted, voldemortensen, vortfu, xknown.


git-svn-id: https://develop.svn.wordpress.org/branches/5.6@54555 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 17:56:34 +00:00
Peter Wilson
f6bc4ec879 Tests: Replace the timezone used in date/time tests.
The `Europe/Kiev` timezone has been deprecated in PHP 8.2 and replaced with `Europe/Kyiv`.

The tests updated in this commit are testing the WordPress date/time functionality. They are **not** testing whether WP or PHP can handle deprecated timezone names correctly.

To ensure the tests follow the original purpose, the use of `Europe/Kiev` within these tests is now replaced with the `Europe/Helsinki` timezone, which is within the same timezone as `Europe/Kyiv`. This should ensure that these tests run without issue and test what they are supposed to be testing on every supported PHP version (unless at some point in the future `Europe/Helsinki` would be renamed, but that's a bridge to cross if and when).

Note: Separate tests should/will be added to ensure that relevant date/time related functions handle a deprecated timezone correctly, but that is not something ''these'' tests are supposed to be testing.

Follow-up to [45853], [45856], [45876], [45882], [45887], [45908], [45914], [46577], [46154], [46580], [46864], [46974], [54207].

Props jrf, costdev, SergeyBiryukov.
Merges [54217] to the 5.6 branch.
See #56468.



git-svn-id: https://develop.svn.wordpress.org/branches/5.6@54516 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-14 07:00:08 +00:00
Peter Wilson
3bbcca4171 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 5.6 branch.
See #56532.



git-svn-id: https://develop.svn.wordpress.org/branches/5.6@54434 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-10 04:53:43 +00:00
Jonathan Desrosiers
7cc382e534 WordPress 5.6.9.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@53991 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-30 17:24:31 +00:00
Sergey Biryukov
7fa3b75a5f Grouped backports to the 5.6 branch.
- Posts, Post Types: Escape output within `the_meta()`.
- General: Ensure bookmark query limits are numeric.
- Plugins: Escape output in error messages.
- Build/Test Tools: Allow the PHPCS plugin in Composer configuration.

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


git-svn-id: https://develop.svn.wordpress.org/branches/5.6@53967 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-30 15:32:30 +00:00
Jonathan Desrosiers
118b360f01 Build/Test Tools: Correct svn:mergeinfo after [53599].
[50446] was mistakenly removed.

See #56095.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@53625 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:32:32 +00:00
Jonathan Desrosiers
664c887cad Build/Test Tools: Merges typo fix from [51511] missed in previous commit.
Follow up to [53599].

Merges [51511] to the 5.7 branch.
See #56095.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@53606 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 16:55:59 +00:00
Jonathan Desrosiers
da326475ab 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.

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

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@53599 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 16:35:15 +00:00
David Baumwald
89435b3663 WordPress 5.6.8.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@52870 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 21:52:47 +00:00
Jb Audras
06e32a36a2 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.6 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/5.6@52850 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 21:00:38 +00:00
Jonathan Desrosiers
78354990df WordPress 5.6.7.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@52489 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-06 18:44:13 +00:00
Jonathan Desrosiers
0cca4720ea Grouped backports to the 5.6 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 5.6 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@52467 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-06 17:55:41 +00:00
Jonathan Desrosiers
024e654b46 WordPress 5.6.6.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@52115 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-10 17:05:17 +00:00
Jonathan Desrosiers
d9f346bdfa HTTP: Remove the DST Root CA X3 certificate expired on September 30, 2021.
> The currently recommended certificate chain as presented to Let’s Encrypt ACME clients when new certificates are issued contains an intermediate certificate (ISRG Root X1) that is signed by an old DST Root CA X3 certificate that expires on 2021-09-30. In some cases the OpenSSL 1.0.2 version will regard the certificates issued by the Let’s Encrypt CA as having an expired trust chain.
> 
> Most up-to-date CA cert trusted bundles, as provided by operating systems, contain this soon-to-be-expired certificate. The current CA cert bundles also contain an ISRG Root X1 self-signed certificate. This means that clients verifying certificate chains can find the alternative non-expired path to the ISRG Root X1 self-signed certificate in their trust store.
> 
> Unfortunately this does not apply to OpenSSL 1.0.2 which always prefers the untrusted chain and if that chain contains a path that leads to an expired trusted root certificate (DST Root CA X3), it will be selected for the certificate verification and the expiration will be reported.

References:
* [https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/ Old Let’s Encrypt Root Certificate Expiration and OpenSSL 1.0.2]
* [https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ DST Root CA X3 Expiration (September 2021)]

Follow-up to [25224], [25426], [25569], [27307], [30491], [30765], [34283], [35919], [36570], [46094].

Props bradleyt, fierevere, SergeyBiryukov, peterwilsoncc.
Merges [51883] to the 5.6 branch.
Fixes #54207. See #50828.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@52098 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-10 02:10:42 +00:00
Jonathan Desrosiers
767009b5d3 Build/Test Tools: Fix issue with Composer setup caused by [51933].
See #54223.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51936 602fd350-edb4-49c9-b593-d223f7449a82
2021-10-25 20:10:13 +00:00
Jonathan Desrosiers
1c09a2daf6 Build/Test Tools: Change the patch version used for testing the 5.6 branch of PHP.
This unpins the version of PHP 5.6.20 used when testing the 5.6 branch of PHP.

Using 5.6.20 was an intentional decision in [49162], as that patch version is the oldest version of PHP 5.6 still supported by WordPress. However, as of September 30, 2021, the `5.6.20` image contains a version of OpenSSL with an expired certificate, sometimes resulting in an expired trust chain.

Props Clorith, hellofromTonya, SergeyBiryukov, desrosj.
Merges [51890] to the 5.6 branch.
See #54223.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51933 602fd350-edb4-49c9-b593-d223f7449a82
2021-10-25 19:16:32 +00:00
Tonya Mork
2283fe0cbf Build/Test Tools: Fix test forward-compatibility layer.
In [51840], the test wrapper methods were not being called due to the names not being recognized as supported PHPUnit "hook" names for fixtures.

This commit:
- Fixes the problem by adding extra camelCase wrappers to the `WP_UnitTestCase` to call the methods in the right order.
- Adds wrappers for the `assertPreConditions()` and `assertPostConditions()` fixture methods to make the backport feature complete for the fixture wrappers.

Test wrapper methods call fix:

By adding method overloads for the PHPUnit native camelCase fixture methods and letting those call the (camelCase) parent method first and only calling the snake_case fixture methods after, the snake_case methods can be supported and the typical run order safeguarded.

As not all test classes will have declared snake_case fixture methods, the snake_case fixture methods are also declared in the `WP_UnitTestCase`. Why? This prevents having to wrap these method calls in `method_exists()` conditions checking for the existence of the snake_case methods in an unknown Test child class. And with the normal inheritance rules in combination with calling the method using `static`, the right method will be called anyway without fatal "calling undeclared method" errors.

Note: While it will be rare, there ''may'' be cases where a test class does not adhere to the normal execution order for fixtures, i.e. for the setup methods, parent first, own code second; and for the teardown methods, own code first, parent second. For example a test class which has "some code - `parent::setUp()` call - some more code" in their `setUp()` method. In those (rare) cases, the execution order of the code will now be changed, which may have side-effects. This rare case will be identified in the dev note.

Follow-up to [51840].

Props bjorsch, swissspidy, jrf, hellofromTonya.
See #53911.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51863 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-24 13:54:12 +00:00
Jonathan Desrosiers
279d36ebf3 Build/Test Tools: Introduce the PHPUnit Polyfills package for easier cross branch testing.
This backports the PHPUnit Polyfills package and related test infrastructure changes to make it easier for developers to continue testing on multiple versions WordPress while adding tests for newer versions of PHP, which require more modern PHPUnit practices.

One of the changes included is the addition of wrappers for the new snake_case fixture methods in PHPUnit. This allows the native camelCase standard in PHPUnit to be used, but allows for developers to transition to the new naming conventions.

Props hellofromTonya, jrf, SergeyBiryukov, johnbillion, netweb, schlessera, jeherve, lucatume, desrosj.
Merges [51559,51560,51810-51813,51828] to the 5.6 branch.
See #53911.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51840 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-21 19:29:38 +00:00
Jonathan Desrosiers
5f95aa0b8b WordPress 5.6.5.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51760 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-08 21:28:12 +00:00
Jonathan Desrosiers
58173c32e0 Grouped merges for 5.6.5.
- Update `lodash` to the latest version `4.17.21`.
- Disable some attributes for rich text.
- Use hashed/deterministic moduleIDs in webpack config.

Props ellatrix, peterwilsoncc, get_dave, mcsf, talldanwp, youknowriad, desrosj, nerrad, gziolo.
Merges [50940-50941,50984-50985,51426] to the 5.6 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51751 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-08 21:11:10 +00:00
Sergey Biryukov
c8b23748d4 General: Only use _jsonp_wp_die_handler() for JSONP REST API requests.
Props mdawaffe, peterwilsoncc.
Merges [51740] to the 5.6 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@51743 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-08 17:22:27 +00:00
Peter Wilson
8724f61f99 WordPress 5.6.4.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50870 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-12 23:11:26 +00:00
Peter Wilson
cea3c9887d External libraries: Improve attachment handling in PHPMailer
Props: audrasjb, ayeshrajans, desrosj, peterwilsoncc, xknown.
Partially merges [50799] to the 5.6 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50848 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-12 22:24:16 +00:00
Peter Wilson
9ec7be02d1 Version bump for 5.6.3.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50737 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-15 01:31:29 +00:00
Jonathan Desrosiers
a9f2b0fa8f Grouped merges for 5.6.3.
* REST API: Allow authors to read their own password protected posts.
* About page update.

Merges [50717] to the 5.6 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50726 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-15 01:06:00 +00:00
Peter Wilson
63d1e69a61 Editor: Update of @wordpress npm packages for 5.6.3.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50721 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-15 00:03:15 +00:00
Jonathan Desrosiers
fbb2f41d2a External libraries: Include upstream GetID3 fix for PHP 8.
Merges [50714] to the 5.6 branch.
Props jrf, xknown.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50716 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-14 23:15:09 +00:00
Jonathan Desrosiers
f42d07e74d Build/Test Tools: Prevent PHPUnit tests on push for forks/private mirrors.
The reorganization of the PHPUnit workflow in [50441] unintentionally caused the tests to be run for every `push` event, even for forks and private mirrors.

Previously, the second job required the first one to pass, and the conditional check on the first prevented both from running. Because the first job is no longer required for the second, both jobs must have the appropriate conditional check.

Merges [50670] to the 5.6 branch.
Fixes #52983.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50672 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 15:25:28 +00:00
Jonathan Desrosiers
8aeb41e2bc Build/Test Tools: Backport GitHub Action and build improvements to the 5.6 branch.
This backports several build and test tool improvements to the 5.6 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].
- The ability to run PHPUnit tests from `src` instead of `build` [50441-50443].
- 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 [50267,50299,50379,50387,50413,50416,50432,50435-50436,50441-50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590,50592,50598] to the 5.6 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667, #52786.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50602 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 17:21:35 +00:00
Sergey Biryukov
fab2d55c29 External Libraries: Install jQuery via NPM.
Previously, jQuery 1.12.4 was added to the WordPress SVN repo in order to backport an upstream security patch from jQuery 3.4.0.

Now that WordPress includes an unmodified version of jQuery 3.5.1 and no longer needs to maintain a fork, it can be removed from the SVN repo and installed via NPM again as part of the build.

Follow-up to [45342], [49101].

Props peterwilsoncc, SergeyBiryukov.
Merges [50445] to the 5.6 branch.
Fixes #52647.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50459 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-01 08:27:03 +00:00
Jonathan Desrosiers
0aac78cfce Post WordPress 5.6.2 version bump.
The 5.6 branch is now 5.6.3 alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50405 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-22 15:41:35 +00:00
Jonathan Desrosiers
3fc677afe0 WordPress 5.6.2.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50403 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-22 15:06:44 +00:00
Sergey Biryukov
f8bf8b5ee0 Help/About: Update the About page for 5.6.2.
Props audrasjb, desrosj, mukesh27.
Reviewed by desrosj, SergeyBiryukov.
Fixes #52557.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50402 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-22 14:13:12 +00:00
Jonathan Desrosiers
97e995e13f Post WordPress 5.6.2 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50378 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-17 15:33:01 +00:00
Jonathan Desrosiers
2f464a25d5 WordPress 5.6.2 RC1.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50377 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-17 15:05:26 +00:00
Jonathan Desrosiers
8658894bd3 Editor: Update block editor dependencies for 5.6.2.
This updates several packages to their latest patch versions to fix bugs discovered in the 5.6 branch.

`@wordpress/block-directory` to `1.17.8`
`@wordpress/block-editor` to `5.1.7`
`@wordpress/block-library` to `2.26.8`
`@wordpress/components` to `11.1.5`
`@wordpress/core-data` to `2.24.4`
`@wordpress/edit-post` to `3.25.8`
`@wordpress/editor` to `9.24.7`
`@wordpress/format-library` to `1.25.7`
`@wordpress/list-reusable-blocks` to `1.24.5`
`@wordpress/media-utils` to `1.18.1`
`@wordpress/nux` to `3.23.5`
`@wordpress/reusable-blocks` to `1.0.7`
`@wordpress/server-side-render` to `1.19.5`

Props isabel_brison, talldanwp, youknowriad, freewebmentor, sterndata, inc2734, itsjonq, jorgefilipecosta, aristath, nosolosw, mattwiebe, addiestavlo, kevin940726, noisysocks, aaronrobertshaw, glendaviesnz, gwwar, bernhard-reiter, paaljoachim.
Fixes #52396, #52449, #52553.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50376 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-17 14:14:44 +00:00
Jonathan Desrosiers
172d96147b Editor: Correct the check for unsaved content in wp.autosave.server.postChanged().
This fixes improper triggering of the "Are you sure?" prompt when navigating away from the old, "classic" Edit Post screen and there are no changes.

The previous check did not account for Pages or any custom post types that don't have a Title, Content, or Excerpt field.

Follow-up to [50031].

Props hwk-fr, mukesh27, audrasjb, archon810, Clorith, ibiza69, tonysandwich, roger995, bartosz777, viablethought, dbtedg, worldedu, hmabpera, magnuswebdesign.
Merges [50232] to the 5.6 branch.
Fixes #52440.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50366 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 20:22:36 +00:00
Sergey Biryukov
1b0e240d3d Filesystem API: Make sure to only call fread() on non-empty files in the PclZip library.
This avoids a fatal error on PHP 8 caused by passing a zero value to `fread()` as the `$length` argument, which must be greater than zero.

Props yakimun, fierevere, jrf, DavidAnderson, SergeyBiryukov.
Merges [50355] to the 5.6 branch.
Fixes #52018.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50356 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 18:46:21 +00:00
Jonathan Desrosiers
0c66714b84 Build/Test Tools: Run automated testing when tags are created.
This expands the list of events that triggers automated testing to include tags.

It also refines the matched version ranges for several workflows.

Merges [50298] to the 5.6 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50301 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 17:30:18 +00:00
Jonathan Desrosiers
7881f918b0 Build/Test Tools: Merge several automated testing improvements to the 5.6 branch.
This merges several refinements to GitHub Action workflow files to the 5.6 branch.

It also includes [49836], which added the ability to replace `mysql` with `mariadb` when using the local Docker environment to ensure consistency of the tools across branches.

Props johnbillion.
Merges [49781-49784,49786,49836,49938,50268,50285] to the 5.6 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50296 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 14:53:59 +00:00
Jonathan Desrosiers
c96850536a Build/Test Tools: Change the version of NodeJS tested on Windows to 14.
Merges [49782] to the 5.6 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50198 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 03:49:58 +00:00
Jonathan Desrosiers
8aa4153d3b Build/Test Tools: Fix tests after [50186].
This removes a test assertion defending against version ranges in the `node` value in `package.json` files. This is now supported.

Props peterwilsoncc.
Merges [50192] to the 5.6 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50193 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 03:38:58 +00:00
Jonathan Desrosiers
490ddf0635 Build/Test Tools: Pin NodeJS 14.x in the .nvmrc file for the 5.6 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50187 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 02:57:39 +00:00
Jonathan Desrosiers
8a509c8cec Build/Test Tools: Specify a version range within engines for node and npm.
This makes it more clear what versions of `node` and `npm` will successfully build WordPress.

Props dd32, mkaz.
Merges [50185] to the 5.6 branch.
Fixes #52455. See #51749.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50186 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 02:49:10 +00:00
Jonathan Desrosiers
719dc6436a Build/Test Tools: Replace node-sass with Dart Sass
Switch the Sass implementation used by Grunt to sass (the Dart version), since LibSass & node-sass have been deprecated.

Additionally, this updates the `uglify-js` dependency.

Merges [50126] and [50176] to the 5.6 branch.
See #51763, #51801.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50184 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 02:21:53 +00:00
Jonathan Desrosiers
6eb87d7c5c Post WordPress 5.6.1 version bump.
The 5.6 branch is now 5.6.2 alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50180 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-03 21:32:47 +00:00
Jonathan Desrosiers
98ca7a488e WordPress 5.6.1.
git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50178 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-03 21:08:48 +00:00
Jake Spurlock
da3578381c Help/About: About page changes for 5.6.1.
Props ryelle, audrasjb.

Fixes #52346.


git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50177 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-03 17:18:36 +00:00
Peter Wilson
1b188f1190 Build/Test Tools: Update built files committed to src following [50023].
See #51801, #52341.



git-svn-id: https://develop.svn.wordpress.org/branches/5.6@50173 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-03 01:53:57 +00:00