WordPress commits: wp-5.1 branch

git: 4de9aac
svn: r46541
1 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-10-14 22:04:47 +0000
Coding Standards: Fix indentation issues introduced in [46509].
No action taken yet
git: b2b1e5f
svn: r46509
2 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-10-14 20:04:46 +0000
WordPress 5.1.3
No action taken yet
git: 2e4cbf5
svn: r46491
3 of 48
Author
Jake Spurlock <[email protected]> 2019-10-14 18:18:13 +0000
Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 5.1 branch.
No action taken yet
git: 4ea459d
svn: r46490
4 of 48
Author
Jake Spurlock <[email protected]> 2019-10-14 18:16:02 +0000
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.

Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 5.1 branch.
Backported in 30c498e
git: 9c10c15
svn: r46407
5 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-10-05 17:06:02 +0000
Build/Test Tools: Remove PHP nightly build from Travis for 5.1 branch.
See #48225.
No action taken yet
git: 59b8d97
svn: r46045
6 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 21:25:07 +0000
WordPress 5.1.2.
No action taken yet
git: 42565e6
svn: r46030
7 of 48
Author
Jake Spurlock <[email protected]> 2019-09-04 21:15:59 +0000
Update the block library to 2.2.17 to fix an issue with invalid shortcode blocks.
Props aduth, flaviozavan, epiqueras, jorgefilipecosta
No action taken yet
git: 6605763
svn: r46024
8 of 48
Author
Sergey Biryukov <[email protected]> 2019-09-04 18:43:07 +0000
Coding Standards: Fix WPCS issue in [45990].
Merges [46019] to the 5.1 branch.
No action taken yet
git: 9c76dcb
svn: r46014
9 of 48
Author
Andrew Ozz <[email protected]> 2019-09-04 18:35:42 +0000
jQuery: bring jquery.js back into the WordPress SVN repo and backport the patch from 3.4.0.
Merges [45342] to the 5.1 branch.

Props MikeNGarrett, peterwilsoncc, azaozz.
Fixes #47020.
Backported in 84968d9
git: 19a8957
svn: r46002
10 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 18:00:59 +0000
Fix for URL sanitization in `wp_kses_bad_protocol_once()`.
Merges [45997] to the 5.1 branch.

Props irsdl, sstoqnov, whyisjake.
Backported in 489488a
git: 678aa83
svn: r45992
11 of 48
Author
Sergey Biryukov <[email protected]> 2019-09-04 17:40:11 +0000
Improve handling the existing `rel` attribute in `wp_rel_nofollow_callback()`.
Merges [45990] to the 5.1 branch.
Props xknown, sstoqnov.
Backported in 7b5700b
git: fcd92ff
svn: r45973
12 of 48
Author
Sergey Biryukov <[email protected]> 2019-09-04 16:58:39 +0000
Improve URL validation in `wp_validate_redirect()`.
Merges [45971] to the 5.1 branch.
Props vortfu, whyisjake, peterwilsoncc.
Backported in 8382dd5
git: df38632
svn: r45940
13 of 48
Author
Jake Spurlock <[email protected]> 2019-09-04 16:20:37 +0000
Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Merges [45937] to the 5.1 branch.

Props vortfu, whyisjake, peterwilsoncc
Backported in df914e5
git: bf34d82
svn: r45939
14 of 48
Author
Sergey Biryukov <[email protected]> 2019-09-04 16:17:53 +0000
Escape the output in `wp_ajax_upload_attachment()`.
Merges [45936] to the 5.1 branch.
Props whyisjake, sstoqnov.
Backported in 1c174bc
git: eaa0d5b
svn: r44994
15 of 48
Author
John Blackbourn <[email protected]> 2019-03-25 00:53:58 +0000
Build/Test tools: Switch npm dependency caching strategy on Travis CI.
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 5.1 branch.

See #46632
No action taken yet
git: 3c2d00d
svn: r44985
16 of 48
Author
Gary Pendergast <[email protected]> 2019-03-23 03:36:10 +0000
Admin: Revert [44984].
That was supposed to go into `trunk`, not the 5.1 branch.

See #46573.
No action taken yet
git: bef9b91
svn: r44984
17 of 48
Author
Gary Pendergast <[email protected]> 2019-03-23 03:17:14 +0000
Admin: Introduce the Site Health screens.
The Site Health tool serves two purposes:
- Provide site owners with information to improve the performance, reliability, and security of their site.
- Collect comprehensive debug information about the site.

By encouraging site owners to maintain their site and adhere to modern best practices, we ultimately improve the software hygeine of both the WordPress ecosystem, and the open internet as a whole.

Props Clorith, hedgefield, melchoyce, xkon, karmatosed, jordesign, earnjam, ianbelanger, wpscholar, desrosj, pedromendonca, peterbooker, jcastaneda, garyj, soean, pento, timothyblynjacobs, zodiac1978, dgroddick, garrett-eclipse, netweb, tobifjellner, pixolin, afercia, joedolson, birgire.
See #46573.
No action taken yet
git: c29015f
svn: r44928
18 of 48
Author
Felix Arntz <[email protected]> 2019-03-18 16:20:53 +0000
Multisite: Do not prime site meta caches unless necessary.
Merges [44926] to the 5.1 branch.

Props spacedmonkey.
Fixes #46357. See #46167.
No action taken yet
git: de65eac
svn: r44927
19 of 48
Author
Felix Arntz <[email protected]> 2019-03-18 16:19:27 +0000
Multisite: Ensure site meta caches are not primed unless the `wp_blogmeta` table is available.
Prior to this change, querying sites early in the bootstrap process could potentially cause a fatal error, since at that stage the filter to bail on updating site meta cache if the respective database table has not been installed yet is not hooked in yet. This changeset forces the filter to be added if that is not already the case.

Merges [44925] to the 5.1 branch.

Props spacedmonkey.
Fixes #46167.
No action taken yet
git: 688b855
svn: r44860
20 of 48
Author
Gary Pendergast <[email protected]> 2019-03-13 00:16:04 +0000
WordPress 5.1.1
No action taken yet
git: 8df47ff
svn: r44859
21 of 48
Author
Sergey Biryukov <[email protected]> 2019-03-12 22:56:44 +0000
PHPCS: Fix errors introduced in [44833].
Merges [44858] to the 5.1 branch.
No action taken yet
git: 67a2a6f
svn: r44843
22 of 48
Author
Sergey Biryukov <[email protected]> 2019-03-12 22:31:55 +0000
Comments: Improve comment content filtering.
Merges [44842] to the 5.1 branch.
Backported in 1a6e216
git: 7206b55
svn: r44834
23 of 48
Author
Sergey Biryukov <[email protected]> 2019-03-12 22:15:37 +0000
Formatting: Improve `rel="nofollow"` handling in comments.
Merges [44833] to the 5.1 branch.
Backported in d949ee8
git: 6d22ce6
svn: r44831
24 of 48
Author
Aaron Jorbin <[email protected]> 2019-03-12 17:12:22 +0000
General: Add missing @since annotation for wp_get_direct_php_update_url().
Backports [44829] to 5.1 branch. Dev-reviewed by desrosj and SergeyBiryukov.

Missed in [44815].

Props birgire.
See #46074.
No action taken yet
git: 68fa2f4
svn: r44820
25 of 48
Author
Gary Pendergast <[email protected]> 2019-03-08 00:29:18 +0000
WordPress 5.1.1 RC1 post release version bump.
No action taken yet
git: 3c91f92
svn: r44819
26 of 48
Author
Gary Pendergast <[email protected]> 2019-03-08 00:12:51 +0000
WordPress 5.1.1 RC1.
No action taken yet
git: 057d0fb
svn: r44817
27 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-03-07 22:34:03 +0000
Widgets: Remove `change` event when editing a Custom HTML widget.
The `change` event was previously required to ensure that the Customizer picked detected changes to the widget's content and synced them to the preview. In the current state, though, the `trigger( 'change' )` is no longer required and is causing issues with the widget's “Done” and “Save” buttons.

Merges [44816] to the 5.1 branch.

Fixes #46335.
Props audrasjb, afercia, westonruter.
No action taken yet
git: 85076ad
svn: r44815
28 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-03-07 21:36:22 +0000
General: Add a way to specify a direct link for a user to update PHP.
A direct URL to where a user can update PHP for their website can now be specified in one of two ways:

- Defining the `WP_DIRECT_UPDATE_PHP_URL` environment variable.
- Returning a URL to the `wp_direct_php_update_url` filter.

When a URL is specified, an additional “Update PHP” button will be displayed at the bottom of the Core dashboard widget informing administrators that their site is running an outdated version of PHP (see [42832]).

Merges [44814] to the 5.1 branch.

Fixes #46074.
Props afragen, desrosj, lukecarbis.
No action taken yet
git: cd010b4
svn: r44807
29 of 48
Author
Jeremy Felt <[email protected]> 2019-03-07 04:36:36 +0000
Multisite: Ensure `wpmu_new_blog` hook receives expected data in `$meta`.
Restores `public`, `archived`, `mature`, `spam`, `deleted`, `lang_id`, and `WPLANG` to the `$meta` data passed to `wpmu_new_blog`. This hook was deprecated in 5.1.0, but code using it still relies on this data.

Props davidbinda, pbiron.
Merges [44805] and [44806] to the 5.1 branch.
Fixes #46351.
No action taken yet
git: 9042c9d
svn: r44802
30 of 48
Author
Sergey Biryukov <[email protected]> 2019-03-05 21:02:47 +0000
Menus: After [42857], apply background to the correct elements on Menus screen.
Props audrasjb, afercia, mukesh27, garrett-eclipse.
Merges [44801] to the 5.1 branch.
Fixes #46368.
No action taken yet
git: b57deec
svn: r44800
31 of 48
Author
Sergey Biryukov <[email protected]> 2019-03-05 20:36:28 +0000
Networks and Sites: Check the result of `get_site()` in `wp_insert_site()`.
Props davidbinda, vanyukov, lukecarbis.
Merges [44799] to the 5.1 branch.
Fixes #46300.
No action taken yet
git: 0b63929
svn: r44798
32 of 48
Author
Sergey Biryukov <[email protected]> 2019-03-05 20:29:19 +0000
I18N: Remove trailing spaces from translatable strings introduced in [43436].
Props dimadin.
Merges [44797] to the 5.1 branch.
Fixes #46277.
No action taken yet
git: 8f8b1c9
svn: r44795
33 of 48
Author
Peter Wilson <[email protected]> 2019-03-05 02:13:25 +0000
Comments: Allow for `comment-reply.js` to be loaded in the HTML header.
Allows for themes or plugins setting the comment-reply JavaScript as a dependency of an HTML header script. This in turn causes `comment-reply.js` to be loaded early, requiring execution to be delayed.

Props pento, peterwilsoncc, jorbin for feedback.
Merges [44794] to the 5.1 branch.
Fixes #46280.
No action taken yet
git: 11b3b4b
svn: r44789
34 of 48
Author
Felix Arntz <[email protected]> 2019-03-04 21:22:30 +0000
General: Introduce `wp_is_php_version_acceptable` filter to make the check for triggering PHP version warnings stricter.
The filter is only run if the wordpress.org API considers the PHP version acceptable. This ensures that other plugins or hosting providers can only make this check stricter, but not loosen it.

Merges [44788] to the 5.1 branch.

Props j-falk, mikeschroder.
Fixes #46065.
No action taken yet
git: c6cd9f8
svn: r44783
35 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-02-28 21:55:15 +0000
Build: Minify images
After `grunt-contrib-imagemin` was upgraded in WordPress 5.0, the `grunt precommit:image` task results in further minifications to `loading.gif`.

Merges [44768] to the 5.1 branch.

Fixes #46295.
No action taken yet
git: 984f2b6
svn: r44770
36 of 48
Author
Jonathan Desrosiers <[email protected]> 2019-02-26 16:23:45 +0000
Help/About: Fix mismatched opening/closing tags.
The 5.1 About page contains some invalid HTML markup.

Props bulletdigital.

Merges [44769] to the 5.1 branch.

Fixes #46319.
No action taken yet
git: ae3d09e
svn: r44766
37 of 48
Author
Gary Pendergast <[email protected]> 2019-02-21 22:54:01 +0000
Bump version to 5.1.1-alpha.
No action taken yet
git: eb6a461
svn: r44764
38 of 48
Author
Gary Pendergast <[email protected]> 2019-02-21 22:06:06 +0000
WordPress 5.1! 🕺🏻
No action taken yet
git: 13feabc
svn: r44763
39 of 48
Author
Aaron Jorbin <[email protected]> 2019-02-21 21:21:24 +0000
Script Loader: Load fakejshint as jshint due to "good and evil".
Backports [44762] from trunk to 5.1. Devreviewed by Pento.

Originally fixed in [42547]. Broken in [44163]. We've been here before. I recognize that tree.

Fixes #46299
No action taken yet
git: 7a13795
svn: r44761
40 of 48
Author
Gary Pendergast <[email protected]> 2019-02-21 04:36:10 +0000
Upgrades: Update `$_old_files` for WordPress 5.1.
`wp-includes/random_compat/random_bytes_openssl.php` was removed in [43130], this commit updates `$_old_files` to match.

Merges [44760] to the 5.1 branch.

Fixes #46284.
No action taken yet
git: aeee7ac
svn: r44754
41 of 48
Author
Gary Pendergast <[email protected]> 2019-02-19 02:57:05 +0000
Post WordPress 5.1 RC2 version bump.
No action taken yet
git: f7fc6a5
svn: r44753
42 of 48
Author
Gary Pendergast <[email protected]> 2019-02-19 02:43:54 +0000
WordPress 5.1 RC2.
No action taken yet
git: 3f8c9c8
svn: r44752
43 of 48
Author
Gary Pendergast <[email protected]> 2019-02-19 02:01:27 +0000
Admin: Update the About page design to match mockups.
This commit also moves the images to s.w.org, removes the old "Gutenberg has been deactivated" warning, as well as removing some old JS from About pages of years gone past.

Merges [44749] to the 5.1 branch.

Props melchoyce, ryelle, paaljoachim, karmatosed, pento.
Fixes #46161.
No action taken yet
git: bd559de
svn: r44751
44 of 48
Author
Gary Pendergast <[email protected]> 2019-02-19 02:00:21 +0000
Comments: Fix backward compatibility regressions in comment reply JavaScript.
Adds a `MutationObserver` to `comment-reply.js` to allow for lazy-loaded comments to continue working without the need to re-initialize the comment form.

Merges [44748] to the 5.1 branch.

Fixes #46260.
No action taken yet
git: 6738477
svn: r44750
45 of 48
Author
Gary Pendergast <[email protected]> 2019-02-19 01:58:51 +0000
Accessibility: Fix a regression in the old media modal pagination links.
[43019] improved the table pagination link styling, but introduced a regression in the old media dialog.

Merges [44747] to the 5.1 branch.

Props afercia, joneiseman.
Fixes #41858.
No action taken yet
git: ccb5b50
svn: r44745
46 of 48
Author
Peter Wilson <[email protected]> 2019-02-14 00:47:21 +0000
Build: Fix formatting issues introduced in [44740].
Merges [44744] to the 5.1 branch.
See #46218.
No action taken yet
git: 48e25b3
svn: r44743
47 of 48
Author
Peter Wilson <[email protected]> 2019-02-14 00:25:41 +0000
Twenty Nineteen: Revert [44739] from the 5.1 branch.
Reverts block quote style changes intended for a later release.

See #46239.
No action taken yet
git: 5546201
svn: r44741
48 of 48
Author
Peter Wilson <[email protected]> 2019-02-14 00:09:47 +0000
Branch 5.1.
No action taken yet
© 2019 ClassicPress