Commit Graph

13602 Commits

Author SHA1 Message Date
Joe McGill e2294411e9 WordPress 4.1.40
Built from https://develop.svn.wordpress.org/branches/4.1@57415


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

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

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

Built from https://develop.svn.wordpress.org/branches/4.1@57414


git-svn-id: http://core.svn.wordpress.org/branches/4.1@56920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-30 15:16:20 +00:00
audrasjb 289737984a WordPres 4.1.39.
Built from https://develop.svn.wordpress.org/branches/4.1@56853


git-svn-id: http://core.svn.wordpress.org/branches/4.1@56365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 14:29:41 +00:00
davidbaumwald 9ef796ac1f Grouped backports to the 4.1 branch.
- Comments: Prevent users who can not see a post from seeing comments on it.
- Shortcodes: Restrict ajax handler for media shortcode.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56835], [56836], and [56838] to the 4.1 branch.
Props xknown, jorbin, joehoyle, peterwilsoncc, ehtis, tykoted, antpb.
Built from https://develop.svn.wordpress.org/branches/4.1@56850


git-svn-id: http://core.svn.wordpress.org/branches/4.1@56362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 14:22:19 +00:00
Sergey Biryukov a54ca6da9a Grouped backports to the 4.1 branch.
- Media: Prevent CSRF setting attachment thumbnails.

Merges [55764] to the 4.1 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.
Built from https://develop.svn.wordpress.org/branches/4.1@55772


git-svn-id: http://core.svn.wordpress.org/branches/4.1@55284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 15:18:19 +00:00
Peter Wilson 2f706a0103 I18N: Add new strings to `about.php` for use with end-of-life updates.
This changeset adds two additional translation strings in the changelog file, for use when releasing the final version of WordPress on a particular branch.

Props peterwilsoncc, audrasjb, mukesh27.
Merges [55350] to the 4.1 branch.
Fixes #57216.

Built from https://develop.svn.wordpress.org/branches/4.1@55391


git-svn-id: http://core.svn.wordpress.org/branches/4.1@54924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-21 03:17:19 +00:00
Sergey Biryukov 7f6f4c36ed WordPress 4.1.37.
Built from https://develop.svn.wordpress.org/branches/4.1@54581


git-svn-id: http://core.svn.wordpress.org/branches/4.1@54135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:45:22 +00:00
Peter Wilson 6b087c0c1b Security: Introduce strings to indicate support status.
Add strings for use in future maintenance/security releases to indicate the security support status of the version of WordPress.

Two strings are introduced:

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

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

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

Built from https://develop.svn.wordpress.org/branches/4.1@54459


git-svn-id: http://core.svn.wordpress.org/branches/4.1@54018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 22:24:18 +00:00
desrosj 82c316379c WordPress 4.1.36.
Built from https://develop.svn.wordpress.org/branches/4.1@54006


git-svn-id: http://core.svn.wordpress.org/branches/4.1@53565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:38:28 +00:00
Sergey Biryukov c2e8dd5009 Grouped backports to the 4.1 branch.
- Posts, Post Types: Escape output within `the_meta()`.
- General: Ensure bookmark query limits are numeric.
- Plugins: Escape output in error messages.

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

Built from https://develop.svn.wordpress.org/branches/4.1@53982


git-svn-id: http://core.svn.wordpress.org/branches/4.1@53541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:54:19 +00:00
Sergey Biryukov fbfb0561bf WordPress 4.1.35.
Built from https://develop.svn.wordpress.org/branches/4.1@52889


git-svn-id: http://core.svn.wordpress.org/branches/4.1@52478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:16:41 +00:00
desrosj 98e81696f0 WordPress 4.1.34.
Built from https://develop.svn.wordpress.org/branches/4.1@52504


git-svn-id: http://core.svn.wordpress.org/branches/4.1@52096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:57:02 +00:00
desrosj 8b1b01229e Grouped backports to the 4.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 4.1 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/4.1@52482


git-svn-id: http://core.svn.wordpress.org/branches/4.1@52074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:24:18 +00:00
Peter Wilson 1478e4afde WordPress 4.1.33.
Built from https://develop.svn.wordpress.org/branches/4.1@50885


git-svn-id: http://core.svn.wordpress.org/branches/4.1@50494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:24:17 +00:00
desrosj a28528f96a Build/Test Tools: Backport GitHub Action and build improvements to the 4.1 branch.
This backports several build and test tool improvements to the 4.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 [50379,50387,50416,50432,50435-50436,50444,50446,50473-50474,50476,50479,50485-50487,50545,50590] to the 4.1 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
Built from https://develop.svn.wordpress.org/branches/4.1@50643


git-svn-id: http://core.svn.wordpress.org/branches/4.1@50255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-02 16:03:20 +00:00
desrosj c6169ea341 Build/Test Tools: Support NodeJS 14.x in the 4.1 branch.
This updates the 4.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.

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

This change also introduces a `packager-lock.json` file to the branch.

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

Props desrosj, dd32, netweb, jorbin.
Merges [31425,31504,31557,31648-31650,32356-32357,32988,33726,35363,35513,35521,35538-35541,35859,36861-36865,37017,37019-37020,37212,37612,38111,39110,39113,39115-39117,39478,41835,42460-42461,42463,42887,43320,43323,43977,44219,44233,45321,45765,46404,46408-46409,47404,47867,47872-47873,48705,49636,49933,49937,49939,50126,50176,50185] to the 4.1 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/4.1@50216


git-svn-id: http://core.svn.wordpress.org/branches/4.1@49884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 04:30:35 +00:00
desrosj 344c8bc8bc WordPress 4.1.32.
Built from https://develop.svn.wordpress.org/branches/4.1@49423


git-svn-id: http://core.svn.wordpress.org/branches/4.1@49182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:42:41 +00:00
whyisjake 9cb2be0d5c General: WordPress updates
* XML-RPC: Improve error messages for unprivileged users.
* External Libraries: Disable deserialization in Requests_Utility_FilteredIterator
* Embeds: Disable embeds on deactivated Multisite sites.
* Coding standards: Modify escaping functions to avoid potential false positives.
* XML-RPC: Return error message if attachment ID is incorrect.
* Upgrade/install: Improve logic check when determining installation status.
* Meta: Sanitize meta key before checking protection status.
* Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.

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

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

Built from https://develop.svn.wordpress.org/branches/4.1@49405


git-svn-id: http://core.svn.wordpress.org/branches/4.1@49164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:10:18 +00:00
Sergey Biryukov 050d41459b Administration: Pass the result of `set-screen-option` filter to the new `set_screen_option_{$option}` filter to ensure backward compatibility.
Rename the `$keep` parameter of both filters to `$screen_option` for clarity, update the documentation to better reflect its purpose.

Follow-up to [47951].

Props Chouby, sswells, SergeyBiryukov.
Merges [48241] to the 4.1 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/4.1@48257


git-svn-id: http://core.svn.wordpress.org/branches/4.1@48026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:53:57 +00:00
desrosj d28fb2392d WordPress 4.1.31.
Built from https://develop.svn.wordpress.org/branches/4.1@48002


git-svn-id: http://core.svn.wordpress.org/branches/4.1@47770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:39:55 +00:00
whyisjake 9861466c7f General: Backport several commits for release.
- Embeds: Ensure that the title attribute is set correctly on embeds.
- Editor: Prevent HTML decoding on by setting the proper editor context.
- Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
- Themes: Ensure a broken theme name is returned properly.
- Administration: Add a new filter to extend set-screen-option.
Merges [47947-47951] to the 4.0 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.

Built from https://develop.svn.wordpress.org/branches/4.1@47969


git-svn-id: http://core.svn.wordpress.org/branches/4.1@47740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:53:30 +00:00
desrosj 85df5a0e71 Updating the About page for WordPress 4.1.30
Built from https://develop.svn.wordpress.org/branches/4.1@47691


git-svn-id: http://core.svn.wordpress.org/branches/4.1@47468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:21:17 +00:00
Sergey Biryukov 067230933e WordPress 4.1.29
Built from https://develop.svn.wordpress.org/branches/4.1@46932


git-svn-id: http://core.svn.wordpress.org/branches/4.1@46732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 20:33:18 +00:00
desrosj 4d74fad193 WordPress 4.1.28.
Built from https://develop.svn.wordpress.org/branches/4.1@46519


git-svn-id: http://core.svn.wordpress.org/branches/4.1@46316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 20:16:18 +00:00
desrosj d117cdceaa WordPress 4.1.27.
Built from https://develop.svn.wordpress.org/branches/4.1@46035


git-svn-id: http://core.svn.wordpress.org/branches/4.1@45847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 22:03:00 +00:00
Sergey Biryukov 087255d6fd Escape the output in `wp_ajax_upload_attachment()`.
Merges [45936] to the 4.1 branch.
Props whyisjake, sstoqnov.
Built from https://develop.svn.wordpress.org/branches/4.1@45955


git-svn-id: http://core.svn.wordpress.org/branches/4.1@45766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:39:41 +00:00
Gary Pendergast 2af2b726c3 WordPress 4.1.26
Built from https://develop.svn.wordpress.org/branches/4.1@44884


git-svn-id: http://core.svn.wordpress.org/branches/4.1@44715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-13 01:49:17 +00:00
Sergey Biryukov 577c83bd60 Comments: Improve comment content filtering.
Merges [44842] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@44853


git-svn-id: http://core.svn.wordpress.org/branches/4.1@44685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 22:43:18 +00:00
Jeremy Felt 841733a905 Bump 4.1 branch to version 4.1.25.
Built from https://develop.svn.wordpress.org/branches/4.1@44086


git-svn-id: http://core.svn.wordpress.org/branches/4.1@43916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:15:53 +00:00
Gary Pendergast 4e97db26b9 Editor: Remove unwanted fields before saving posts.
The `meta_input`, `file`, and `guid` fields are not intended to be updated through user input.

Merges [44047] to the 4.1 branch.


Built from https://develop.svn.wordpress.org/branches/4.1@44068


git-svn-id: http://core.svn.wordpress.org/branches/4.1@43898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:54:33 +00:00
Peter Wilson c41ec66e1d Multisite: Validate activation links.
Merges [44048] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@44067


git-svn-id: http://core.svn.wordpress.org/branches/4.1@43897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:54:18 +00:00
Aaron Campbell 4456704ad8 Bump 4.1 branch to version 4.1.24
Built from https://develop.svn.wordpress.org/branches/4.1@43415


git-svn-id: http://core.svn.wordpress.org/branches/4.1@43243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 16:13:45 +00:00
Aaron Campbell 7773c57a7b Bump 4.1 branch to version 4.1.23
Built from https://develop.svn.wordpress.org/branches/4.1@42941


git-svn-id: http://core.svn.wordpress.org/branches/4.1@42771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 20:31:53 +00:00
Dion Hulse 0ef34e30c2 Bump the 4.1 branch to 4.1.22.
Built from https://develop.svn.wordpress.org/branches/4.1@42502


git-svn-id: http://core.svn.wordpress.org/branches/4.1@42331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 21:45:56 +00:00
Dion Hulse 7683fc66cb External Libraries: Remove unnecessary / obsoleted MediaElement.js files.
Merges [42478] to the 4.1 branch.
Fixes #42720 for 4.1.

Built from https://develop.svn.wordpress.org/branches/4.1@42485


git-svn-id: http://core.svn.wordpress.org/branches/4.1@42314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 08:13:27 +00:00
Dion Hulse 179e2944b9 Upgrade: When deleting old files, if deletion fails attempt to empty the file instead.
Props joemcgill, dd32.
Merges [42434] to the 4.1 branch.
Fixes #42963 for 4.1.

Built from https://develop.svn.wordpress.org/branches/4.1@42473


git-svn-id: http://core.svn.wordpress.org/branches/4.1@42302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 06:58:21 +00:00
John Blackbourn f3529cb89d Bump 4.1 branch to version 4.1.21.
Built from https://develop.svn.wordpress.org/branches/4.1@42324


git-svn-id: http://core.svn.wordpress.org/branches/4.1@42153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 19:02:55 +00:00
John Blackbourn 3d3b4558d6 Hardening: Use a properly generated hash for the `newbloguser` key instead of a determinate substring.
Merges [42258] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@42296


git-svn-id: http://core.svn.wordpress.org/branches/4.1@42125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-29 16:36:28 +00:00
Gary Pendergast 1466683d48 Bump 4.1 branch to version 4.1.20.
Built from https://develop.svn.wordpress.org/branches/4.1@42076


git-svn-id: http://core.svn.wordpress.org/branches/4.1@41905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-31 13:43:26 +00:00
Dominik Schilling b2a9df1c79 Users: Use correct escaping function for URLs.
Merge of [41522] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@41530


git-svn-id: http://core.svn.wordpress.org/branches/4.1@41363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 21:39:26 +00:00
Aaron Campbell 6b3afa9678 Bump 4.1 branch to version 4.1.19.
Built from https://develop.svn.wordpress.org/branches/4.1@41517


git-svn-id: http://core.svn.wordpress.org/branches/4.1@41350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 20:07:25 +00:00
John Blackbourn 6c7de13e11 Filesystem API: Ensure filenames are valid before attempting to unzip them to ensure malformed file paths don't cause issues.
Merges [41457] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@41465


git-svn-id: http://core.svn.wordpress.org/branches/4.1@41298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 14:44:20 +00:00
John Blackbourn dc11b33974 General: Add missing URL-encoding and add extra hardening to plugin and template names when they're displayed in the admin area.
Merges [41434] with changes to the 4.1 branch.

See #13377

Built from https://develop.svn.wordpress.org/branches/4.1@41446


git-svn-id: http://core.svn.wordpress.org/branches/4.1@41279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 13:39:24 +00:00
Dominik Schilling 8c8a907ba3 Users: Provide a fallback for incorrect HTTP referrers.
Merge of [41398] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@41424


git-svn-id: http://core.svn.wordpress.org/branches/4.1@41257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 11:14:59 +00:00
Aaron Campbell 9eb95c11ff Bump 4.1 branch to version 4.1.18.
Built from https://develop.svn.wordpress.org/branches/4.1@40754


git-svn-id: http://core.svn.wordpress.org/branches/4.1@40612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 21:53:24 +00:00
Aaron Campbell 1a65464490 Add nonce for updating file system credentials.
Merges [40723] to 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@40730


git-svn-id: http://core.svn.wordpress.org/branches/4.1@40588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 14:56:48 +00:00
Dominik Schilling f1dd14eb48 Customize: Ignore invalid customization sessions.
Merge of [40704] to the 4.1 branch.
Built from https://develop.svn.wordpress.org/branches/4.1@40711


git-svn-id: http://core.svn.wordpress.org/branches/4.1@40574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-16 12:20:25 +00:00
Pascal Birchler d4a45dc58d Bump 4.1 branch to version 4.1.17.
Built from https://develop.svn.wordpress.org/branches/4.1@40493


git-svn-id: http://core.svn.wordpress.org/branches/4.1@40369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-20 16:27:26 +00:00
Pascal Birchler d0682377ef Fix broken audio/video functions when sanitizing ID3 data
This fixes a bug where running `wp_kses_post_deep()` on all the ID3
tag data corrupted blob data.

See #40075, #40085.

Merges [40400] to the 4.1 branch.

Built from https://develop.svn.wordpress.org/branches/4.1@40466


git-svn-id: http://core.svn.wordpress.org/branches/4.1@40342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-17 13:29:25 +00:00
James Nylen d19df5f1e4 Bump 4.1 branch to version 4.1.16.
Built from https://develop.svn.wordpress.org/branches/4.1@40208


git-svn-id: http://core.svn.wordpress.org/branches/4.1@40147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-03-06 16:35:25 +00:00