39263 Commits

Author SHA1 Message Date
Jb Audras
015637d2ad WordPress 5.1.17.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@56879 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-12 15:07:40 +00:00
David Baumwald
f246022fa5 Grouped backports to the 5.1 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.1 branch.
Props xknown, jorbin, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, antpb, rmccue.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@56873 602fd350-edb4-49c9-b593-d223f7449a82
2023-10-12 15:02:41 +00:00
Jb Audras
96938e4234 Grouped backports to the 5.1 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.1 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.



git-svn-id: https://develop.svn.wordpress.org/branches/5.1@55790 602fd350-edb4-49c9-b593-d223f7449a82
2023-05-16 16:01:50 +00:00
Jonathan Desrosiers
e2e14199a5 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 5.1 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@55524 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:25:26 +00:00
Peter Wilson
8b11d581a1 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, mukesh27.
Merges [55350] to the 5.1 branch.
Fixes #57216.


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@55381 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-21 02:57:02 +00:00
Peter Wilson
967d65ec10 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 5.1 branch.
Fixes #57306.
See #56793.



git-svn-id: https://develop.svn.wordpress.org/branches/5.1@54984 602fd350-edb4-49c9-b593-d223f7449a82
2022-12-15 04:35:10 +00:00
Jb Audras
dec663813a WordPress 5.1.15.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@54593 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 19:51:46 +00:00
Jb Audras
59dcd5618b Grouped backports to the 5.1 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,
- Widgets: Escape RSS error messages for display.

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


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@54570 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-17 18:11:58 +00:00
Peter Wilson
9b6770bee8 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.1 branch.
See #56532.



git-svn-id: https://develop.svn.wordpress.org/branches/5.1@54439 602fd350-edb4-49c9-b593-d223f7449a82
2022-10-10 05:10:51 +00:00
Jonathan Desrosiers
87aed84c20 WordPress 5.1.14.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@53996 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-30 17:26:20 +00:00
Sergey Biryukov
2be21258a3 Grouped backports to the 5.1 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.1 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@53972 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-30 15:40:19 +00:00
Jonathan Desrosiers
2761b93169 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], [50796], [50930], [51341], [51355], [51498], [51511], [51535], [51924], [51925], [51937], [52002], [52130], [52183], [52233], [53112], [53581], [53582], [53592] to the 5.1 branch.
See #56095.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@53604 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 16:41:47 +00:00
David Baumwald
7e64cd6adf WordPress 5.1.13.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@52877 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 22:03:37 +00:00
Sergey Biryukov
4ddd509289 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.1 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@52855 602fd350-edb4-49c9-b593-d223f7449a82
2022-03-10 21:19:43 +00:00
Sergey Biryukov
23c44ee0d8 Date/Time: Fix race conditions in current_time() tests.
* Restore default timezone before performing assertions to avoid affecting other tests in case of failure.
* Use delta comparison for timestamps to avoid race conditions.

Props SergeyBiryukov, desrosj.
Merges [45857] to the 5.1 branch.
Fixes #45821.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@52587 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-17 13:47:45 +00:00
Jonathan Desrosiers
ea01dfc76b WordPress 5.1.12.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@52494 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-06 18:45:10 +00:00
Jonathan Desrosiers
05979a4da3 Grouped backports to the 5.1 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.1 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@52472 602fd350-edb4-49c9-b593-d223f7449a82
2022-01-06 18:12:33 +00:00
Jonathan Desrosiers
f3cd091011 Block Editor: Additional package updates.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@51834 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-21 16:53:52 +00:00
Jonathan Desrosiers
92a29aff64 WordPress 5.1.11.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@51765 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-08 21:40:54 +00:00
Jonathan Desrosiers
6474652fc1 Grouped merges for 5.1.11.
- 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.1 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@51757 602fd350-edb4-49c9-b593-d223f7449a82
2021-09-08 21:21:27 +00:00
Peter Wilson
6999b499e9 WordPress 5.1.10.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50875 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-12 23:15:26 +00:00
Peter Wilson
2c5beae97d External libraries: Improve attachment handling in PHPMailer
Props: audrasjb, ayeshrajans, desrosj, peterwilsoncc, xknown.
Partially merges [50799] to the 5.1 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50853 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-12 22:28:04 +00:00
Peter Wilson
8df83820d9 Version bump for 5.1.9.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50742 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-15 01:36:06 +00:00
Peter Wilson
becc861285 Grouped merges for 5.1.9.
* REST API: Allow authors to read their own password protected posts.
* About page update

Merges [50717] to the 5.1 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50730 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-15 01:09:07 +00:00
Jonathan Desrosiers
4d7d0fb281 Build/Test Tools: Remove old workflow file from the 5.1 branch.
This file was renamed and was not removed properly in [50622].

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50623 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-31 19:24:54 +00:00
Jonathan Desrosiers
b790f152dd Build/Test Tools: Backport GitHub Action and build improvements to the 5.1 branch.
This backports several build and test tool improvements to the 5.1 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 [45317,50267,50379,50387,50413,50416,50432,50435-50436,50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590,50598] to the 5.1 branch.
See #50401, #51801, #51802, #52548, #52608, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50622 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-31 19:20:38 +00:00
Jonathan Desrosiers
56153093a1 Build/Test Tools: Remove unused test groups from the 5.1 branch.
Follow up to [50306].

See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50335 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 21:13:34 +00:00
Jonathan Desrosiers
132f97ffec Build/Test Tools: Restore automated testing in the 5.1 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.1 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50306 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:16:28 +00:00
Jonathan Desrosiers
bfd7809bb8 Build/Test Tools: Fix tests after [50199].
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.1 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50200 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 03:54:48 +00:00
Jonathan Desrosiers
0a4a61a5ac Build/Test Tools: Support NodeJS 14.x in the 5.1 branch.
This updates the 5.1 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.1, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [44233,44728,45321,45765,45826,46403-46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,49940,49983,49989,50017,50126,50176,50185] to the 5.1 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50199 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-05 03:53:43 +00:00
Sergey Biryukov
88d52659d7 Tests: Skip test_readme() if the HTTP request to secure.php.net or dev.mysql.com failed on timeout.
Move `skipTestOnTimeout()` to `WP_UnitTestCase_Base` to avoid duplication.

Merges [46682] and [46996] to the 5.1 branch.
See #51669.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@50094 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-30 13:05:57 +00:00
Jonathan Desrosiers
b557012869 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.1 branch.
See #52161. See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49882 602fd350-edb4-49c9-b593-d223f7449a82
2020-12-22 21:06:47 +00:00
Jonathan Desrosiers
6e2eea81e4 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.1 branch.
See #51968.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49814 602fd350-edb4-49c9-b593-d223f7449a82
2020-12-17 12:30:19 +00:00
Jonathan Desrosiers
5d3ba1e338 Build/Test Tools: Backport the local Docker environment to the 5.2 branch.
This commit introduces the Docker-based local WordPress development environment to the 5.2 branch and converts the Travis test jobs to utilize this environment for easier and more consistent testing.

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

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49528 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-06 17:24:43 +00:00
Jonathan Desrosiers
cc8c1612cc Media: Improve and fix rotate/flip image tests.
Fix off-by-one error in pixel color checks for rotate and flip image tests. Change to using PNG with single pixel to ensure that errors are caught in the future, rather than lost in JPEG noise.

Props Fuegas, mikeschroder.
Merges [45067] to the 5.1 branch.
See #46073, #48301.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49517 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-06 16:44:34 +00:00
Jonathan Desrosiers
4148e53ddd 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.

It also includes several minor spacing/alignment coding standards fixes that are made as a result of the package update.

Props itowhid06, jrf.
Merges [49306] to the 5.1 branch.
See #51624, #48301.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49516 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-06 16:39:51 +00:00
Sergey Biryukov
d6d3a46ae9 WordPress 5.1.8.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49462 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-30 19:49:38 +00:00
Jake Spurlock
ce3e74ed32 Upgrade/Install: During the install process, add additional checking for exising tables.
This commit brings the changes in [49452] to the 5.1 branch.

If reinstalling WordPress, there is a condition where tables would exist in the database. Ensures that$

Fixes #51676.

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


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49457 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-30 18:32:45 +00:00
Jonathan Desrosiers
d27428b77a WordPress 5.1.7.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49413 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-29 19:33:37 +00:00
Jake Spurlock
b22615ae9b 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.1 branch.

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


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49395 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-29 18:48:02 +00:00
Jonathan Desrosiers
775bc55989 Build/Test Tools: Explicitly specify a version number in the .nvmrc file for the 5.1 branch.
This restores the ability to run NodeJS related tasks when using `nvm install` or `nvm use`.

The alias `lts/*` currently resolves to NodeJS 12.x (and will continue to change as newer versions are released). The 10.x version of NodeJS is the highest version supported in the 5.1 branch.

This also removes the explicit version when running `nvm install` during automated testing. The command will now fall back to the version in the `.nvmrc` file.

See #51603.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@49278 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-22 16:16:07 +00:00
Sergey Biryukov
d19abc938a Tests: Temporarily skip PDF tests if they fail due to ImageMagick permission errors.
Merges [48338], [48341] to the 5.1 branch.

See #50573.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@48485 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-14 21:32:44 +00:00
Sergey Biryukov
64b298c5ee 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.1 branch.
Fixes #50392.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@48247 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-01 09:45:25 +00:00
Jonathan Desrosiers
396f69c53b WordPress 5.1.6.
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47992 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-10 21:31:35 +00:00
Jake Spurlock
a0a9d2b674 Editor: Ensure latest comments can only be viewed from public posts.
This brings the changes from [47984] to the 5.1 branch.

Props: poena, xknown.


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47987 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-10 19:29:06 +00:00
Jonathan Desrosiers
4ffa316958 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 5.1 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47963 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-10 18:18:25 +00:00
Sergey Biryukov
daa8895db0 Comments: Ensure that unmoderated comments won't be search indexed.
After a comment is submitted, only allow a brief window where the comment is live on the site.

Props jonkolbert, ayeshrajans, Asif2BD, peterwilsoncc, imath, audrasjb, jonoaldersonwp, whyisjake, SergeyBiryukov.
Merges [47887] and [47889] to the 5.1 branch.
Fixes #49956.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47918 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-06 10:07:01 +00:00
Sergey Biryukov
3e2ac5fd08 Update the About page for WordPress 5.1.5
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47703 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-29 18:37:53 +00:00
Jonathan Desrosiers
2560885e1c WordPress 5.1.5
git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47669 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-29 17:55:18 +00:00
Jake Spurlock
372eb13ad9 Customize: Add additional filters to Customizer to prevent JSON corruption.
User: Invalidate `user_activation_key` on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
Block Editor: Coding standards, properly escape class names.
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 [47633], [47634], [47635], [47636], [47637], and [47638] to the 5.1 branch.

Props: aduth, batmoo, ehti, ellatrix, jorgefilipecosta, nickdaugherty, noisysocks, pento, peterwilsoncc, sergeybiryukov, sstoqnov, talldanwp, westi, westonruter, whyisjake, whyisjake, xknown.


git-svn-id: https://develop.svn.wordpress.org/branches/5.1@47646 602fd350-edb4-49c9-b593-d223f7449a82
2020-04-29 16:06:55 +00:00