ClassicPress Bots

WordPress commits: wp-4.9 branch

git: ab0ef78
svn: r44106
1 of 45
Author
Gary Pendergast <[email protected]> 2018-12-13 09:06:20 +0000
Dashboard: Remove the Try Gutenberg callout.
Merge of [43807] from the 5.0 branch.

Props mukesh27.
Fixes #45063.



git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: e908aa3
svn: r44078
2 of 45
Author
Jeremy Felt <[email protected]> 2018-12-13 02:10:55 +0000
Bump 4.9 branch to version 4.9.9.
git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: fb09f6d
svn: r44053
3 of 45
Author
Gary Pendergast <[email protected]> 2018-12-13 01:37:30 +0000
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.9 branch.



git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 07c82a2
svn: r44051
4 of 45
Author
Peter Wilson <[email protected]> 2018-12-13 01:32:07 +0000
Multisite: Validate activation links.
Merges [44048] to the 4.9 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 7a7e1ad
svn: r44024
5 of 45
Author
Peter Wilson <[email protected]> 2018-12-13 00:33:05 +0000
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.9 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 1775941
svn: r44020
6 of 45
Author
Ian Dunn <[email protected]> 2018-12-13 00:13:03 +0000
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.9` branch.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 4a807b3
svn: r43997
7 of 45
Author
Gary Pendergast <[email protected]> 2018-12-12 23:16:14 +0000
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.9 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: ff58a69
svn: r43989
8 of 45
Author
Jeremy Felt <[email protected]> 2018-12-12 23:02:11 +0000
Media: Improve verification of MIME file types.
Merges [43988] to the 4.9 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 05d9907
svn: r43948
9 of 45
Author
Peter Wilson <[email protected]> 2018-11-29 21:20:40 +0000
Media: Revert [43602] from the 4.9 branch.
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.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: c0c6c7a
svn: r43715
10 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 07:15:22 +0000
REST API: Revert [43648] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #40510.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: ad319d3
svn: r43711
11 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 04:41:28 +0000
Taxonomy: Revert [43620] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44872.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 50b9728
svn: r43708
12 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 04:22:05 +0000
Privacy: Revert [43624] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44685.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 69b6690
svn: r43707
13 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 04:17:00 +0000
Posts, Post Types: Revert [43617] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #34706.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: faee134
svn: r43705
14 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 04:03:23 +0000
Privacy: Revert [43614] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #43985.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 0243b1c
svn: r43702
15 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 03:52:44 +0000
Customize: Revert [43619] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44809.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 58fbc2a
svn: r43701
16 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 03:47:44 +0000
Customize: Revert [43611] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44770.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: d296dc8
svn: r43699
17 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 03:40:50 +0000
Customize: Revert [43575] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.0.x.

See #44763.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: a7b3d4a
svn: r43698
18 of 45
Author
Sergey Biryukov <[email protected]> 2018-10-11 03:29:54 +0000
Twenty Sixteen: Revert [43607] from the 4.9 branch.
This change is out of the 4.9.x scope, and will be reintroduced in 5.1.x.

See #44668.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 5d8518a
svn: r43690
19 of 45
Author
Boone Gorges <[email protected]> 2018-10-09 18:17:32 +0000
Revert [43632] from the 4.9 branch.
These new hooks are not part of the 4.9.x scope, and will be reintroduced
as part of 5.0.x.

See #44733.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: d9f721d
svn: r43674
20 of 45
Author
Adam Silverstein <[email protected]> 2018-10-05 14:50:31 +0000
Try Gutenberg callout: improve formatting for Internet Explorer 11.
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.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: b297a03
svn: r43656
21 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-24 20:04:56 +0000
General: PHP 7.3 throws an `E_WARNING` when using continue to target a switch.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 830632f
svn: r43649
22 of 45
Author
Mike Schroder <[email protected]> 2018-09-18 22:01:25 +0000
Media: In WP_Image_Editor::make_image(), close previously opened output buffer if the file could not be created.
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.



git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: dc70d3e
svn: r43648
23 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-18 03:54:20 +0000
REST API: Support pagination, order, search and other common query parameters for revisions.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: c50b216
svn: r43646
24 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-18 03:29:41 +0000
Tests: Improve coverage for REST API term meta registration.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 13bd954
svn: r43639
25 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-13 10:21:19 +0000
Docs: Correct `@since` value for `_wp_privacy_statuses()`.
Fix typo in `@since` entry for `WP_Privacy_Policy_Content:add()`.

Props dimadin.
Merges [43638] to the 4.9 branch.
Fixes #44915.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: e44849e
svn: r43637
26 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-13 09:52:47 +0000
REST API: Pass correct ID to `meta->update_value` to permit setting term meta during term creation.
Props joehoyle.
Merges [43636] to the 4.9 branch.
Fixes #44834.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: bf71d67
svn: r43632
27 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-06 07:50:29 +0000
Taxonomy: Introduce new hooks when registering/unregistering taxonomies for object types.
Props soulseekah.
Merges [43558] and [43631] to the 4.9 branch.
Fixes #44733.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 4c6175e
svn: r43626
28 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:55:42 +0000
Tests: Introduce `Tests_HTTP_Functions::skipTestOnTimeout()`, mirroring the same `WP_HTTP_UnitTestCase` method.
Merges [43512] to the 4.9 branch.
Fixes #44613.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 9e8090f
svn: r43625
29 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:52:48 +0000
Tests: Use `WP_HTTP_UnitTestCase::skipTestOnTimeout()` in more HTTP tests.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: aadaa64
svn: r43624
30 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:46:48 +0000
Privacy: When clicking a confirmation link for a privacy request, return a `WP_Error` object if the link has expired.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 1b18dc5
svn: r43622
31 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:35:04 +0000
Help/About: Ensure the space after the period for the 4.9.8 changelog entry is preserved.
Props chetan200891, burhandodhy, swissspidy.
Fixes #44717.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: e4afee3
svn: r43621
32 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:25:53 +0000
Docs: Correct param documentation for `WP_Term_Query`.
The description of `$meta_type` introduced in [40053] was incorrect.

Props dlh.
Merges [43559] to the 4.9 branch.
Fixes #44608.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 008a65d
svn: r43620
33 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:23:26 +0000
Taxonomy: Make sure `wp_list_categories()` correctly outputs term name of `0`.
Props joyously, SergeyBiryukov.
Merges [43605] to the 4.9 branch.
Fixes #44872.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: f8b390c
svn: r43619
34 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:20:58 +0000
Customize: Safeguard a check on the `customize_validate_{$setting_id}` filter value to ensure it is a `WP_Error`.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 0839d32
svn: r43618
35 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:16:27 +0000
Script loader: remove (PHP based) compression from `load-styles.php` and `load-scripts.php`. WIth the amount of scripts and stylesheets grown a lot over the years, it has become pretty slow and consumes a lot of server resources. Also, most servers are set to compress PHP output anyway.
Props LucasRolff, azaozz.
Merges [43580] to the 4.9 branch.
Fixes #44815. See #43308.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 29e5fe2
svn: r43617
36 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:11:38 +0000
Posts, Post Types: Introduce `edit_post_{$post->post_type}` hook.
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.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 6a09c56
svn: r43615
37 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:03:12 +0000
Docs: Correct parameter type for `WP_Privacy_Policy_Content::notice()`.
Props burhandodhy.
Merges [43609] to the 4.9 branch.
Fixes #44877.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 00ab865
svn: r43614
38 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 21:00:16 +0000
Privacy: Ensure the user request email is sent in the requested user's locale (or the site's default locale if they are not a registered user) when the administrator creating the request uses a different locale.
Props desrosj, Chouby, iandunn, lbenicio, birgire, earnjam, swissspidy, garrett-eclipse.
Merges [43568] to the 4.9 branch.
Fixes #43985.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 90b39a6
svn: r43613
39 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 20:59:10 +0000
Tests: Add case for `wp_privacy_delete_old_export_files()`.
Props allendav.
Merges [43292] to the 4.9 branch.
See #43546.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 1da5a8b
svn: r43612
40 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 20:58:08 +0000
Tests: Add case for `wp_privacy_send_personal_data_export_email()`.
Props birgire.
Merges [43291] to the 4.9 branch.
See #43546.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: e123695
svn: r43611
41 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 20:51:01 +0000
Customize: Pass missing parameter to dynamic `option_{$option}` filter in `WP_Customize_Widgets::capture_filter_pre_get_option()`.
Props dlh.
Fixes #44770.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 89caf3b
svn: r43610
42 of 45
Author
Sergey Biryukov <[email protected]> 2018-09-03 20:49:20 +0000
Docs: Convert `@see` reference in `wp_checkdate()` DocBlock to `@link`.
Props WiZZarD_.
Merges [43599] to the 4.9 branch.
Fixes #44866.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
git: 577cf80
svn: r43607
43 of 45
Author
Peter Wilson <[email protected]> 2018-09-03 01:31:22 +0000
Twenty Sixteen: Add pre-connect resource hint for Google Fonts.
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.



git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: d432dbf
svn: r43602
44 of 45
Author
John Blackbourn <[email protected]> 2018-08-31 10:52:32 +0000
Media: Ensure the "Edit more details" link in the attachment details modal always points to the correct editing URL.
Fixes #44620

Merges [43601] to the 4.9 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
No action taken yet
git: 216ff77
svn: r43600
45 of 45
Author
Sergey Biryukov <[email protected]> 2018-08-31 06:28:27 +0000
Embeds: Avoid a JS error in `wp.receiveEmbedMessage` if `data` parameter is not set.
Props dsifford, kadamwhite.
Merges [43593] and [43597] to the 4.9 branch.
Fixes #44832.

git-svn-id: https://develop.svn.wordpress.org/branches/[email protected] 602fd350-edb4-49c9-b593-d223f7449a82
Backported in 36152b6
© 2019 ClassicPress