wp-4.9
branch
Author |
Sergey Biryukov <[email protected]>
2020-07-14 21:47:31 +0000
|
---|
Merges [48338], [48341] to the 4.9 branch. See #50573.
Author |
Sergey Biryukov <[email protected]>
2020-07-01 09:46:52 +0000
|
---|
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.9 branch. Fixes #50392.
Author |
Jonathan Desrosiers <[email protected]>
2020-06-10 21:31:53 +0000
|
---|
Author |
Jonathan Desrosiers <[email protected]>
2020-06-10 18:26:13 +0000
|
---|
- 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 [47948-47951] to the 4.9 branch. Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.
Author |
Sergey Biryukov <[email protected]>
2020-04-29 18:35:19 +0000
|
---|
Author |
Jonathan Desrosiers <[email protected]>
2020-04-29 17:55:44 +0000
|
---|
Author |
Jake Spurlock <[email protected]>
2020-04-29 16:15:39 +0000
|
---|
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 [47633], [47634], [47635], [47637], and [47638] to the 4.9 branch. Props: batmoo, ehti, nickdaugherty, peterwilsoncc, sergeybiryukov, sstoqnov, westi, westonruter, whyisjake, whyisjake, xknown.
Author |
Sergey Biryukov <[email protected]>
2020-03-22 14:29:03 +0000
|
---|
The associated test was removed in [30241]. Merges [47341] to 3.7+ branches. See #49485.
Author |
Sergey Biryukov <[email protected]>
2019-12-12 20:26:00 +0000
|
---|
Author |
Sergey Biryukov <[email protected]>
2019-12-12 18:56:36 +0000
|
---|
Props: danielbachhuber, whyisjake, peterwilson, xknown. Brings r46893 to the 4.9 branch. Update `wp_kses_bad_protocol()` to recognize `:` 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.9 branch. Props: xknown, nickdaugherty, peterwilsoncc.
Author |
Jonathan Desrosiers <[email protected]>
2019-10-14 20:06:08 +0000
|
---|
Author |
Jake Spurlock <[email protected]>
2019-10-14 18:38:34 +0000
|
---|
- 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. Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 5.0 branch.
Author |
Jake Spurlock <[email protected]>
2019-09-25 20:43:44 +0000
|
---|
Fixes #48140. Props whyisjake.
Author |
Jonathan Desrosiers <[email protected]>
2019-09-04 21:22:43 +0000
|
---|
Author |
Andrew Ozz <[email protected]>
2019-09-04 18:40:23 +0000
|
---|
Merges [45342] to the 4.9 branch. Props MikeNGarrett, peterwilsoncc, azaozz. Fixes #47020.
Author |
Jonathan Desrosiers <[email protected]>
2019-09-04 18:13:55 +0000
|
---|
Merges [45997] to the 4.9 branch. Props irsdl, sstoqnov, whyisjake.
Author |
Sergey Biryukov <[email protected]>
2019-09-04 17:47:09 +0000
|
---|
Merges [45990] to the 4.9 branch. Props xknown, sstoqnov.
Author |
Sergey Biryukov <[email protected]>
2019-09-04 17:07:33 +0000
|
---|
Merges [45971] to the 4.9 branch. Props vortfu, whyisjake, peterwilsoncc.
Author |
Jake Spurlock <[email protected]>
2019-09-04 16:34:47 +0000
|
---|
Merges [45937] to the 4.9 branch. Props vortfu, whyisjake, peterwilsoncc
Author |
Sergey Biryukov <[email protected]>
2019-09-04 16:28:49 +0000
|
---|
Merges [45936] to the 4.9 branch. Props whyisjake, sstoqnov.
Author |
John Blackbourn <[email protected]>
2019-03-25 16:24:44 +0000
|
---|
This removes the PHP 5.6 job which runs without an object cache in place as the likelihood of a change being backported that only breaks 5.6 environments without an object cache is small. Merges [45005] into the 4.9 branch. See #42387
Author |
John Blackbourn <[email protected]>
2019-03-25 00:55:39 +0000
|
---|
This switches to caching npm's local cache instead of `node_modules` in order to prevent issues caused by modules compiled using a different version of node. Merges [44993] into the 4.9 branch. See #46632
Author |
John Blackbourn <[email protected]>
2019-03-25 00:15:10 +0000
|
---|
This removes the PHP 7.1, 7.0, 5.5, 5.4, 5.3, and nightly jobs. See #42387, #40407
Author |
Gary Pendergast <[email protected]>
2019-03-13 00:57:18 +0000
|
---|
Author |
Sergey Biryukov <[email protected]>
2019-03-12 22:34:00 +0000
|
---|
Merges [44842] to the 4.9 branch.
Author |
Sergey Biryukov <[email protected]>
2019-03-12 22:18:57 +0000
|
---|
Merges [44833] to the 4.9 branch.
Author |
Gary Pendergast <[email protected]>
2018-12-13 09:06:20 +0000
|
---|
Merge of [43807] from the 5.0 branch. Props mukesh27. Fixes #45063.
Author |
Jeremy Felt <[email protected]>
2018-12-13 02:10:55 +0000
|
---|
Author |
Gary Pendergast <[email protected]>
2018-12-13 01:37:30 +0000
|
---|
The `meta_input`, `file`, and `guid` fields are not intended to be updated through user input. Merges [44047] to the 4.9 branch.
Author |
Peter Wilson <[email protected]>
2018-12-13 01:32:07 +0000
|
---|
Merges [44048] to the 4.9 branch.
Author |
Peter Wilson <[email protected]>
2018-12-13 00:33:05 +0000
|
---|
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.9 branch.
Author |
Ian Dunn <[email protected]>
2018-12-13 00:13:03 +0000
|
---|
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.9` branch.
Author |
Gary Pendergast <[email protected]>
2018-12-12 23:16:14 +0000
|
---|
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.9 branch.
Author |
Jeremy Felt <[email protected]>
2018-12-12 23:02:11 +0000
|
---|
Merges [43988] to the 4.9 branch.
Author |
Peter Wilson <[email protected]>
2018-11-29 21:20:40 +0000
|
---|
Reverts changes to the "Edit more details" link in the attachment details modal. This is out of scope for 4.9.9 and will be re-introduced in 5.0.0. Fixes #44620.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 07:15:22 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #40510.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 04:41:28 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #44872.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 04:22:05 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #44685.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 04:17:00 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #34706.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 04:03:23 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #43985.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 03:52:44 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #44809.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 03:47:44 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #44770.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 03:40:50 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x. See #44763.
Author |
Sergey Biryukov <[email protected]>
2018-10-11 03:29:54 +0000
|
---|
This change is out of the 4.9.x scope, and will be reintroduced in 5.1.x. See #44668.
Author |
Boone Gorges <[email protected]>
2018-10-09 18:17:32 +0000
|
---|
These new hooks are not part of the 4.9.x scope, and will be reintroduced as part of 5.0.x. See #44733.
Author |
Adam Silverstein <[email protected]>
2018-10-05 14:50:31 +0000
|
---|
Correct an issue where the layout of the "Try Gutenberg" callout added in #41316 falls apart under IE11. Props kjellr, ianbelanger, pbiron, Luciano Croce, belcherj, ryansommers. Fixes #44742.
Author |
Sergey Biryukov <[email protected]>
2018-09-24 20:04:56 +0000
|
---|
Applying continue to a switch is equivalent to using break and quite possibly, a continue targeting a higher level control structure is actually intended. To target the higher level control structure, a numeric argument has to be passed to continue. This fixes two cases in WordPress Core where this is currently happening. See: https://github.com/php/php-src/pull/3364 See: https://wiki.php.net/rfc/continue_on_switch_deprecation Props jrf. Merges [43653] to the 4.9 branch. Fixes #44543.
Author |
Mike Schroder <[email protected]>
2018-09-18 22:01:25 +0000
|
---|
In addition to the merge noted below, includes important brackets added in [42343]. Props dhanendran, gnif, sergey. Merges [42695] and [42702] to the 4.9 branch. Fixes #43255.
Author |
Sergey Biryukov <[email protected]>
2018-09-18 03:54:20 +0000
|
---|
The original REST API revisions controller relied on `wp_get_post_revisions()`, getting all revisions of a post without any possibility to restrict the result. This changeset replaces that function call with a proper `WP_Query` setup, replicating how `wp_get_post_revisions()` works while offering parameters to alter the default behavior. Props adamsilverstein, birgire, flixos90. Merges [43584-43586], [43647] to the 4.9 branch. Fixes #40510.
Author |
Sergey Biryukov <[email protected]>
2018-09-18 03:29:41 +0000
|
---|
Introduce tests to validate that register_meta and register_term_meta work as expected in WP_REST_Terms_Controller. Props timmydcrawford. Merges [43567] to the 4.9 branch. See #39122.
Author |
Sergey Biryukov <[email protected]>
2018-09-13 10:21:19 +0000
|
---|
Fix typo in `@since` entry for `WP_Privacy_Policy_Content:add()`. Props dimadin. Merges [43638] to the 4.9 branch. Fixes #44915.
Author |
Sergey Biryukov <[email protected]>
2018-09-13 09:52:47 +0000
|
---|
Props joehoyle. Merges [43636] to the 4.9 branch. Fixes #44834.
Author |
Sergey Biryukov <[email protected]>
2018-09-06 07:50:29 +0000
|
---|
Props soulseekah. Merges [43558] and [43631] to the 4.9 branch. Fixes #44733.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:55:42 +0000
|
---|
Merges [43512] to the 4.9 branch. Fixes #44613.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:52:48 +0000
|
---|
Adjust it to handle more types of timeouts, e.g. "Resolving timed out", "Connection timed out". Merges [43511] to the 4.9 branch. See #44613.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:46:48 +0000
|
---|
Returning a string caused a success message to be displayed instead of the correct error message. Props desrosj. Merges [43623] to the 4.9 branch. Fixes #44685.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:35:04 +0000
|
---|
Props chetan200891, burhandodhy, swissspidy. Fixes #44717.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:25:53 +0000
|
---|
The description of `$meta_type` introduced in [40053] was incorrect. Props dlh. Merges [43559] to the 4.9 branch. Fixes #44608.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:23:26 +0000
|
---|
Props joyously, SergeyBiryukov. Merges [43605] to the 4.9 branch. Fixes #44872.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:20:58 +0000
|
---|
While the filter is documented to only support a `WP_Error`, it has been a common practice to return true in a validation function if no errors have occurred. This was already caught when the same filter was executed in `WP_Customize_Setting`, it was however missing in `WP_Customize_Manager::validate_setting_values()`. Props flixos90. Merges [43578] to the 4.9 branch. Fixes #44809.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:16:27 +0000
|
---|
Props LucasRolff, azaozz. Merges [43580] to the 4.9 branch. Fixes #44815. See #43308.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:11:38 +0000
|
---|
The hook fires before the general `edit_post` hook and has the same parameters. It also complements the `save_post_{$post->post_type}` hook added in [25050]. Props Mte90, garrett-eclipse. Merges [43535] and [43616] to the 4.9 branch. Fixes #34706.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:03:12 +0000
|
---|
Props burhandodhy. Merges [43609] to the 4.9 branch. Fixes #44877.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 21:00:16 +0000
|
---|
Props desrosj, Chouby, iandunn, lbenicio, birgire, earnjam, swissspidy, garrett-eclipse. Merges [43568] to the 4.9 branch. Fixes #43985.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 20:59:10 +0000
|
---|
Props allendav. Merges [43292] to the 4.9 branch. See #43546.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 20:58:08 +0000
|
---|
Props birgire. Merges [43291] to the 4.9 branch. See #43546.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 20:51:01 +0000
|
---|
Props dlh. Fixes #44770.
Author |
Sergey Biryukov <[email protected]>
2018-09-03 20:49:20 +0000
|
---|
Props WiZZarD_. Merges [43599] to the 4.9 branch. Fixes #44866.
Author |
Peter Wilson <[email protected]>
2018-09-03 01:31:22 +0000
|
---|
When using Google Fonts, pre-connect to https://fonts.gstatic.com to improve the performance downloading the webfont files. Props westonruter. Merges [43606] to the 4.9 branch. Fixes #44668.
Author |
John Blackbourn <[email protected]>
2018-08-31 10:52:32 +0000
|
---|
Fixes #44620 Merges [43601] to the 4.9 branch.
Author |
Sergey Biryukov <[email protected]>
2018-08-31 06:28:27 +0000
|
---|
Props dsifford, kadamwhite. Merges [43593] and [43597] to the 4.9 branch. Fixes #44832.