Commit Graph

41318 Commits

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

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

Built from https://develop.svn.wordpress.org/branches/5.4@57460


git-svn-id: http://core.svn.wordpress.org/branches/5.4@56961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 18:28:56 +00:00
Joe McGill 64a16b95a4 WordPress 5.4.15.
Built from https://develop.svn.wordpress.org/branches/5.4@57428


git-svn-id: http://core.svn.wordpress.org/branches/5.4@56934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 16:25:56 +00:00
Aaron Jorbin d96528a9c9 Grouped Backports to the 5.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 5.4 branch.

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


Built from https://develop.svn.wordpress.org/branches/5.4@57401


git-svn-id: http://core.svn.wordpress.org/branches/5.4@56907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 14:54:58 +00:00
audrasjb d33ba73358 WordPress 5.4.14.
Built from https://develop.svn.wordpress.org/branches/5.4@56885


git-svn-id: http://core.svn.wordpress.org/branches/5.4@56396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:31:38 +00:00
davidbaumwald 748a485085 Grouped backports to the 5.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.
- 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.4 branch.
Props xknown, jorbin, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, antpb, rmccue.
Built from https://develop.svn.wordpress.org/branches/5.4@56878


git-svn-id: http://core.svn.wordpress.org/branches/5.4@56389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:25:08 +00:00
audrasjb 4cb6ce1c75 Grouped backports to the 5.4 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.4 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.


Built from https://develop.svn.wordpress.org/branches/5.4@55785


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

Built from https://develop.svn.wordpress.org/branches/5.4@55378


git-svn-id: http://core.svn.wordpress.org/branches/5.4@54911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-21 02:52:55 +00:00
audrasjb f8ebe4e377 5.4.12
Built from https://develop.svn.wordpress.org/branches/5.4@54588


git-svn-id: http://core.svn.wordpress.org/branches/5.4@54142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:51:51 +00:00
desrosj e289c569ae Editor: Bump @wordpress packages for 5.4.12.
Package updates for bug fixes:

* @wordpress/block-library: 2.14.11
* @wordpress/edit-post: 3.13.13
Built from https://develop.svn.wordpress.org/branches/5.4@54574


git-svn-id: http://core.svn.wordpress.org/branches/5.4@54128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:22:53 +00:00
audrasjb aac137786b Grouped backports to the 5.4 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.4 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.4@54559


git-svn-id: http://core.svn.wordpress.org/branches/5.4@54114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 18:02:54 +00:00
Peter Wilson 3001120a45 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.4 branch.
See #56532.



Built from https://develop.svn.wordpress.org/branches/5.4@54436


git-svn-id: http://core.svn.wordpress.org/branches/5.4@53995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 05:07:01 +00:00
desrosj a48aad36fb WordPress 5.4.11.
Built from https://develop.svn.wordpress.org/branches/5.4@53993


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

Built from https://develop.svn.wordpress.org/branches/5.4@53969


git-svn-id: http://core.svn.wordpress.org/branches/5.4@53528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:36:55 +00:00
davidbaumwald a17214dd2f WordPress 5.4.10.
Built from https://develop.svn.wordpress.org/branches/5.4@52872


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

Built from https://develop.svn.wordpress.org/branches/5.4@52852


git-svn-id: http://core.svn.wordpress.org/branches/5.4@52441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:07:55 +00:00
desrosj e4e39a15dc WordPress 5.4.9.
Built from https://develop.svn.wordpress.org/branches/5.4@52491


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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@52061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:11:51 +00:00
desrosj 562cb70fcb WordPress 5.4.8.
Built from https://develop.svn.wordpress.org/branches/5.4@52117


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:09:50 +00:00
desrosj a358d35b05 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.4 branch.
Fixes #54207. See #50828.
Built from https://develop.svn.wordpress.org/branches/5.4@52100


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 02:15:53 +00:00
desrosj 1d3a777a64 WordPress 5.4.7.
Built from https://develop.svn.wordpress.org/branches/5.4@51762


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:34:50 +00:00
desrosj e5af3e6422 Grouped merges for 5.4.7.
- 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.4 branch.
Built from https://develop.svn.wordpress.org/branches/5.4@51754


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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 17:26:54 +00:00
Peter Wilson 9fad766cf5 WordPress 5.4.6.
Built from https://develop.svn.wordpress.org/branches/5.4@50872


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


Built from https://develop.svn.wordpress.org/branches/5.4@50850


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 22:27:53 +00:00
Peter Wilson 304800d3df Version bump for 5.4.5.
Built from https://develop.svn.wordpress.org/branches/5.4@50739


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:36:54 +00:00
desrosj 05d137fa28 Grouped merges for 5.4.5.
* REST API: Allow authors to read their own password protected posts.
* About page update.

Merges [50717] to the 5.4 branch.

Built from https://develop.svn.wordpress.org/branches/5.4@50727


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:09:57 +00:00
Peter Wilson d53989d502 Editor: Update of @wordpress npm packages for 5.4.5.
Built from https://develop.svn.wordpress.org/branches/5.4@50723


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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 18:21:57 +00:00
desrosj 81cff8dd5d Build/Test Tools: Support NodeJS 14.x in the 5.4 branch.
This updates the 5.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.

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

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:12:12 +00:00
Sergey Biryukov 2c3280a29c WordPress 5.4.4.
Built from https://develop.svn.wordpress.org/branches/5.4@49459


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 19:47:10 +00:00
whyisjake e31b706de8 Upgrade/Install: During the install process, add additional checking for exising tables.
This commit brings the changes in [49452] to the 5.4 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.4@49454


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 18:27:09 +00:00
desrosj dc457efef8 WordPress 5.4.3.
Built from https://develop.svn.wordpress.org/branches/5.4@49410


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:35:09 +00:00
whyisjake 7fa5b6c463 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 5.4 branch.

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

Built from https://develop.svn.wordpress.org/branches/5.4@49391


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 18:41:13 +00:00
desrosj 4f7edb22a1 Build/Test Tools: Allow the desired version of PHPUnit to be passed to the local Docker environment.
This introduces the `LOCAL_PHPUNIT` environment variable, which allows the desired version of PHPUnit to be specified when running the PHP tests within the local Docker environment.

Because support for newer versions of PHPUnit is not backported, some versions of PHP need the ability to run multiple versions of PHPUnit for different branches. This adds the flexibility needed to use the Docker environment within those older branches to run the PHP tests.

Props johnbillion, SergeyBiryukov.
Merges [49362] to the 5.4 branch.
See #50042.
Built from https://develop.svn.wordpress.org/branches/5.4@49364


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-28 23:48:09 +00:00
desrosj 47674e27e7 Build/Test Tools: Specify a type when using `wp config set`.
This prevents an error if constants are not predefined when running the Docker install script while using older combinations of WordPress/PHP/WP-CLI.

Backports [49335] to the 5.4 branch.
See #48301.
Built from https://develop.svn.wordpress.org/branches/5.4@49341


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 19:06:13 +00:00
Sergey Biryukov 92b65c7449 Build Tools: Fix running installing Composer dependencies using Composer 2.0.
This updates the `dealerdirect/phpcodesniffer-composer-installer` package to allow installing version `0.7.0` which supports Composer 2.0.

Props itowhid06, jrf.
Merges [49306] to the 5.4 branch.
See #51624.
Built from https://develop.svn.wordpress.org/branches/5.4@49318


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 00:06:06 +00:00
Sergey Biryukov e82a76b282 Tests: Temporarily skip PDF tests if they fail due to ImageMagick permission errors.
Merges [48338], [48341] to the 5.4 branch.

See #50573.
Built from https://develop.svn.wordpress.org/branches/5.4@48366


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:34:07 +00:00
Sergey Biryukov 6d6b2663e3 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 5.4 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/5.4@48244


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:45:08 +00:00
Dominik Schilling 16851bac1c Bump Akismet external to 4.1.6.
git-svn-id: http://core.svn.wordpress.org/branches/5.4@47863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-19 18:52:01 +00:00
Sergey Biryukov 63a8b31572 Bundled Themes: Bump Twenty Twenty and Twenty Nineteen versions.
This was intended for the WordPress 5.4.2 release, but will now be released with WordPress 5.4.3 instead.

Props ianbelanger, ocean90.
Merges [47800] and [47952] to the 5.4 branch.
Fixes #50359. See #50174.
Built from https://develop.svn.wordpress.org/branches/5.4@48029


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-11 18:52:10 +00:00
desrosj bc0b9ddb79 Post WordPress 5.4.2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@48025


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 22:50:09 +00:00
desrosj da4607a28a WordPress 5.4.2.
Props whyisjake, audrasjb, desrosj.
Fixes #50269.
Built from https://develop.svn.wordpress.org/branches/5.4@47989


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:32:07 +00:00
whyisjake 8c6dbdb9ae Editor: Ensure latest comments can only be viewed from public posts.
This brings the changes from [47984] to the 5.4 branch.

Props: poena, xknown.

Built from https://develop.svn.wordpress.org/branches/5.4@47985


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 19:23:06 +00:00
desrosj ec8c5a8761 Administration: Add a new filter to extend set-screen-option.
Merges [47951] to the 5.4 branch.
Props: xknown, SergeyBiryukov.
Built from https://develop.svn.wordpress.org/branches/5.4@47957


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:50:12 +00:00
desrosj 9e494d832d Themes: Ensure a broken theme name is returned properly.
Merges [47950] to the 5.4 branch.
Props: sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.4@47956


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:49:06 +00:00
desrosj caab820b2c Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
Merges [47949] to the 5.4 branch.
Props: xknow, vortfu.
Built from https://develop.svn.wordpress.org/branches/5.4@47955


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:47:10 +00:00
desrosj 72f6ea5d76 Editor: Prevent HTML decoding on by setting the proper editor context.
Merges [47948] to the 5.4 branch.
Props: sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.4@47954


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:46:05 +00:00
desrosj 0fe021801d Embeds: Ensure that the title attribute is set correctly on embeds.
Merges [47947] to the 5.4 branch.
Props xknown.
Built from https://develop.svn.wordpress.org/branches/5.4@47953


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:44:07 +00:00
Sergey Biryukov e23ccd2fcd Site Health: Avoid a PHP notice in `WP_Site_Health::wp_cron_scheduled_check()` if async test response does not contain the expected result.
Additionally, avoid a PHP notice in `::get_test_php_version()` if the minimum recommended version of PHP could not be determined.

Props schlessera, oakesjosh.
Merges [47628] to the 5.4 branch.
Fixes #49943.
Built from https://develop.svn.wordpress.org/branches/5.4@47931


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 11:27:09 +00:00
whyisjake 5c256d1c7a WordPress 5.4.2 RC 1.
Built from https://develop.svn.wordpress.org/branches/5.4@47900


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-03 15:11:07 +00:00