Commit Graph

42326 Commits

Author SHA1 Message Date
Joe McGill 2c109cc2d4 General: Backport polyfills for str_ends_with() and str_starts_with() .
Merges [52040], [56016], and [56015] to 5.5 branch.

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

Built from https://develop.svn.wordpress.org/branches/5.5@57458


git-svn-id: http://core.svn.wordpress.org/branches/5.5@56959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 18:22:59 +00:00
Joe McGill d49f09ab22 WordPress 5.5.14.
Built from https://develop.svn.wordpress.org/branches/5.5@57429


git-svn-id: http://core.svn.wordpress.org/branches/5.5@56935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 16:27:02 +00:00
Aaron Jorbin e8ad42bb01 Grouped Backports to the 5.5 branch
- Install: When populating options, maybe_serialize instead of always serialize.
- Uploads: Check for and verify ZIP archives.

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

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

Built from https://develop.svn.wordpress.org/branches/5.5@57400


git-svn-id: http://core.svn.wordpress.org/branches/5.5@56906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 14:54:02 +00:00
audrasjb b9d15b9258 WordPress 5.5.13.
Built from https://develop.svn.wordpress.org/branches/5.5@56887


git-svn-id: http://core.svn.wordpress.org/branches/5.5@56398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:33:47 +00:00
davidbaumwald 455aa62ec7 Grouped backports to the 5.5 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.
- REST API: Limit `search_columns` for users without `list_users`.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56833], [56834], [56835], [56836], and [56838] to the 5.5 branch.
Props xknown, jorbin, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, antpb, rmccue.
Built from https://develop.svn.wordpress.org/branches/5.5@56880


git-svn-id: http://core.svn.wordpress.org/branches/5.5@56391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:26:55 +00:00
audrasjb 91bc3134ff Grouped backports to the 5.5 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.

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


Built from https://develop.svn.wordpress.org/branches/5.5@55782


git-svn-id: http://core.svn.wordpress.org/branches/5.5@55294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 15:44:05 +00:00
Peter Wilson 4f0d2197b6 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 5.5 branch.
Fixes #57216.

Built from https://develop.svn.wordpress.org/branches/5.5@55377


git-svn-id: http://core.svn.wordpress.org/branches/5.5@54910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-21 02:50:58 +00:00
desrosj ce1e18ac33 WordPress 5.5.11.
Built from https://develop.svn.wordpress.org/branches/5.5@54622


git-svn-id: http://core.svn.wordpress.org/branches/5.5@54174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 21:37:21 +00:00
audrasjb 3b946f8047 Grouped backports to the 5.5 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.5 branch.
Props audrasjb, costdev, cu121, dd32, davidbaumwald, ehtis, johnbillion, johnjamesjacoby, martinkrcho, matveb, oztaser, paulkevan, peterwilsoncc, ravipatel, SergeyBiryukov, talldanwp, timothyblynjacobs, tykoted, voldemortensen, vortfu, xknown.

Built from https://develop.svn.wordpress.org/branches/5.5@54556


git-svn-id: http://core.svn.wordpress.org/branches/5.5@54111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 17:59:59 +00:00
Peter Wilson 54eb24feb7 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.5 branch.
See #56532.


Built from https://develop.svn.wordpress.org/branches/5.5@54435


git-svn-id: http://core.svn.wordpress.org/branches/5.5@53994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 05:05:05 +00:00
desrosj 7692dd406b WordPress 5.5.10.
Built from https://develop.svn.wordpress.org/branches/5.5@53992


git-svn-id: http://core.svn.wordpress.org/branches/5.5@53551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:30:10 +00:00
Sergey Biryukov f2387898e2 Grouped backports to the 5.5 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.5 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.

Built from https://develop.svn.wordpress.org/branches/5.5@53968


git-svn-id: http://core.svn.wordpress.org/branches/5.5@53527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:34:58 +00:00
davidbaumwald bc3f96de92 WordPress 5.5.9.
Built from https://develop.svn.wordpress.org/branches/5.5@52871


git-svn-id: http://core.svn.wordpress.org/branches/5.5@52460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:55:58 +00:00
audrasjb c0fd5b8c8f 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.5 branch.

Built from https://develop.svn.wordpress.org/branches/5.5@52851


git-svn-id: http://core.svn.wordpress.org/branches/5.5@52440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:05:01 +00:00
desrosj 28b01cf262 WordPress 5.5.8.
Built from https://develop.svn.wordpress.org/branches/5.5@52490


git-svn-id: http://core.svn.wordpress.org/branches/5.5@52082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:48:58 +00:00
desrosj 52734cdc4e Grouped backports to the 5.5 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.5 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.5@52468


git-svn-id: http://core.svn.wordpress.org/branches/5.5@52060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:10:57 +00:00
desrosj 9d38fc1ea9 WordPress 5.5.7.
Built from https://develop.svn.wordpress.org/branches/5.5@52116


git-svn-id: http://core.svn.wordpress.org/branches/5.5@51708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:08:56 +00:00
desrosj e1c0530d22 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.5 branch.
Fixes #54207. See #50828.
Built from https://develop.svn.wordpress.org/branches/5.5@52099


git-svn-id: http://core.svn.wordpress.org/branches/5.5@51691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 02:12:56 +00:00
desrosj 4e03cbf8bf WordPress 5.5.6.
Built from https://develop.svn.wordpress.org/branches/5.5@51761


git-svn-id: http://core.svn.wordpress.org/branches/5.5@51368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:32:56 +00:00
desrosj daf9eff56a Grouped merges for 5.5.6.
- 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.5 branch.
Built from https://develop.svn.wordpress.org/branches/5.5@51752


git-svn-id: http://core.svn.wordpress.org/branches/5.5@51360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:17:20 +00:00
Sergey Biryukov da240f21e2 General: Only use `_jsonp_wp_die_handler()` for JSONP REST API requests.
Props mdawaffe, peterwilsoncc.
Merges [51740] to the 5.5 branch.
Built from https://develop.svn.wordpress.org/branches/5.5@51744


git-svn-id: http://core.svn.wordpress.org/branches/5.5@51352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 17:25:56 +00:00
Peter Wilson 356a49af41 WordPress 5.5.5
Built from https://develop.svn.wordpress.org/branches/5.5@50871


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:13:54 +00:00
Peter Wilson aae37f1790 External libraries: Improve attachment handling in PHPMailer
Props: audrasjb, ayeshrajans, desrosj, peterwilsoncc, xknown.
Partially merges [50799] to the 5.5 branch.


Built from https://develop.svn.wordpress.org/branches/5.5@50849


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 22:26:56 +00:00
Peter Wilson 3a58019c39 Version bump for 5.5.4.
Built from https://develop.svn.wordpress.org/branches/5.5@50738


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:35:01 +00:00
Peter Wilson 3623a537fa Grouped merges for 5.5.4.
* REST API: Allow authors to read their own password protected posts.
* About page update

Merges [50717] to the 5.5 branch.

Built from https://develop.svn.wordpress.org/branches/5.5@50725


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:07:00 +00:00
Peter Wilson 879e812239 Editor: Update of @wordpress npm packages for 5.5.4.
Built from https://develop.svn.wordpress.org/branches/5.5@50722


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 00:10:23 +00:00
desrosj 88e3d8ef14 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.5 branch.
Fixes #52983.
Built from https://develop.svn.wordpress.org/branches/5.5@50673


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 15:29:04 +00:00
desrosj 64dc3f9159 Build/Test Tools: Backport GitHub Action and build improvements to the 5.5 branch.
This backports several build and test tool improvements to the 5.5 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.5 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667, #52786.
Built from https://develop.svn.wordpress.org/branches/5.5@50603


git-svn-id: http://core.svn.wordpress.org/branches/5.5@50216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 17:49:17 +00:00
desrosj fa18a89a67 Build/Test Tools: Restore automated testing in the 5.5 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 5.5 branch.
See #50401.
Built from https://develop.svn.wordpress.org/branches/5.5@50302


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-12 17:39:59 +00:00
desrosj 425d33ee65 Build/Test Tools: Fix tests after [50188].
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.5 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/5.5@50194


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:42:02 +00:00
desrosj 2d74427834 Build/Test Tools: Support NodeJS 14.x in the 5.5 branch.
This updates the 5.5 branch to support the latest LTS version of NodeJS (currently 14.x) in an effort to allow the same version of NodeJS to be used across all WordPress branches receiving security updates as a courtesy.

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

Props desrosj, dd32, netweb, jorbin.
Merges [48705,49636,49933,49937,49939-49940,49983,49989-49990,50016-50017,50126,50176,50185] to the 5.5 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/5.5@50188


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:06:34 +00:00
Sergey Biryukov 54362b988a Tests: Set up the plugin download in multisite plugin tests to come locally.
This brings consistency between single site and multisite in REST API plugin installation tests.

Previously, multisite tests were unnecessarily downloading the plugin from WordPress.org on each test run, causing external HTTP requests and leading to failures in case of a timeout.

Follow-up to [48242], [49491], [49913].

Merges [49951] to the 5.5 branch.
See #51669.
Built from https://develop.svn.wordpress.org/branches/5.5@50086


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-30 10:41:53 +00:00
Sergey Biryukov 317f7331fc Tests: Disable update checks while running REST API plugin installation tests.
This prevents external HTTP requests that are not required for the tests in question and may interfere with the results in case of a timeout.

Follow-up to [48242], [49491].

Merges [49913] to the 5.5 branch.
See #51669.
Built from https://develop.svn.wordpress.org/branches/5.5@50084


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-30 10:38:58 +00:00
desrosj 9c3b41b023 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 5.5 branch.
See #52161. See #50401.
Built from https://develop.svn.wordpress.org/branches/5.5@49878


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 21:06:07 +00:00
desrosj eb3e30b6e8 Build/Test Tools: Remove the Appveyor configuration file.
Appveyor was added to Core in [44594] to ensure that NPM and the WordPress build tools continue to work correctly on Windows systems as changes are made. Using an additional service for this was required at the time, TravisCI did not support testing on Windows.

[49162] introduced a GitHub Action workflow that performed the same testing. Since all automated testing is moving to GitHub Actions, using Appveyor is no longer necessary, and it’s preferable to have all automated testing in one location as much as possible.

Props ayeshrajans.
Merges [49779] to the 5.5 branch.
See #51968.
Built from https://develop.svn.wordpress.org/branches/5.5@49810


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-17 12:29:10 +00:00
Sergey Biryukov 30cfb5eed3 Security: Update the Security Policy for the 5.5 branch.
See [49645], [49646].
Props whyisjake.
Built from https://develop.svn.wordpress.org/branches/5.5@49647


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-17 23:07:05 +00:00
desrosj 2b186198ca Build/Test Tools: Fix Travis configuration error.
Follow up to [49500].

See #51705.
Built from https://develop.svn.wordpress.org/branches/5.5@49501


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-04 15:57:04 +00:00
desrosj 21df5a2520 Build/Test Tools: Remove the E2E test job from the 5.5 branch.
The E2E test job does not currently perform any meaningful tests, so continuing to run them is not necessary for older branches.

Props johnbillion.
See #51705.
Built from https://develop.svn.wordpress.org/branches/5.5@49500


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-04 15:54:06 +00:00
desrosj 433f7ec7a1 Build/Test Tools: Remove jobs that are allowed to fail for the 5.5 branch.
Because PHP 8 support will not be backported to the 5.5 branch, the test job in the Travis matrix will never pass, making it unnecessary to continue running.

See #51705.
Built from https://develop.svn.wordpress.org/branches/5.5@49497


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-04 15:02:07 +00:00
Sergey Biryukov 18b7e09efb Post WordPress 5.5.3 version bump. The 5.5 branch is now 5.5.4 alpha.
Built from https://develop.svn.wordpress.org/branches/5.5@49468


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 21:17:06 +00:00
Sergey Biryukov 3448d022f8 WordPress 5.5.3.
Props audrasjb.
Fixes #51684.
Built from https://develop.svn.wordpress.org/branches/5.5@49458


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 19:32:05 +00:00
whyisjake fd75e76255 Upgrade/Install: During the install process, add additional checking for exising tables.
This commit brings the changes in [49452] to the 5.5 branch.

If reinstalling WordPress, there is a condition where tables would exist in the database. Ensures that when that is the case, the install process can carry along without issue.

Fixes #51676.

Props xknown, garubi, mukesh27, desrosj, johnbillion, metalandcoffee, davidbaumwald, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.5@49453


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 17:56:08 +00:00
Sergey Biryukov 1efd16777a Post WordPress 5.5.2 version bump. The 5.5 branch is now 5.5.3 alpha.
Built from https://develop.svn.wordpress.org/branches/5.5@49449


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 20:56:08 +00:00
desrosj f9e0a7396c WordPress 5.5.2.
Props audrasjb.
Fixes #51649.
Built from https://develop.svn.wordpress.org/branches/5.5@49447


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 20:02:05 +00:00
noisysocks 67a606b0f4 Editor: Update packages
@wordpress/block-directory: 1.13.8 -> 1.13.9
@wordpress/block-editor: 4.3.8 -> 4.3.9
@wordpress/block-library: 2.22.8 -> 2.22.9
@wordpress/edit-post: 3.21.8 -> 3.21.9
@wordpress/edit-site: 1.11.8 -> 1.11.9
@wordpress/editor: 9.20.8 -> 9.20.9
@wordpress/format-library: 1.22.8 -> 1.22.9

See #51659.

Built from https://develop.svn.wordpress.org/branches/5.5@49446


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 20:00:29 +00:00
whyisjake 13bdf36937 XML-RPC: Improve error messages for unprivileged users.
Add specific permission checks to avoid ambiguous failure messages.

This brings the changes in [49380] to the 5.5 branch.

Props zieladam, peterwilsoncc, xknown, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.5@49389


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 18:28:08 +00:00
whyisjake d80104976c Coding Standards: Use a strict comparison operator when comparing values.
Props batmoo, mukesh27.

Built from https://develop.svn.wordpress.org/branches/5.5@49381


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 17:46:06 +00:00
whyisjake f2b1d503c0 Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.
Props xknown, zieladam, peterwilsoncc, whyisjake

Built from https://develop.svn.wordpress.org/branches/5.5@49379


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 17:35:04 +00:00
whyisjake 270c69eacd Meta: Sanitize meta key before checking protection status.
Props zieladam, peterwilsoncc, xknown, whyisjake.


Built from https://develop.svn.wordpress.org/branches/5.5@49378


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 17:33:05 +00:00
whyisjake 951e583bb4 Upgrade/install: Improve logic check when determining installation status.
Improve handling of ambiguous return values to determine if a blog is installed.

Props zieladam, xknown.

Built from https://develop.svn.wordpress.org/branches/5.5@49377


git-svn-id: http://core.svn.wordpress.org/branches/5.5@49136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 17:26:03 +00:00