WordPress commits: wp-5.2 branch

git: 813cb5a
svn: r46545
1 of 119
Author
Jake Spurlock <[email protected]> 2019-10-15 15:53:26 +0000
REST API: Allow for multiple Vary: Origin headers in GET responses.
Simple fix, we pass false as the second parameter to the header function.

This is something that we added downstream of the 5.2.4 release, but we missed in 5.2/trunk.

Fixes #48309, see also [46544].
Props xknown, whyisjake.
No action taken yet
git: 2c2a5f8
svn: r46540
2 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-10-14 22:01:20 +0000
Post WordPress 5.2.4 version bump. The 5.2 branch is now 5.2.5-alpha.
No action taken yet
git: 4a5a36c
svn: r46508
3 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-10-14 20:04:11 +0000
WordPress 5.2.4.
No action taken yet
git: e67f852
svn: r46487
4 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 17:43:52 +0000
REST API: Send a Vary: Origin header on GET requests.
Add this header on all GET requests to prevent cached requests.

Fixes some code dulication from [46484] and backports the changes from [46484] to the 5.2 branch.
Props darthhexx, davidbinda, nickdaugherty, whyisjake.
No action taken yet
git: 53753f8
svn: r46486
5 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 17:33:34 +0000
Administration: Ensure that admin referer nonce is valid.
Coding standards, ensure that nonce is valid with identical, rather then equal operator.

Backports [46477] to the 5.2 branch.
Props vortfu, xknown, whyisjake.
Backported in 30c498e
git: 2a14ea5
svn: r46484
6 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 16:33:02 +0000
Filesystem API: Prevent directory travelersals when creating new folders.
Reject file paths that contain sub-directory paths.

Props iandunn, xknown, sstoqnov, whyisjake.
No action taken yet
git: 51c8c6b
svn: r46482
7 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 16:12:33 +0000
Filesystem API: Prevent directory travelersals when creating new folders.
Reject file paths that contain sub-directory paths.

Backports [46476] to the 5.2 branch.

Props iandunn, xknown, sstoqnov, whyisjake.
Backported in 30c498e
git: 0ec3a2c
svn: r46481
8 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 16:08:12 +0000
Add merge information missed in r46474-46475.
No action taken yet
git: 0166577
svn: r46480
9 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 15:51:55 +0000
HTTP API: Protect against hex interpretation.
Return earlier from wp_http_validate_url().

Props: iandunn, xknown, voldemortensen, whyisjake.
No action taken yet
git: 836b9c0
svn: r46479
10 of 119
Author
Jake Spurlock <[email protected]> 2019-10-14 15:50:43 +0000
Query: Remove the static query property.
Prevent unauthenticated views of publicly queryables content types.

Props aaroncampbell, whyisjake, nickdaugherty, xknown.
No action taken yet
git: 6245a65
svn: r46473
11 of 119
Author
Sergey Biryukov <[email protected]> 2019-10-14 11:03:34 +0000
Formatting: In `wp_validate_redirect()`, normalize the path when validating the location for relative URLs, to account for Windows paths.
Props peterwilsoncc, rconde, jmmathc, mat-lipe, Sixes, justinahinon, cmagrin, daxelrod, SergeyBiryukov.
Merges [46472] to the 5.2 branch.
Fixes #47980.
No action taken yet
git: d44aada
svn: r46406
12 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-10-05 16:57:14 +0000
Build/Test Tools: Remove PHP 7.4 and nightly builds from Travis.
See #48225.
No action taken yet
git: ed22e7e
svn: r46074
13 of 119
Author
Jake Spurlock <[email protected]> 2019-09-06 21:55:28 +0000
Remove the extra call for wp-sanitize from the script loader.
Merges [46073] to the 5.2 branch.
Fixes #47986.
No action taken yet
git: 8ddcb90
svn: r46065
14 of 119
Author
Sergey Biryukov <[email protected]> 2019-09-05 02:15:55 +0000
Post WordPress 5.2.3 version bump.
No action taken yet
git: 47842d0
svn: r46047
15 of 119
Author
Jake Spurlock <[email protected]> 2019-09-04 21:39:52 +0000
WordPress 5.2.3.
No action taken yet
git: 8a69385
svn: r46046
16 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 21:26:29 +0000
Help/About: Update the About page for 5.2.3.
Props whyisjake, desrosj.
Fixes #47923.
No action taken yet
git: c829578
svn: r46022
17 of 119
Author
Sergey Biryukov <[email protected]> 2019-09-04 18:42:05 +0000
Coding Standards: Fix WPCS issue in [45990].
Merges [46019] to the 5.2. branch.
No action taken yet
git: 66a1deb
svn: r46000
18 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 17:56:11 +0000
Fix for URL sanitization in `wp_kses_bad_protocol_once()`.
Merges [45997] to the 5.2 branch.

Props irsdl, sstoqnov, whyisjake.
Backported in 489488a
git: bcbe8f3
svn: r45991
19 of 119
Author
Sergey Biryukov <[email protected]> 2019-09-04 17:38:51 +0000
Improve handling the existing `rel` attribute in `wp_rel_nofollow_callback()`.
Merges [45990] to the 5.2 branch.
Props xknown, sstoqnov.
Backported in 7b5700b
git: 7b28cdb
svn: r45989
20 of 119
Author
Jake Spurlock <[email protected]> 2019-09-04 17:22:29 +0000
Update wp.a11y.speak() to sanitize HTML before display.
Merges [45979] to the 5.2 branch

Props iandunn, adamsilverstein, sstoqnov, peterwilsoncc
No action taken yet
git: aec4f57
svn: r45972
21 of 119
Author
Sergey Biryukov <[email protected]> 2019-09-04 16:57:35 +0000
Improve URL validation in `wp_validate_redirect()`.
Merges [45971] to the 5.2 branch.
Props vortfu, whyisjake, peterwilsoncc.
Backported in 8382dd5
git: f5500f4
svn: r45938
22 of 119
Author
Sergey Biryukov <[email protected]> 2019-09-04 16:14:35 +0000
Escape the output in `wp_ajax_upload_attachment()`.
Merges [45936] to the 5.2 branch.
Props whyisjake, sstoqnov.
Backported in 1c174bc
git: 70baf3c
svn: r45937
23 of 119
Author
Jake Spurlock <[email protected]> 2019-09-04 16:08:31 +0000
Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Props vortfu, whyisjake, peterwilsoncc
Backported in df914e5
git: 1600554
svn: r45880
24 of 119
Author
Jake Spurlock <[email protected]> 2019-08-22 17:56:40 +0000
WordPress 5.2.3 Release Candidate 1 version bump.
No action taken yet
git: a5b192b
svn: r45879
25 of 119
Author
Jake Spurlock <[email protected]> 2019-08-22 17:47:29 +0000
WordPress 5.2.3 Release Candidate 2
No action taken yet
git: 27e9684
svn: r45878
26 of 119
Author
Jake Spurlock <[email protected]> 2019-08-22 17:20:31 +0000
WordPress 5.2.3 Release Candidate 1
No action taken yet
git: 1f70979
svn: r45870
27 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-21 00:28:51 +0000
Customizer: Trim whitespace from custom link URLs.
This complements a similar fix for the Menus screen in [45655].

Props donmhico, audrasjb.
Merges [45869] to the 5.2 branch.
Fixes #47888. See #47723.
No action taken yet
git: 4cfe2ae
svn: r45868
28 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-20 22:54:59 +0000
Docs: Update `@since` tag for new JS functions and variables introduced in [45572].
Props garrett-eclipse.
Merges [45867] to the 5.2 branch.
See #47145.
No action taken yet
git: 74a4b51
svn: r45866
29 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-20 22:41:02 +0000
Accessibility: Make the Media modal an ARIA modal dialog.
For a number of years, the Media modal missed an explicit ARIA role and the required attributes for modal dialogs.

This was confusing for assistive technology users, since they may not realize they're inside a dialog, and that consequently the keyboard interactions may be different from the rest of the page. Lack of an explicit label for the dialog was confusing as well, since assistive technology users didn't have an immediate sense of what the dialog is for.

This change makes the Media modal meet the ARIA Authoring Practices recommendations, helping users better understand the purpose and interactions with the modal. Also, it makes sure to hide the rest of the page content from assistive technologies, until support for `aria-modal="true"` improves.

Additionally:
- moves the modal H1 heading to the beginning of the modal content 
- changes the modal left menu position to make visual and DOM order match 
- improves the `wp.media.view.FocusManager` documentation

Props afercia.
Merges [45572] to the 5.2 branch.
Fixes #47145.
No action taken yet
git: e337c89
svn: r45865
30 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-20 19:14:29 +0000
Accessibility: Fix the `alt` attribute of the Gallery images within the Classic Editor.
Passes the images `alt` attribute value to the Gallery template used within the Classic Editor.

Props yarnboy, wpboss.
Merges [45725] to the 5.2 branch.
Fixes #47687.
No action taken yet
git: 394351c
svn: r45864
31 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-20 19:12:09 +0000
Twenty Seventeen: Correct height for a Button block without text.
Props ianbelanger, laurelfulford, nayana123.
Merges [45764], [45861], and [45863] to the 5.2 branch.
Fixes #47414.
No action taken yet
git: 992a99f
svn: r45849
32 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:55:01 +0000
Accessibility: Fix the order of the Previous, Next, and Close buttons in the Attachment Details modal.
Making the visual and DOM order match benefits keyboard users who navigate documents sequentially and expect the focus order to be consistent with the sequential reading order.

Props afercia.
Merges [45506] to the 5.2 branch.
Fixes #47458.
No action taken yet
git: 6db50b0
svn: r45848
33 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:52:01 +0000
Block Editor: Fix the link to the classic editor when incompatible meta boxen are detected.
Props tmatsuur, mukesh27.
Merges [45618] to the 5.2 branch.
Fixes #45935.
No action taken yet
git: e4d806c
svn: r45847
34 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:48:28 +0000
Twenty Seventeen: Correct the CSS selectors intended to fix hover colors for MediaElement controls.
This is a follow-up to the previous fix in [45146], which didn't work as expected.

Props ryokuhi.
Merges [45576] to the 5.2 branch.
Fixes #47543. See #40843.
No action taken yet
git: f606fc9
svn: r45846
35 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:47:23 +0000
Twenty Seventeen: Accessibility: Add missing focus state for native audio and video embeds.
Props kjellr, karlgroves.
Merges [45425] to the 5.2 branch.
Fixes #47190.
No action taken yet
git: 3471598
svn: r45845
36 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:45:12 +0000
Twenty Nineteen: Revise Latest Posts block styles to support post content options.
Props kjellr, ianbelanger.
Merges [45761] to the 5.2 branch.
Fixes #47340.
No action taken yet
git: da1178b
svn: r45844
37 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:43:21 +0000
Upgrade/Install: Bring some consistency to installation screen styles.
* Include `forms.css` and `l10n.css`, for consistency with login screen and other admin screens.
* Remove redundant `@import` directives from `login.css` for files already declared as dependencies.
* Adjust margin on password strength meter for consistency with other fields.
* Increase font size for "You will need this password to log in" notice.
* Fix misaligned icon on "Hide" button for the password.

Props iseulde, [email protected], bassgang, cdog, johnbillion, nmenescardi, mukesh27, alpipego, SergeyBiryukov.
Merges [45673] to the 5.2 branch.
Fixes #35776, #43483, #47757, #47758.
No action taken yet
git: dd5e834
svn: r45843
38 of 119
Author
Sergey Biryukov <[email protected]t.wordpress.org> 2019-08-19 04:38:22 +0000
Customize: Make the color picker close when clicking on the empty area on the right.
Props monikarao, afercia.
Merges [45722] to the 5.2 branch.
Fixes #47693.
No action taken yet
git: 950d2fe
svn: r45842
39 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:36:02 +0000
Accessibility: Toolbar: Make the `min-width` value for `#wpadminbar` at `782px` breakpoint consistent with that of `<body>`.
This ensures that the "My Account" toolbar item stays visible at high zoom levels.

Props isabel_brison, chetan200891.
Merges [45684] to the 5.2 branch.
Fixes #47603.
No action taken yet
git: 09327af
svn: r45841
40 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:33:43 +0000
Media: Reduces the bulk media options to have one primary button.
This fixes where 2 primary buttons were showing for bulk actions within media trash.

Props garrett-eclipse, afercia, ianbelanger, SergeyBiryukov, karmatosed.
Merges [45701] to the 5.2 branch.
Fixes #46757, #46758
No action taken yet
git: f743dc6
svn: r45840
41 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:30:50 +0000
Accessibility: Improve the media views upload Dismiss Errors button.
- makes the Dismiss Errors button visible in the media views inline uploader
- avoids a focus loss when activating the Dismiss Errors button

See the related GitHub issue from the WPCampus accessibility audit https://github.com/WordPress/gutenberg/issues/15354

Props afercia.
Merges [45376] to the 5.2 branch.
Fixes #47113.
No action taken yet
git: b44a106
svn: r45839
42 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:28:20 +0000
Accessibility: Fix the headings hierarchy in the legacy Custom Background and Custom Header pages.
Props afercia.
Merges [45411] to the 5.2 branch.
Fixes #47386.
No action taken yet
git: 366e070
svn: r45838
43 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:25:45 +0000
Media: Make sure the bottom media toolbar content is fully visible with Internet Explorer 11.
Props mspatovaliyski, afercia.
Merges [45526] to the 5.2 branch.
Fixes #47502.
No action taken yet
git: 1bce8ed
svn: r45837
44 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:23:27 +0000
Formatting: Don't convert smilies in ignored tags that have attributes.
Smilies in ignored tags are not supposed to be converted to emoji, but this can malfunction if the tag has attributes. For example, the Preformatted block with add a `class` to the `<pre>` tag.

Props pento, jikamens.
Merges [45569] to the 5.2 branch.
Fixes #47489.
No action taken yet
git: 1df49d0
svn: r45836
45 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:17:14 +0000
Editor: Correct `since` annotation for the `excerpt_allowed_blocks` filter.
Props mukesh27, rabmalin.
Merges [45284] to the 5.2 branch.
Fixes #47079.
No action taken yet
git: f663746
svn: r45835
46 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:14:38 +0000
Accessibility: Improve settings tables and forms after [45403].
- adds `role="presentation"` to the edit comment table 
- removes a few pointless `<fieldset>` elements
- adds a few missing `<label>` elements
- adds the CSS class `class="td-full"` to table rows spanning to multiple cells
- adds explicit `scope="row"` attribute to the table headers in `options-permalink.php`: this table is better communicated as data table 
- uses consistent label association in the "Privacy Settings" page
- in the installation page "Set up your database connection": associates descriptions to their inout fields using `aria-describedby`
- improves the link to gravatar.com in the `user-edit.php` page

Props afercia.
Merges [45416] to the 5.2 branch.
See #46899.
Fixes #47390.
No action taken yet
git: 0f96b40
svn: r45834
47 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:12:44 +0000
Accessibility: Make sure layout tables across the admin are correctly linearized.
Adds `role="presentation"` to the `<table>` elements used for layout purposes.

Ideally, HTML tables should be used for tabular data. When tables are used for layout purposes, it's important to remove any native semantics so that assistive technologies can correctly announce the table content in a linearized fashion.

Props greatislander, afercia.
Merges [45403] to the 5.2 branch.
See #46899.
No action taken yet
git: 7fbb5e9
svn: r45833
48 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:08:48 +0000
Site Health: Use correct variable when checking PHP requirements for a plugin update in `WP_Plugins_List_Table::single_row()`.
Props diddledan, sharaz, vaishalipanchal, afragen.
Merges [45750] to the 5.2 branch.
Fixes #47835.
No action taken yet
git: 361af8b
svn: r45832
49 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:06:15 +0000
Menus: Trim whitespace from custom link URLs.
Props majemedia, SergeyBiryukov.
Merges [45655] and [45656] to the 5.2 branch.
Fixes #47723.
No action taken yet
git: 29b5246
svn: r45831
50 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:03:46 +0000
Editor: Fix undefined `$locked` var in edit-form-blocks.php when the `show_post_locked_dialog` filter is used to disable displaying of the dialog.
Props aprea.
Merges [45564] to the 5.2 branch.
Fixes #47604.
No action taken yet
git: 4096105
svn: r45830
51 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 04:01:53 +0000
Customize: Fix text direction for color picker in RTL.
Props vjik, SergeyBiryukov.
Merges [45626] to the 5.2 branch.
Fixes #47688. See #23740.
No action taken yet
git: e8dd021
svn: r45829
52 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 03:59:58 +0000
Block Editor: Avoid a PHP warning when a theme adds an editor style with an empty filename.
Props pento, gqevu6bsiz.
Merges [45619] to the 5.2 branch.
Fixes #45739.
No action taken yet
git: 469e5fd
svn: r45828
53 of 119
Author
Sergey Biryukov <[email protected]> 2019-08-19 03:55:47 +0000
Menus: Fix the Custom Links text fallback.
When adding a Custom Link and leaving the "Link Text" field empty, WordPress used to set a default fallback text: "Menu Item".

The changes in [36379] broke this behavior making the fallback text: `(Pending)`, with a leading space.

Pending major refactoring of the Menus page (which is going to use a block-based user interface) this change just restores the original behavior by adding the fallback text to the related AJAX response.

Props christophherr, Fencer04, thakkarhardik, backermann1978, audrasjb.
Merges [45727] to the 5.2 branch.
Fixes #38415.
No action taken yet
git: 08e8361
svn: r45666
54 of 119
Author
Sergey Biryukov <[email protected]> 2019-07-24 22:01:22 +0000
Plugins: Fix the plugin details modal layout after [45520].
Props mukesh27, marybaum, audrasjb.
Merges [45563] to the 5.2 branch.
Fixes #47561.
No action taken yet
git: 732a64e
svn: r45552
55 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-20 09:54:13 +0000
Help/About: Improve wording of PHP Error Protection section.
Merges [45551] to the 5.2 branch.

Props pedromendonca, garrett-eclipse.
See #47475.
Fixes #47538.
No action taken yet
git: 231c8a7
svn: r45550
56 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-18 18:11:59 +0000
Post WordPress 5.2.2 version bump.
No action taken yet
git: 2a8c6b1
svn: r45548
57 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-18 16:52:07 +0000
Help/About: Update the About page for WordPress 5.2.2.
Reviewed by ocean90, desrosj.

Props audrasjb.
Fixes #47558.
No action taken yet
git: 113a96d
svn: r45547
58 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-18 15:39:18 +0000
WordPress 5.2.2.
No action taken yet
git: 26e3da7
svn: r45534
59 of 119
Author
Andrew Ozz <[email protected]> 2019-06-13 17:32:10 +0000
Bump version on the 5.2 branch after releasing 5.2.2-RC2.
No action taken yet
git: 6aeaf9f
svn: r45533
60 of 119
Author
Andrew Ozz <[email protected]> 2019-06-13 17:07:19 +0000
Bump version to 5.2.2-RC2
No action taken yet
git: e02a7c7
svn: r45530
61 of 119
Author
Andrew Ozz <[email protected]> 2019-06-13 16:04:39 +0000
Add a Recovery Mode Exit button to the notice. This fixes it in responsive view.
Props desrosj, karmatosed, chetan200891, afercia, afragen, garrett-eclipse.
Merges [45529] to the 5.2 branch.
Fixes #47070.
No action taken yet
git: 30e6113
svn: r45528
62 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-13 15:33:27 +0000
Customize: Remove “Update” link for themes on multisite installs.
In [38887], installing themes in the Customizer was disabled for multisite installs. However, an update link continues to be displayed when a theme update is available. Clicking the link causes a JavaScript error.

This removes that update link because updates cannot actually be performed in the Customizer in this situation.

Reviewed by desrosj and azaozz.
Merges [45527] to the 5.2 branch.

Props desrosj, earnjam, mukesh27, audrasjb, garrett-eclipse.
Fixes #46997.
No action taken yet
git: 1e089c3
svn: r45523
63 of 119
Author
Andrea Fercia <[email protected]> 2019-06-12 19:35:20 +0000
Administration: Improve the horizontal centering of the Site Health tabs.
Props dkarfa, davidbaumwald, Clorith, tinkerbelly, afercia.
Merges [45522] to the 5.2 branch.
Fixes #46881 for 5.2.2.
No action taken yet
git: b509dbb
svn: r45521
64 of 119
Author
Andrea Fercia <[email protected]> 2019-06-12 19:23:50 +0000
Administration: Fix the responsive layout after changes to the Screen Options and Help buttons position.
Merges [45520] to the 5.2 branch.
Fixes #45094 for 5.2.2.
No action taken yet
git: bf25b39
svn: r45518
65 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-10 19:36:36 +0000
Post WordPress 5.2.2-RC1 version bump.
No action taken yet
git: c57aee0
svn: r45517
66 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-10 19:12:24 +0000
WordPress 5.2.2-RC1.
No action taken yet
git: 1ee2088
svn: r45516
67 of 119
Author
Sergey Biryukov <[email protected]> 2019-06-10 14:15:20 +0000
I18N: Merge duplicate "authenticity could not be verified" strings, fix comma placement on About page.
Props pedromendonca, garrett-eclipse.
Merges [45515] to the 5.2 branch.
Fixes #47475.
No action taken yet
git: 88b372f
svn: r45514
68 of 119
Author
Andrea Fercia <[email protected]> 2019-06-10 14:02:03 +0000
Administration: Improve the Site Health tables layout for small screens.
Props immeet94, jankimoradiya, desrosj, shashank3105, chetan200891, Clorith, hedgefield. 

Merges [45463] to the 5.2 branch.
Fixes #46960 for 5.2.2.
No action taken yet
git: 1730b99
svn: r45513
69 of 119
Author
Andrea Fercia <[email protected]> 2019-06-10 13:58:10 +0000
Administration: Remove extra border from the Screen Options and Help buttons.
The extra border was visible in the responsive view for smaller screens after [32844].

Props jitendrabanjara1991.

Merges [45501] and [45502] to the 5.2 branch.
Fixes #46749 for 5.2.2.
No action taken yet
git: 469eb5d
svn: r45512
70 of 119
Author
Sergey Biryukov <[email protected]> 2019-06-10 13:47:32 +0000
I18N: Merge duplicate "Status" and "Info" strings on Site Health screens.
Props ramiy.
Merges [45488] to the 5.2 branch.
Fixes #47227.
No action taken yet
git: f1d0576
svn: r45511
71 of 119
Author
Sergey Biryukov <[email protected]> 2019-06-10 13:45:57 +0000
Media: Restore correct arrow direction in RTL in Attachment Details modal.
Reverts [29264]. As we now have a build task to replace dashicons for RTL, the CSS rules no longer worked as expected and had the opposite effect.

Props ramiy, SergeyBiryukov.
Merges [45495] to the 5.2 branch.
Fixes #46289.
No action taken yet
git: cb5c0dc
svn: r45510
72 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-06-10 13:32:41 +0000
I18N: Combine similar strings with minor differences.
Merges [45298] to the 5.2 branch.

Props dimadin.
Fixes #47158.
No action taken yet
git: 05c0ad1
svn: r45509
73 of 119
Author
Andrea Fercia <[email protected]> 2019-06-10 13:32:01 +0000
Accessibility: Improve the Screen Options and Help buttons order.
- makes the buttons visual order match the DOM order
- also, restores the focus style on the "hero" primary button after [34948]

Props vrimill, mukesh27 for reporting and testing.
Merges [45503] to the 5.2 branch.
Fixes #45094 for 5.2.2.
No action taken yet
git: 7505112
svn: r45508
74 of 119
Author
Peter Wilson <[email protected]> 2019-06-10 07:49:27 +0000
Site health: Introduce `view_site_health_checks` capability.
Introduces the faux primitive capability `view_site_health_checks` available to single site admins and multisite super-admin to view the site health page within the admin.

The capability is mapped to the `install_plugins` capability without being dependent on the file system being writable. This fixes a bug where the feature couldn't be used by sites unable to write to the file system or managed through version control.

The capability is granted on the `user_has_cap` filter.

Props birgire, Clorith, palmiak, peterwilsoncc, spacedmonkey.
Merges [45507] to the 5.2 branch.
Fixes #46957 for 5.2.2.
No action taken yet
git: d8b8e1d
svn: r45482
75 of 119
Author
Riad Benguella <[email protected]> 2019-05-30 15:47:36 +0000
Block Editor: Update packages to the ones slated for WP5.2.2
- Fix the template validation notice
 - Fix for focus jumps when typing in meta attributes

Packages updated:

 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]

Props aduth, desrosj.
Merges [45481] to the 5.2 branch.
Fixes #47429.
No action taken yet
git: 4814aab
svn: r45374
76 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-21 19:35:35 +0000
Post WordPress 5.2.1 version bump. The 5.2 branch is now 5.2.2-alpha.
No action taken yet
git: 5609904
svn: r45372
77 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-21 18:18:01 +0000
WordPress 5.2.1.
No action taken yet
git: 23ea65e
svn: r45370
78 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-20 18:01:24 +0000
Post WordPress 5.2.1-RC2 version bump.
No action taken yet
git: b8b1818
svn: r45369
79 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-20 17:42:17 +0000
WordPress 5.2.1-RC2.
No action taken yet
git: 6381269
svn: r45368
80 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-20 14:46:35 +0000
Feeds: Ensure a feed’s `<lastBuildDate>` has the correct date.
The maximum modified time for a is currently being determined after an arbitrary date format is applied. Because the string sort in `max()` is being used to return the highest (most recent) modified value, the incorrect date is sometimes returned. This was introduced in [45247].

Merges [45367] to the 5.2 branch.

Reviewed by desrosj, SergeyBiryukov.
Props onlanka, Rarst, mukesh27.
Fixes #47304.
No action taken yet
git: 62e03d5
svn: r45366
81 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-20 14:30:38 +0000
Upgrade/Install: As a follow-up to [45357], when linking to Update PHP support page in error messages, check if `wp_get_update_php_url()` and `wp_get_update_php_annotation()` exist.
`wp-admin/includes/update-core.php` runs in the context of the previous WordPress version. Any calls to newly introduced functions there need to be checked via `function_exists()`.

Reviewed by desrosj, earnjam, SergeyBiryukov.

Props dd32, imath.
Merges [45365] to the 5.2 branch.
Fixes #47323.
No action taken yet
git: faa6d4b
svn: r45364
82 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-20 14:20:44 +0000
Help/About: Replace minor release strings with pre-existing ones.
Also, update the number of bugs fixed in 5.2.1 to include those being fixed after RC1.

Reviewed by desrosj, SergeyBiryukov.

Props ocean90, SergeyBiryukov, mukesh27.
Fixes #47312.
No action taken yet
git: fcdbd6a
svn: r45361
83 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 19:42:08 +0000
Post WordPress 5.2.1-RC1 version bump.
No action taken yet
git: 996c9dd
svn: r45360
84 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 19:07:11 +0000
WordPress 5.2.1-RC1.
No action taken yet
git: f780544
svn: r45359
85 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 18:50:53 +0000
Help/About: Update the about page for 5.2.1.
32 bugs were squashed in 5.2.1.

Props earnjam, ianbelanger, chanthaboune.
Fixes #47294.
No action taken yet
git: a388d7a
svn: r45358
86 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 18:15:41 +0000
Upgrade/Install: Improve error messages displayed when WordPress update fails due to an incompatible PHP version by linking to the Update PHP support page.
Additionally, fix a regression in [44451] where the error message in `wp-admin/upgrade.php` was prepared, but never displayed.

Props afragen, netweb, hareesh-pillai, SergeyBiryukov.
Merges [45357] to the 5.2 branch.
Fixes #46937.
No action taken yet
git: 8fe8dec
svn: r45356
87 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 17:48:23 +0000
Upgrade/Install: Don't run signature verify on slow 32-bit systems.
The `sodium_compat` library can be very slow for certain operations on 32-bit architectures, which can lead to web server timeouts while attempting to verify an update. This adds a runtime speed check to skip signature verification on systems that would otherwise time out. Includes simple unit tests.

Merges [45345] to the 5.2 branch.

Props dd32, paragoninitiativeenterprises, tellyworth.
Fixes #47186.
No action taken yet
git: 8005232
svn: r45355
88 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 17:19:21 +0000
Upgrade/Install: Update `sodium_compat` to v1.10.0.
This adds a `runtime_speed_test()` method for estimating if the 32-bit implementation is fast enough for expensive computations.

Merges [45344] to the 5.2 branch.

Props paragoninitiativeenterprises, tellyworth.
See #47186.
No action taken yet
git: 7a72195
svn: r45354
89 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 17:07:41 +0000
jQuery: bring `jquery.js` back into the WordPress SVN repo and backport the patch from 3.4.0.
Merges [45342] to the 5.2 branch.

Props MikeNGarrett, peterwilsoncc, azaozz.
Fixes #47020.
Backported in 84968d9
git: fe2b4ee
svn: r45353
90 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 13:30:15 +0000
Media: Fix deletion of files on Windows.
`wp_delete_file_from_directory()` should always normalize file paths before comparing.

Props tonybogdanov, SergeyBiryukov.
Merges [45352] to the 5.2 branch.
Fixes #47185.
No action taken yet
git: ef60679
svn: r45351
91 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 12:37:43 +0000
Build/Test Tools: Use a non-zero exit code in `wp_check_php_mysql_versions()` when minimum PHP or MySQL requirements are not met.
This allows automated scripts and test suites to interpret the result correctly.

Props jrf, spacedmonkey.
Merges [45350] to the 5.2 branch.
Fixes #47169.
No action taken yet
git: c70201a
svn: r45349
92 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 12:11:06 +0000
Formatting: Adjust `wp_targeted_link_rel()` to ensure JSON format is preserved and correct quotes are used when adding the missing `rel` attribute.
Props birgire, TobiasBg, fierevere, audrasjb, SergeyBiryukov.
Merges [45348] to the 5.2 branch.
Fixes #46316, #47244.
No action taken yet
git: 14c25eb
svn: r45347
93 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 11:55:28 +0000
Site Health: In PHP modules test description, move the space before the screen reader text out from the translatable string.
Props ocean90, tobifjellner.
Merges [45346] to the 5.2 branch.
Fixes #47161.
No action taken yet
git: f2da510
svn: r45343
94 of 119
Author
Andrew Ozz <[email protected]> 2019-05-17 04:48:21 +0000
Update TinyMCE to 4.9.4. Changelog: https://github.com/tinymce/tinymce/blob/4.x/changelog.txt.
Props parkcityj, azaozz.
Merges [45316] to the 5.2 branch.
Fixes #47229 #47205.
No action taken yet
git: 7a5aab3
svn: r45341
95 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 02:23:53 +0000
Accessibility: In back-compat code added for `get_search_form()` in [44956], when checking the (previously boolean) `$args` value, account for non-strict comparison.
Props dkarfa, sachyya-sachet.
Merges [45340] to the 5.2 branch.
Fixes #47177. See #42057.
No action taken yet
git: 2e19fe4
svn: r45339
96 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 01:08:45 +0000
Help/About: Restore placeholder for WordPress version in tagline on About, Credits, and Freedoms pages to include minor versions.
Props desrosj, mukesh27.
Merges [45338] to the 5.2 branch.
Fixes #46408.
No action taken yet
git: a817857
svn: r45337
97 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 01:00:59 +0000
Site Health: Use correct singular string for plugin and theme version tests.
Props edocev, Presskopp.
Merges [45336] to the 5.2 branch.
Fixes #47264.
No action taken yet
git: 8a27fb9
svn: r45335
98 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 00:55:22 +0000
I18N: Avoid using placeholders for link start and end tags in alt text description strings added in [45158].
Use an established pattern of moving additional link attributes out of the translatable string.

Props dimadin.
Merges [45334] to the 5.2 branch.
Fixes #47159.
No action taken yet
git: 9369170
svn: r45333
99 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-17 00:41:38 +0000
Accessibility: Improve the "skip links" position for medium and small screens.
Merges [45301] to the 5.2 branch.

Props afercia.
Fixes #47065.
No action taken yet
git: e5a99a4
svn: r45332
100 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-17 00:08:51 +0000
Site Health: In PHP modules test, ensure the description is translated as a whole sentence, not as separate string parts.
Props dimadin, SergeyBiryukov.
Merges [45331] to the 5.2 branch.
Fixes #47161.
No action taken yet
git: 9f96a6b
svn: r45330
101 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-16 22:29:35 +0000
Site Health: Update mergeinfo for [45329].
See #47297.
No action taken yet
git: 6f1ac9e
svn: r45329
102 of 119
Author
Sergey Biryukov <[email protected]> 2019-05-16 22:23:51 +0000
Site Health: In HTTP requests test, when checking whether the `WP_HTTP_BLOCK_EXTERNAL` constant is defined, check its value as well.
Props chesio.
Merges [45328] to the 5.2 branch.
Fixes #47297.
No action taken yet
git: 5c0f8ed
svn: r45327
103 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-16 20:46:41 +0000
Privacy: Prevent email field for personal data requests from overflowing.
Merges [45326] to the 5.2 branch.

Props anischarolia, ianbelanger, afercia.
Fixes #46961.
No action taken yet
git: b684f06
svn: r45325
104 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-16 19:07:41 +0000
Menus: Fix alignment of menu actions on mobile.
In [41197], changes were made to improve the responsive view for the Menu Name field and Save buttons. This caused the Delete Menu button to be misaligned.

Merges [45324] to the 5.2 branch.

Props ianbelanger, audrasjb, afercia, mukesh27.
Fixes #47173.
No action taken yet
git: 88def8a
svn: r45323
105 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-16 18:31:43 +0000
Site Health: Improve alignment and spacing for section headers.
This changes the CSS for Site Health headers to use flexbox, which helps ensure the text is vertically aligned center and consistently spaced in both the Status and Info tabs. It also fixes an issue where the loading spinner GIF was cut off on smaller screens (originally reported in #47203.

Merges [45322] to the 5.2 branch.

Props Presskopp, odminstudios, kjellr, afercia, desrosj, hedgefield, ianbelanger, xavortm.
Fixes #47063.
No action taken yet
git: f293764
svn: r45320
106 of 119
Author
Andrew Duthie <[email protected]> 2019-05-16 18:11:22 +0000
Block Editor: Upgrade WordPress packages to the latest versions.
Updated packages:

 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]

Props: youknowriad, gwwar, iseulde, tfrommen, gziolo.

Merges [45319] to the 5.2 branch.
Fixes #47284.
No action taken yet
git: 2a936b9
svn: r45318
107 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-16 16:33:42 +0000
Accessibility: Add aria-current to the links in the <nav> elements introduced in [44905].
Also fixes a few translators comments and coding standards.

Merges [45300] to the 5.2 branch.

Props audrasjb, afercia.
Fixes #47106.
No action taken yet
git: bf36def
svn: r45315
108 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-15 19:53:42 +0000
Bootstrap/Load: Prevent PHP errors when a drop-in triggers fatal error protection.
When a drop-in (such as `advanced-cache.php`) contains a PHP error, additional PHP errors are caused when displaying the error protection screen because `load_default_textdomain()` and `WP_Error` are not yet available.

Though recovery mode is not supported for `mu-plugins` and drop-ins, fatal error protection is. This change ensures the error screen is displayed when a fatal error is encountered within a drop-in and not a white screen.

Merges [45311] to the 5.2 branch.

Props TimothyBlynJacobs, spacedmonkey, daxelrod.
Fixes #47265.
No action taken yet
git: 271d57e
svn: r45314
109 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-15 19:51:20 +0000
Site Health: Improve vertical alignment of icons in test result descriptions.
This change removes redundant CSS properties for different health check statuses in favor of utilizing the `.dashicons` class already in Core to define them more consistently. This also fixes the vertical alignment issues.

Merges [45309] to the 5.2 branch.

Props chetan200891, Clorith, desrosj.
Fixes #46940.
No action taken yet
git: f9e8153
svn: r45313
110 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-15 19:48:33 +0000
Site Health: Link to the correct plugin update screen in multisite installs.
Merges [45308] to the 5.2 branch.

Props Clorith, sebastienserre, jeremyfelt, desrosj.
Fixes #47189.
No action taken yet
git: 9dda3ec
svn: r45312
111 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-15 19:46:45 +0000
Administration: Remove duplicate font-face declaration in Dashicons CSS.
This was causing console warnings in some browsers.

Merges [45310] to the 5.2 branch.

Props aduth, joen, afercia, timph, ianbelanger.
Fixes #47183.
No action taken yet
git: 5967ae5
svn: r45303
112 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-10 14:44:49 +0000
Administration: Prevent cards on the Tools page from overflowing on small screens.
Merges [45296] to the 5.2 branch.

Props anischarolia, mukesh27.
Fixes #46972.
No action taken yet
git: c016d1d
svn: r45295
113 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-07 21:19:15 +0000
Post WordPress 5.2 version bump.
No action taken yet
git: af0204c
svn: r45293
114 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-07 20:01:00 +0000
Help/About: Move 5.2 tagline to Freedoms and Credits.
Reviewed by ocean90, SergeyBiryukov.
Props ocean90.
Fixes #46901.
No action taken yet
git: 538d87b
svn: r45291
115 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-07 19:38:23 +0000
WordPress 5.2.
No action taken yet
git: bf9589d
svn: r45290
116 of 119
Author
laurelfulford <[email protected]> 2019-05-07 19:05:06 +0000
Default Themes: Bump the version numbers and release dates.
Update the theme versions and release dates for the default themes, in time for WordPress 5.2.

The POT files for Twenty Eleven and Twenty Ten have also been updated.

Reviewed by desrosj, jorbin.
Merges [45289] to the 5.2 branch.
Fixes #47172.
No action taken yet
git: e834773
svn: r45288
117 of 119
Author
Jonathan Desrosiers <[email protected]> 2019-05-07 17:21:23 +0000
Help/About: Final 5.2 about page updates.
Use final image URLs and fix a bug in IE11 where images were being cut off.

Reviewed by afercia, desrosj.
Merges [45287] to the 5.2 branch.

Props afercia, SergeyBiryukov, ianbelanger, desrosj, audrasjb.
Fixes #46901.
No action taken yet
git: 54dfd64
svn: r45286
118 of 119
Author
Andrew Ozz <[email protected]> 2019-05-04 21:06:14 +0000
Fix `setup_postdata()` to set the (inside the loop) globals before `the_post` action is fired. Follow-up from #42814 and [44941].
Props david.binda, spacedmonkey, boonebgorges, birgire, jorbin, azaozz.
Merges [45285] from trunk.
Fixes #47114 for 5.2.
No action taken yet
git: 54ed149
svn: r45281
119 of 119
Author
Aaron Jorbin <[email protected]> 2019-05-02 16:20:34 +0000
Branch 5.2.
No action taken yet
© 2019 ClassicPress