Commit Graph

27341 Commits

Author SHA1 Message Date
Peter Wilson a333bae0ee WordPress 4.0.38.
Built from https://develop.svn.wordpress.org/branches/4.0@54905


git-svn-id: http://core.svn.wordpress.org/branches/4.0@54457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-30 00:15:16 +00:00
Peter Wilson f2044169cc Security: Replace update nag to indicate end of support.
Replace update nag in WordPress 4.0 to indicate users need to update to a newer version of WordPress in order to continue receiving security updates.

Props peterwilsoncc, audrasjb.
Fixes #56786 for the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@54898


git-svn-id: http://core.svn.wordpress.org/branches/4.0@54450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-29 22:01:17 +00:00
Sergey Biryukov da7d5d1910 WordPress 4.0.37.
Built from https://develop.svn.wordpress.org/branches/4.0@54579


git-svn-id: http://core.svn.wordpress.org/branches/4.0@54133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:43:17 +00:00
Sergey Biryukov 314c192e35 Grouped backports to the 4.0 branch.
- 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,
- Comments: Apply kses when editing comments,
- Mail: Reset PHPMailer properties between use,
- Widgets: Escape RSS error messages for display.

Merges [54521], [54522], [54523], [54525], [54527], [54529], [54541] to the 4.0 branch.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb, martinkrcho, davidbaumwald, tykoted, matveb, talldanwp.

Built from https://develop.svn.wordpress.org/branches/4.0@54551


git-svn-id: http://core.svn.wordpress.org/branches/4.0@54106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 17:50:16 +00:00
Peter Wilson 5563191eb6 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.0 branch.
See #56532.

Built from https://develop.svn.wordpress.org/branches/4.0@54460


git-svn-id: http://core.svn.wordpress.org/branches/4.0@54019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 22:26:16 +00:00
desrosj 4432149caf WordPress 4.0.36.
Built from https://develop.svn.wordpress.org/branches/4.0@54007


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

Built from https://develop.svn.wordpress.org/branches/4.0@53983


git-svn-id: http://core.svn.wordpress.org/branches/4.0@53542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:54:35 +00:00
Sergey Biryukov 01fd225a18 WordPress 4.0.35.
Built from https://develop.svn.wordpress.org/branches/4.0@52885


git-svn-id: http://core.svn.wordpress.org/branches/4.0@52474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:12:16 +00:00
Sergey Biryukov 153c04d33a 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 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@52866


git-svn-id: http://core.svn.wordpress.org/branches/4.0@52455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:51:16 +00:00
desrosj 6d5ba7415a WordPress 4.0.33.
Built from https://develop.svn.wordpress.org/branches/4.0@52505


git-svn-id: http://core.svn.wordpress.org/branches/4.0@52097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:57:18 +00:00
desrosj da7258cfef Grouped backports to the 4.0 branch.
- Query: Improve sanitization within `WP_Tax_Query`.
- Upgrade/Install: Avoid using `unserialize()` unnecessarily.
- Formatting: Correctly encode ASCII characters in post slugs.

Merges [52454,52456-52457] to the 4.0 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/4.0@52483


git-svn-id: http://core.svn.wordpress.org/branches/4.0@52075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:26:17 +00:00
Peter Wilson 46f01d92f3 WordPress 4.0.33.
Built from https://develop.svn.wordpress.org/branches/4.0@50886


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


Built from https://develop.svn.wordpress.org/branches/4.0@50864


git-svn-id: http://core.svn.wordpress.org/branches/4.0@50473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 22:36:16 +00:00
desrosj c54f6d1a48 Build/Test Tools: Backport GitHub Action and build improvements to the 4.0 branch.
This backports several build and test tool improvements to the 4.0 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.0 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
Built from https://develop.svn.wordpress.org/branches/4.0@50644


git-svn-id: http://core.svn.wordpress.org/branches/4.0@50256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-02 16:04:18 +00:00
desrosj 9508fca05f Build/Test Tools: Support NodeJS 14.x in the 4.0 branch.
This updates the 4.0 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.0, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [30059-30063,30066-30067,31425,31504,31557,31648,31649-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,50192] to the 4.0 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/4.0@50218


git-svn-id: http://core.svn.wordpress.org/branches/4.0@49885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 04:34:30 +00:00
desrosj e3b7bd40df WordPress 4.0.32.
Built from https://develop.svn.wordpress.org/branches/4.0@49424


git-svn-id: http://core.svn.wordpress.org/branches/4.0@49183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:42:54 +00:00
whyisjake b9280a9b72 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.0 branch.

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

Built from https://develop.svn.wordpress.org/branches/4.0@49406


git-svn-id: http://core.svn.wordpress.org/branches/4.0@49165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:13:14 +00:00
Sergey Biryukov 8dd4755a55 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.0 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/4.0@48258


git-svn-id: http://core.svn.wordpress.org/branches/4.0@48027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:54:13 +00:00
desrosj 9c6b9ba6fd WordPress 4.0.31.
Built from https://develop.svn.wordpress.org/branches/4.0@48003


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:40:14 +00:00
Sergey Biryukov 65bda9cbb1 Themes: Ensure a broken theme name is returned properly.
Follow-up to [47968] for the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@47981


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:57:05 +00:00
whyisjake 325a7b4f6c 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.0@47968


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:53:11 +00:00
desrosj 74eff173b4 WordPress 4.0.30 contains multiple fixes.
Built from https://develop.svn.wordpress.org/branches/4.0@47690


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:20:14 +00:00
desrosj d5e5bd0671 Updating the About page for WordPress 4.0.30
Built from https://develop.svn.wordpress.org/branches/4.0@47688


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:17:13 +00:00
desrosj a941556b2e WordPress 4.0.30
Built from https://develop.svn.wordpress.org/branches/4.0@47680


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:03:58 +00:00
whyisjake 7baf7d5b6a User: Invalidate `user_activation_key` on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
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 [47634], [47635], [47637], and [47638] to the 4.0 branch.

Props: batmoo, ehti, nickdaugherty, peterwilsoncc, sergeybiryukov, sstoqnov, westi, whyisjake, whyisjake, xknown.

Built from https://develop.svn.wordpress.org/branches/4.0@47659


git-svn-id: http://core.svn.wordpress.org/branches/4.0@47436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 16:54:14 +00:00
Sergey Biryukov 5e48e39d47 WordPress 4.0.29
Built from https://develop.svn.wordpress.org/branches/4.0@46933


git-svn-id: http://core.svn.wordpress.org/branches/4.0@46733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 20:34:14 +00:00
Sergey Biryukov 473123ae0b Update `wp_kses_bad_protocol()` to recognize `&colon;` on uri attributes,
`wp_kses_bad_protocol()` makes sure to validate that uri attributes don’t contain invalid/or not allowed protocols. While this works fine in most cases, there’s a risk that by using the colon html5 named entity, one is able to bypass this function.

Brings r46895 to the 4.0 branch.

Props: xknown, nickdaugherty, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/4.0@46908


git-svn-id: http://core.svn.wordpress.org/branches/4.0@46708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:38:14 +00:00
desrosj 143bfc02d6 WordPress 4.0.28.
Built from https://develop.svn.wordpress.org/branches/4.0@46520


git-svn-id: http://core.svn.wordpress.org/branches/4.0@46317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 20:17:14 +00:00
whyisjake 8a02054f7e Backporting several bug fixes.
- Query: Remove the static query property.
- HTTP API: Protect against hex interpretation.
- Filesystem API: Prevent directory travelersals when creating new folders.
- Administration: Ensure that admin referer nonce is valid.
- REST API: Send a Vary: Origin header on GET requests.
- Customizer: Properly sanitize background images.

Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@46502


git-svn-id: http://core.svn.wordpress.org/branches/4.0@46299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 19:20:15 +00:00
desrosj d6d162d67c WordPress 4.0.27.
Built from https://develop.svn.wordpress.org/branches/4.0@46034


git-svn-id: http://core.svn.wordpress.org/branches/4.0@45846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 22:02:42 +00:00
desrosj 371474fb28 Fix for URL sanitization in `wp_kses_bad_protocol_once()`.
Merges [45997] to the 4.0 branch.

Props irsdl, sstoqnov, whyisjake.
Built from https://develop.svn.wordpress.org/branches/4.0@46015


git-svn-id: http://core.svn.wordpress.org/branches/4.0@45826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:43:04 +00:00
Sergey Biryukov 72bc032631 Improve URL validation in `wp_validate_redirect()`.
Merges [45971] to the 4.0 branch.
Props vortfu, whyisjake, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/4.0@45985


git-svn-id: http://core.svn.wordpress.org/branches/4.0@45796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 17:16:13 +00:00
whyisjake 0bbd6c270b Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Merges [45937] to the 4.0 branch.

Props vortfu, whyisjake, peterwilsoncc

Built from https://develop.svn.wordpress.org/branches/4.0@45963


git-svn-id: http://core.svn.wordpress.org/branches/4.0@45774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:46:14 +00:00
Sergey Biryukov 701d78e235 Escape the output in `wp_ajax_upload_attachment()`.
Merges [45936] to the 4.0 branch.
Props whyisjake, sstoqnov.
Built from https://develop.svn.wordpress.org/branches/4.0@45960


git-svn-id: http://core.svn.wordpress.org/branches/4.0@45771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:42:14 +00:00
John Blackbourn 442e49eb39 Build/Test tools: Fix the Travis CI build for the 4.0 branch.
Among other fixes, this backports [29860], [29869], [29954], [30160], [30530].

Fixes #46646

Built from https://develop.svn.wordpress.org/branches/4.0@45013


git-svn-id: http://core.svn.wordpress.org/branches/4.0@44822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-26 00:46:20 +00:00
Gary Pendergast b91cab4db7 WordPress 4.0.26
Built from https://develop.svn.wordpress.org/branches/4.0@44886


git-svn-id: http://core.svn.wordpress.org/branches/4.0@44717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-13 01:56:17 +00:00
Sergey Biryukov 33938f5991 Comments: Improve comment content filtering.
Merges [44842] to the 4.0 branch.
Built from https://develop.svn.wordpress.org/branches/4.0@44854


git-svn-id: http://core.svn.wordpress.org/branches/4.0@44686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 22:49:14 +00:00
Jeremy Felt 0ac92b3c2e Bump 4.0 branch to version 4.0.25.
Built from https://develop.svn.wordpress.org/branches/4.0@44087


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:16:07 +00:00
Gary Pendergast 837af88a27 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.0 branch.


Built from https://develop.svn.wordpress.org/branches/4.0@44070


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

Built from https://develop.svn.wordpress.org/branches/4.0@44069


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:56:13 +00:00
iandunn 4b02fb050d KSES: Make the URI attributes DRY.
This commit introduces the `wp_kses_uri_attributes` function and filter. The function centralizes the list of attributes, in order to prevent inconsistency, and the filter provides a way for plugins to customize the attributes.

Merges [44014] and [44017] to the `4.0` branch.

Built from https://develop.svn.wordpress.org/branches/4.0@44044


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:19:13 +00:00
Peter Wilson 82c3aff4a6 Multisite: Improve messaging for previously activated users.
Ensure activation of a site is not attempted multiple times and users are shown the correct message if they follow the link a second time.

Merges [44021] to the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@44037


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:01:13 +00:00
Gary Pendergast a887beaab6 KSES: Conditionally remove the `<form>` element from `$allowedposttags`.
To avoid backwards compatibility issues, `<form>` is re-added if a custom filter has added the `<input>` or `<select>` elements to `$allowedposttags`.

Merges [43994] to the 4.0 branch.


Built from https://develop.svn.wordpress.org/branches/4.0@44015


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:55:15 +00:00
Jeremy Felt 4bf1e12be7 Media: Improve verification of MIME file types.
Merges [43988] to the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@44009


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:43:14 +00:00
Aaron Campbell e0669df10b Bump 4.0 branch to version 4.0.24
Built from https://develop.svn.wordpress.org/branches/4.0@43416


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 16:13:59 +00:00
John Blackbourn 5d0d03c979 Media: Limit thumbnail file deletions to the same directory as the original file.
Merges [43393] into the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@43402


git-svn-id: http://core.svn.wordpress.org/branches/4.0@43230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-05 15:11:16 +00:00
Aaron Campbell 47734f66c8 Bump 4.0 branch to version 4.0.23
Built from https://develop.svn.wordpress.org/branches/4.0@42942


git-svn-id: http://core.svn.wordpress.org/branches/4.0@42772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 20:32:10 +00:00
Dominik Schilling b7ad4d7fe4 Template: Make sure the version string is correctly escaped for use in attributes.
Merge of [42893] to the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@42926


git-svn-id: http://core.svn.wordpress.org/branches/4.0@42756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 16:11:09 +00:00
Dominik Schilling dd263fc53e Login: Use `wp_safe_redirect()` when redirecting the login page if forced to use HTTPS.
Merge of [42892] to the 4.0 branch.

Built from https://develop.svn.wordpress.org/branches/4.0@42904


git-svn-id: http://core.svn.wordpress.org/branches/4.0@42734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 15:34:12 +00:00
Sergey Biryukov 5a8e43f8cd General: Update copyright year to 2018 in license.txt.
Props rachelbaker.
Merges [42424] to the 4.0 branch.
Fixes #43007.
Built from https://develop.svn.wordpress.org/branches/4.0@42561


git-svn-id: http://core.svn.wordpress.org/branches/4.0@42390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 11:30:13 +00:00