WordPress commits: wp-trunk branch

git: 6ebff32
svn: r48758
1 of 4570
Author
Jake Spurlock <[email protected]> 2020-08-07 20:42:04 +0000
Themes: Update the `test_theme_supports_custom_logo` to check for the `unlink-homepage-logo` property.
See #37011, [48757].
Props TimothyBlynJacobs, whyisjake.
No action taken yet
git: a5771dc
svn: r48757
2 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 19:41:16 +0000
Themes: Add `unlink-homepage-logo` to the `create_initial_theme_features()` registration for the `custom-logo` theme feature.
Follow-up to [48039], [48283], [48749].

Props TimothyBlynJacobs.
Fixes #37011.
No action taken yet
git: 5868743
svn: r48754
3 of 4570
Author
Andrew Ozz <[email protected]> 2020-08-07 18:28:36 +0000
Script Loader: Remove the `jquery-migrate-compat-5.5` temporary script handle for now. Can be re-added later if there is a compelling use case. For now it doesn't seem necessary.
See #37110.
No action taken yet
git: 910df84
svn: r48753
4 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 16:49:24 +0000
Script Loader: Add a temporary `jquery-migrate-compat-5.5` script handle.
This is intended as an easy way for plugins and themes to still be able to load jQuery with jQuery Migrate in WordPress 5.5.

Once jQuery is updated to 3.x, this temporary script handle will be removed. This means plugins and themes still using it at that point will fail to load their scripts (as a dependency will be missing), but will not cause "fatal errors" breaking the rest of JS.

Follow-up to [48323], [48324].

Props azaozz, desrosj, apedog, Clorith, jorbin.
Fixes #37110.
No action taken yet
git: 29b5835
svn: r48751
5 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 16:30:32 +0000
Comments: Update DB version number used to trigger the upgrade routine for changing the `comment_type` DB field value in comments table.
Follow-up to [47597], [47626], [48225], [48227], [48748].

Props desrosj.
See #49236.
No action taken yet
git: 8c11d50
svn: r48750
6 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 16:12:11 +0000
Docs: Correct usage of the dynamic `auto_update_{$type}` filter.
This ensures that the canonical name of the filter is used in Site Health debug data, as well as on plugin and theme screens, so the developer reference site remains correct.

Props johnbillion.
Fixes #50868.
No action taken yet
git: 54cba57
svn: r48749
7 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 15:24:10 +0000
Accessibility: Themes: Only unlink custom logo on the home page if the theme declares support for that.
To accommodate for the change, the `custom-logo` theme feature now accepts the `unlink-homepage-logo` parameter.

If and when the logo is linked on the home page, the link has the `aria-current` attribute for better accessibility.

Follow-up to [48039], [48283].

Props sabernhardt, audrasjb, johnstonphilip, demetris.
Fixes #37011.
No action taken yet
git: def2425
svn: r48748
8 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 14:27:40 +0000
Comments: Update comment cache in the upgrade routine for changing the `comment_type` DB field value in comments table.
This ensures that comment object cache is cleared after changing the comment type to `comment` instead of an empty string.

Add a unit test for `_wp_batch_update_comment_type()`.

Follow-up to [47597], [47626], [48225], [48227].

Props imath, westonruter.
Fixes #49236.
No action taken yet
git: 9d1a31c
svn: r48745
9 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-07 13:26:11 +0000
Site Health: Consistently pass an object to the `auto_update_{$type}` filter in Site Health debug data.
Previously, some instances of the filter received an array from a plugin or theme update response, potentially triggering PHP notices.

Props bpayton, pbiron.
Fixes #50852.
No action taken yet
git: 58f9000
svn: r48744
10 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-06 13:26:06 +0000
Tests: Correct duplicate array keys in `Tests_Kses::test_wp_filter_post_kses_address()`.
Previously, only the last `style` value was actually tested.

Props ediamin.
Fixes #50860.
No action taken yet
git: 103d7d1
svn: r48743
11 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-06 13:12:03 +0000
Posts, Post Types: Use a consistent wording in messages about a locked post.
Props ramiy.
Fixes #50859.
No action taken yet
git: f840046
svn: r48742
12 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-06 00:23:13 +0000
Site Health: Check if `session_status()` exists before calling it.
Props bgermann.
Fixes #50862.
No action taken yet
git: 55d7373
svn: r48741
13 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-05 13:52:01 +0000
Comments: Remove a few more unnecessary instances of `esc_html()` in `WP_Comments_List_Table::comment_status_dropdown()`.
Core translations are considered safe, and these labels are not escaped in any other instances.

Follow-up to [48521], [48722], [48724].

See #40188, #50815.
No action taken yet
git: 581a636
svn: r48736
14 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-04 18:09:37 +0000
Help/About: Correct header spacing on shorter screens after removing the musician name.
Remove some unnecessary CSS.

Follow-up to [48730].

Props ryelle.
See #50416.
No action taken yet
git: 7523796
svn: r48734
15 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-04 17:52:36 +0000
Plugins: Move the "Successfully installed the plugin" string to the correct `Plugin_Upgrader` method.
The string refers to the installation, and belongs in the `::install_strings()` method, not in `::upgrade_strings()`.

Props sswebster, nateinaction, SergeyBiryukov.
Fixes #50837.
No action taken yet
git: 3fb50ac
svn: r48731
16 of 4570
Author
Jake Spurlock <[email protected]> 2020-08-04 17:35:09 +0000
Site Health: Display auto-update properly for plugins that don't support auto-updates.
Properly filter `auto_update_plugin` when displaying the table.

Fixes #50822.
Props Gwendydd, pbiron, audrasjb, SergeyBiryukov, whyisjake.
No action taken yet
git: d11bac5
svn: r48730
17 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-08-04 17:33:38 +0000
Help/About: Remove “Musician Name” placeholder.
The musician name is traditionally not included on the About page due to i18n concerns regarding last minute changes.

Props audrasjb, SergeyBiryukov.
See #50416.
No action taken yet
git: 926cbb5
svn: r48729
18 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-08-04 17:24:35 +0000
Help/About: String updates and accessibility improvements to the 5.5 About page.
Props ryelle, nrqsnchz, desrosj, audrasjb, marybaum, spacedmonkey, SergeyBiryukov, estelaris, afercia, ocean90.
See #50416.
No action taken yet
git: 68d1605
svn: r48726
19 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-04 16:59:03 +0000
Editor: Make some hardcoded strings in block patterns translatable.
Props ocean90, youknowriad.
Fixes #50842.
No action taken yet
git: 005504c
svn: r48725
20 of 4570
Author
ellatrix <[email protected]> 2020-08-04 16:46:02 +0000
Editor: update JS packages
Fixes #50844.
No action taken yet
git: a362852
svn: r48724
21 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-04 16:24:32 +0000
Comments: Restore the `::has_items()` call in `WP_Comments_List_Table::extra_tablenav()` for now, until unit tests are updated accordingly.
Follow-up to [48722].

Fixes #40188. See #50815.
No action taken yet
git: 21c0ed0
svn: r48722
22 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-04 15:55:25 +0000
Comments: Use the existing static variable instead of calling `::has_items()` again in `WP_Comments_List_Table::extra_tablenav()`.
Additionally, removed unnecessary `esc_html()` on the Filter button label. Core translations are considered safe, and this label is not escaped in any other instance.

Props whyisjake, SergeyBiryukov.
Fixes #40188.
No action taken yet
git: 39be04b
svn: r48721
23 of 4570
Author
Jake Spurlock <[email protected]> 2020-08-04 15:54:48 +0000
Help/About: String update for 5.5 release.
We don't use hyphens for the [block editor](https://make.wordpress.org/core/handbook/best-practices/spelling/).

See #50416.
Props davidbaumwald, marybaum, desrosj.
No action taken yet
git: 3bee993
svn: r48719
24 of 4570
Author
Ella van Durpe <[email protected]> 2020-08-04 13:41:37 +0000
Editor: update JS packages
Fixes #50841.
No action taken yet
git: 48837a3
svn: r48717
25 of 4570
Author
Andrea Fercia <[email protected]> 2020-08-04 13:15:52 +0000
Accessibility: Administration: Address backward compatibility concerns for the sortable postboxes areas after [48340].
Fixes #49288.
No action taken yet
git: 42dc935
svn: r48716
26 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-04 12:45:57 +0000
Media: Remove extra space from the `width` attribute in `wp_playlist_shortcode()` output.
Props hvar.
Fixes #50840.
No action taken yet
git: 59ed4cb
svn: r48715
27 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-03 12:51:22 +0000
Administration: Allow `wp_credits()` to accept `$version` and `$locale` parameters.
This can be helpful for plugin developers to get credits information for older versions or different locales.

Props ramiy.
Fixes #35910.
No action taken yet
git: 35a4b7b
svn: r48714
28 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-03 12:09:34 +0000
Docs: Correct placement for `wp_editor_expand` filter DocBlock.
See #50768.
No action taken yet
git: a5cb12d
svn: r48713
29 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-02 12:55:56 +0000
Permalinks: Don't show "You should update your `.htaccess` file now" message when saving permalink settings on Multisite.
Multisite routing is taken care of by WordPress, not by the web server.

Follow-up to [13706], [37747], [38066].

Props boonebgorges.
Fixes #39547.
No action taken yet
git: b79a8c6
svn: r48712
30 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-02 12:49:08 +0000
Permalinks: Simplify the logic for displaying "You should update your `.htaccess` file now" message.
See #39547, #50834.
No action taken yet
git: 2c5ef0f
svn: r48711
31 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-02 12:37:08 +0000
Docs: Correct formatting for a comment in `wp-admin/options-permalink.php`.
Previously committed in [48694], accidentally reverted in [48710].

See #50768.
No action taken yet
git: 7bc790c
svn: r48710
32 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-02 12:34:05 +0000
Permalinks: Correct the check whether `.htaccess` update is required when saving permalink settings.
The check should be performed after the permalink structure update, not before.

Fixes #50834.
No action taken yet
git: c77373e
svn: r48709
33 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-01 19:44:09 +0000
Upgrade/Install: Show the installed WordPress version number on WordPress Updates screen if there is a newer version available.
This makes it easier for a user to know how significant of an update the change might be, and helps them make an informed decision about how to proceed.

Props tmdesigned, dd32, circlecube, dkarfa, hakre, scribu, MadtownLems, markshep, nbachiyski, dmchale, miqrogroove, ovann86, danieltj, sterndata, seanpaulrasmussen, mrgrt, Commeuneimage, dpacks, puneetsahalot, jonoaldersonwp, SergeyBiryukov.
Fixes #15101. See #35554, #47848.
No action taken yet
git: ac278ca
svn: r48707
34 of 4570
Author
Sergey Biryukov <[email protected]> 2020-08-01 14:07:29 +0000
HTTP: Update the Root Certificate bundle.
Keep 1024-bit legacy root certificates re-added in [35919], except for those already expired, for compatibility with older OpenSSL versions.

Props barry, ayeshrajans, desrosj, whyisjake.
See #50828.
No action taken yet
git: d3edd66
svn: r48705
35 of 4570
Author
Aaron Jorbin <[email protected]> 2020-07-31 18:33:23 +0000
Build/Test Tools: Update grunt-patch-wordpress
See: #50769
No action taken yet
git: 96b409c
svn: r48703
36 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-31 17:19:34 +0000
Upgrade/Install: Ensure the proper count of plugins that have auto-update enabled.
As certain plugins may not support updates, this count needs to accurately reflect that in the navbar.

Fixes 50808.
Props knutsp, audrasjb, pbiron, dd32, apedog, afragen, chriscct7, garyc40, whyisjake, SergeyBiryukov.
No action taken yet
git: d83942a
svn: r48701
37 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-31 17:01:16 +0000
Upgrade/Install: Allow for WordPress.org to remotely disable auto-updates for plugins/themes
As auto-updates are rolled out across WordPress.org, the API response can modulate the response, ensuring that a rolled out could be stalled or staggered if needed for security or performance reasons.

Fixes #50824.
Props dd32, whyisjake, SergeyBiryukov.
No action taken yet
git: bfc5c53
svn: r48700
38 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-31 13:58:09 +0000
Editor: Correctly back up the global `$post` in `wp-admin/edit-form-blocks.php`.
To create a copy of the object, instead of a reference to the same object, the `clone` keyword should be used.

Props scarolan.
Fixes #50775.
No action taken yet
git: e95d645
svn: r48699
39 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-31 13:13:36 +0000
Widgets: Use correct escaping function in `WP_Widget_Archives::widget()`.
Props chintan1896, afercia.
See #50826.
No action taken yet
git: 6d3207d
svn: r48696
40 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-30 21:48:19 +0000
Upgrade/Install: Pass the plugin file path into the `plugin_auto_update_debug_string` filter.
Adds better tooling for when user specific plugins can be updated, but platform specific ones cannot.

Fixes #50821.
Props bpayton, pbiron, audrasjb, SergeyBiryukov, whyisjake.
No action taken yet
git: 1c6ca09
svn: r48695
41 of 4570
Author
John Blackbourn <[email protected]> 2020-07-30 19:12:02 +0000
Docs: Various fixes and improvements to inline documentation.
See #49572
No action taken yet
git: 2ec18b9
svn: r48694
42 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-30 14:00:59 +0000
Docs: Correct formatting for a comment in `wp-admin/options-permalink.php`.
See #50768.
No action taken yet
git: a7e5570
svn: r48693
43 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-30 13:25:10 +0000
Comments: Pass the `$which` parameter to the `manage_comments_nav` action.
This brings some consistency with the  `manage_users_extra_tablenav` and `manage_users_extra_tablenav` actions.

Props Tkama, wpgurudev.
Fixes #50736.
No action taken yet
git: bee24dc
svn: r48692
44 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-30 12:26:45 +0000
I18N: Use a placeholder instead of the `\` character in a translatable string in `WP_REST_Users_Controller::check_user_password()`.
Props ramiy.
Fixes #50812.
No action taken yet
git: e53aaae
svn: r48689
45 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-29 21:06:47 +0000
Themes: Pass correct variable to `is_php_version_compatible()` in `wp_theme_update_row()`.
This applies to the Themes screen in Multisite network admin.

Follow-up to [48660].

Props pbiron, afragen.
Fixes #48507. See #48491.
No action taken yet
git: 20ac5dd
svn: r48688
46 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-29 19:59:30 +0000
Upgrade/Install: Only show auto-update for themes that support the feature.
Similar to the changes for plugins in [48669], let's only show the UI for themes when updates are supported for that theme.

See #50280.
Props dd32.
No action taken yet
git: a492724
svn: r48686
47 of 4570
Author
SergeyBiryukov <[email protected]> 2020-07-29 13:27:02 +0000
Help/About: Adjust two strings on the About page for better i18n.
Follow-up to [48675].

Props ocean90, audrasjb, kittmedia, nao.
See #50416.
No action taken yet
git: c1101f0
svn: r48685
48 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-29 13:07:35 +0000
Upgrade/Install: Pass correct argument to `clear_destination` in `Theme_Upgrader::install()`.
Follow-up to [48390].

Props afragen, sabernhardt.
Fixes #9757.
No action taken yet
git: 014b40e
svn: r48684
49 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 21:19:53 +0000
Media: Pass the `$rel` parameter to `image_send_to_editor` filter.
Props mihdan, pputzer.
Fixes #50765.
No action taken yet
git: 7aae3c7
svn: r48683
50 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 20:54:37 +0000
Trunk is now 5.6 alpha.
No action taken yet
git: ed82e57
svn: r48681
51 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 19:13:41 +0000
Post WordPress 5.5 RC 1 version bump.
No action taken yet
git: 14e896d
svn: r48680
52 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 18:52:06 +0000
WordPress 5.5 RC 1.
No action taken yet
git: ce675c0
svn: r48679
53 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 18:48:51 +0000
WordPress 5.5 RC 1.
No action taken yet
git: 355152a
svn: r48678
54 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 18:26:58 +0000
Upgrade/Install: Swap `auto-update-supported` to `update-supported` in update checks.
Ensures backwards compatability with external updaters.

See #50280.
Props everyone-in-the-core-updates-channel.
No action taken yet
git: 0848bbf
svn: r48677
55 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-28 18:14:03 +0000
Upgrade/Install: Clarify the descriptions for `install_(plugin|theme)_overwrite_actions`.
See #9757.
No action taken yet
git: b60cf9c
svn: r48676
56 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-28 17:54:52 +0000
Upgrade/Install: Correct spelling of “overwrite” in new hooks and array indexes.
See #9757.
No action taken yet
git: 29b8823
svn: r48675
57 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 17:43:50 +0000
Help/About: WordPress 5.5 About Page.
Speed. Search. Security.

This is the start of the WordPress 5.5 about page. 

Fixes #50416. 
Props ryelle, marybaum, estelaris, yvettesonneveld, michelebutcher-jones, metalandcoffee, melchoyce, marktimemedia, abhanonstopnewsuk, elmastudio, davidbaumwald, audrasjb, afercia, cbringmann, andreamiddleton, desrosj, earnjam, SergeyBiryukov, whyisjake, elrae.
No action taken yet
git: 57f9a2c
svn: r48674
58 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 17:42:44 +0000
Login and Registration: Correct the logic for determining the path to `wp-login.php` in `wp_lostpassword_url()`.
Follow-up to [48672], [48673].

See #39311.
No action taken yet
git: d1ef380
svn: r48673
59 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 17:38:37 +0000
Login and Registration: Only call `get_blog_details()` in `wp_lostpassword_url()` on Multisite.
The function does not exist on single site.

Follow-up to [48672].

See #39311.
No action taken yet
git: 087d112
svn: r48672
60 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 17:18:06 +0000
Login and Registration: Link to the correct site after activating a user on a Multisite install in subdirectory mode.
Props pkarjala, Mista-Flo, tmoore41, Ipstenu, ksoares, mukesh27, whyisjake.
Fixes #39311.
No action taken yet
git: 0dd3bd3
svn: r48671
61 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 17:06:52 +0000
Administration: Correct alignment of the "PHP Update Required" dashboard box title.
Restore one instance of `!important` CSS rule for backward compatibility.

Follow-up to [48129], [48373].

Props whyisjake, sabernhardt, TimothyBlynJacobs, SergeyBiryukov.
Fixes #50788.
No action taken yet
git: d3614d4
svn: r48670
62 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 16:53:03 +0000
Administration: Don't override the `$mode` global in `WP_Screen::render_view_mode()` if it's already set.
Follow-up to [48398], [48423], [48424], [48450].

See #49715.
No action taken yet
git: af4127a
svn: r48669
63 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 16:30:48 +0000
Upgrade/Install: Enhance auto-updates to be disabled for plugins that don't suport updates.
This removes the toggle UI when updates aren't available. When plugins use the filter, the UI is updated to show that they are being controlled via code. And then removed entirely when not available.

See #50798.
Fixes #50280.

Props elrae, pbiron, SergeyBiryukov, audrasjb, azaozz, StephenCronin, whyisjake, dd32, TimothyBlynJacobs, desrosj.
No action taken yet
git: 828d287
svn: r48668
64 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 16:17:13 +0000
Administration: Pull the `table_view_mode` filter for now.
The extensibility of list table view modes will be explored in a future release.

Props audrasjb.
See #49715.
No action taken yet
git: 18f5561
svn: r48667
65 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 16:13:03 +0000
Upgrade/Install: Disable the plugin/theme auto-updates UI if `AUTOMATIC_UPDATER_DISABLED` is defined and set as `true`.
Props pbiron, dd32.
Fixes #50798. See #50280.
No action taken yet
git: 9636a9d
svn: r48666
66 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 16:05:39 +0000
Upgrade/Install: Check WordPress and PHP version requirements when uploading a plugin or theme from ZIP file.
Props mariovalney, desrosj.
See #50593.
No action taken yet
git: cded42a
svn: r48665
67 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 15:40:35 +0000
Taxonomy: Rename the `default_taxonomy_$taxonomy` option key to `default_term_$taxonomy`.
This better reflects the purpose of the option.

Follow-up to [48356], [48480].

See #43517.
No action taken yet
git: 2547c15
svn: r48664
68 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 14:40:06 +0000
Coding Standards: Reformat a condifion for default taxonomy terms in `map_meta_cap()` for better readability.
Follow-up to [48356], [48480].

See #43517.
No action taken yet
git: 6e66f08
svn: r48663
69 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 14:21:54 +0000
Taxonomy: Ensure the `child_of` argument of `get_terms()` works as expected with `'fields' => 'id=>name'` or `'id=>slug'`.
Props Howdy_McGee, deepaklalwani, planvova.
Fixes #46768.
No action taken yet
git: faa6036
svn: r48662
70 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 12:08:41 +0000
Bootstrap/Load: Remove the `wp_environment_type` and `wp_get_environment_type` filters.
Since `wp_get_environment_type()` runs too early for plugins to hook these filters, and the result is then cached in a static variable and cannot be changed later, the filters are not that useful.

The `WP_ENVIRONMENT_TYPES` and `WP_ENVIRONMENT_TYPE` constants and environment variables should be enough for now.

Follow-up to [47919], [48188], [48372].

Props Clorith, SergeyBiryukov.
Fixes #33161.
No action taken yet
git: ae65f09
svn: r48661
71 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 11:55:19 +0000
Docs: Add missing documentation for various upgrade/install class properties and methods.
Props ramiy.
Fixes #42923.
No action taken yet
git: deb78bd
svn: r48660
72 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 11:32:53 +0000
Themes: Display a message on Themes list table if a theme update requires a higher version of PHP or WordPress.
This applies to the Themes screen in Multisite network admin.

Props afragen, SergeyBiryukov.
Fixes #48507. See #48491.
No action taken yet
git: d67c469
svn: r48659
73 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 11:29:28 +0000
Themes: Include theme name in available update messages, for better accessibility and consistency with other similar messages.
Follow-up to [48652-48654].

See #48491.
No action taken yet
git: b7a5c75
svn: r48658
74 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 10:13:50 +0000
Docs: Document that various metadata functions return false for an invalid ID.
Props salcode.
See #40519.
No action taken yet
git: 81c39e9
svn: r48657
75 of 4570
Author
Mike Schroder <[email protected]> 2020-07-28 08:07:04 +0000
Upgrade/Install: Improve `wp_opcache_invalidate()` performance.
Changes from using `preg_match()` based `.php` extension checking to using `substr()` in `wp_opcache_invalidate()`.

Props jnylen0, aaroncampbell, SergeyBiryukov, desrosj, mikeschroder.
Fixes #50784.
No action taken yet
git: b29101a
svn: r48656
76 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-28 04:08:56 +0000
REST API: Remove assets field from block directory controller.
Gutenberg no longer uses the assets field to fetch the assets for the installed block so this field can be dropped from the endpoint. This allows us to reintroduce it at a later point without needing to worry about backward compatibility.

See #50732.
No action taken yet
git: 5bb5053
svn: r48655
77 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-28 02:19:17 +0000
Site Health: Incorrect file path in `require_once`.
Ensure that background updater can be loaded for testing to see if auto-updates can enable automatic updates.

Fixes #50793.
Props dd32.
No action taken yet
git: 6f79ff4
svn: r48654
78 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 01:00:40 +0000
Themes: Display a message in theme updates list if an update requires a higher version of PHP or WordPress.
This applies to the WordPress Updates screen.

Props afragen, SergeyBiryukov.
Fixes #48491.
No action taken yet
git: d29535c
svn: r48653
79 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 00:41:56 +0000
Themes: Correct the logic for displaying a message in theme grid if a theme update requires a higher version of PHP or WordPress.
This applies to the Themes screen fallback used when JS is turned off.

Follow-up to [48652].

See #48491.
No action taken yet
git: 7ea44b5
svn: r48652
80 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 00:08:00 +0000
Themes: Display a message in theme grid and Theme Details modal if a theme update requires a higher version of PHP or WordPress.
This applies to the Themes screen and the Customizer theme browser.

Props afragen, SergeyBiryukov.
See #48491.
No action taken yet
git: 72dfc46
svn: r48651
81 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-28 00:05:59 +0000
Docs: Correct alignment for some parameters in JS documentation.
Follow-up to [48650].

See #43828.
No action taken yet
git: 9ed92fa
svn: r48650
82 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-27 23:33:51 +0000
Build/Test Tools: Enable JSDocs to be linted with ESLint.
As part of the [Javascript Inline Docs Initiative](https://make.wordpress.org/core/handbook/docs/inline/js/) this add some tooling to lint Javascript docblocks. Two new commands:

* `npm run lint:jsdoc`
* `npm run lint:jsdoc:fix`

The latter will run the linter and try to fix an possible issues automatically.

Fixes #43828.
Props netweb, atimmer, kamataryo, whyisjake.
No action taken yet
git: a1a1173
svn: r48649
83 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 21:47:18 +0000
Docs: Correct description for `wp_filter_content_tags()` per the documentation standards.
DocBlocks should start with a brief, one sentence explanation of the purpose of the function spanning a maximum of two lines.

Follow-up to [48648].

See #44427.
No action taken yet
git: 3e1083a
svn: r48648
84 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-27 21:04:34 +0000
Media: Improve inline docs for `wp_filter_content_tags()`.
Props johnstonphilip.
See #44427.
No action taken yet
git: c230d7a
svn: r48647
85 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-27 20:59:03 +0000
Post WordPress 5.5 Beta 4 version bump.
No action taken yet
git: 9252165
svn: r48646
86 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-27 20:38:25 +0000
WordPress 5.5 Beta 4.
No action taken yet
git: 8c9b33c
svn: r48645
87 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-27 20:17:36 +0000
Mail: PHPMailer swap to use is_email for the default validator.
Prior to the PHPMailer update in 5.5, old version of the PHPMailer was setting the validator to 'auto' resulting in a sophisticated logic for determining what email address validation should be used. But the new version defaults to 'php', possibly leading to rejection of email addresses which were fine prior to the upgrade. Let's use the WordPress core function `is_email()` so that it can be fully pluggable.

Fixes #50720.
Props david.binda, ayeshrajans, Synchro, SergeyBiryukov, whyisjake.
No action taken yet
git: e03be98
svn: r48644
88 of 4570
Author
Riad Benguella <[email protected]> 2020-07-27 20:08:53 +0000
Block Editor: Updated WordPress Packages for 5.5 beta 4
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]
 - @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]

Fixes #50791.
No action taken yet
git: f660784
svn: r48643
89 of 4570
Author
Riad Benguella <[email protected]> 2020-07-27 19:15:55 +0000
Administration: Fix the red links on the Media Modal.
The custom link colors for admin scheme colors were overriding the danger color.

Props kebbet, dlh.
Fixes #50547.
No action taken yet
git: 5149a7e
svn: r48642
90 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-27 18:44:14 +0000
REST API: Fix warning when using `set_param()` on a JSON request with no body.
In [47559] the `WP_REST_Request::set_param()` method was adjusted to try and overwrite an existing parameter definition before forcing the value in the first parameter slot. If `set_param()` was called on a request with an `application/json` content type and an empty body, a PHP warning would be issued. This was due to the JSON parameter type not being set to an array when the body is empty.

This commit avoids the warning by adding an `is_array()` check before calling `array_key_exists`. Ideally, `WP_REST_Reuest::parse_json_params()` would set the JSON parameter type to an empty array in this case, but that is too large of a change at this point in the cycle.

Props manooweb.
Fixes #50786.
No action taken yet
git: beba4bb
svn: r48641
91 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-27 18:29:43 +0000
REST API: Install plugin translations after the plugin install. This only installs for the plugin in question, not all plugins.
Support for retrieving the langauge pack alongside the install API request was added in https://meta.trac.wordpress.org/changeset/10091 to avoid having to make a plugin update check during the REST API check.

Fixes #50732.
Props dd32, ocean90, ryelle, swissspidy, tellyworth, whyisjake, TimothyBlynJacobs.
No action taken yet
git: 598a5a5
svn: r48640
92 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 15:19:09 +0000
Themes: Display a message in theme grid if a theme requires a higher version of PHP or WordPress.
This applies to the Themes screen fallback used when JS is turned off.

Props afragen, desrosj, SergeyBiryukov.
See #48491.
No action taken yet
git: 6475d32
svn: r48639
93 of 4570
Author
Riad Benguella <[email protected]> 2020-07-27 15:12:13 +0000
Block Editor: Update the Core Block Patterns.
Backport the latest block patterns from the Gutenberg plugin.
The new patterns adapt properly to Core themes.

Props nrqsnchz.
Fixes #50550, #50594.
No action taken yet
git: 782454b
svn: r48638
94 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 15:02:19 +0000
Themes: Display a message in theme grid if a theme requires a higher version of PHP or WordPress.
This applies to the Themes screen, Add Themes screen, and the Customizer theme browser.

Props afragen, desrosj, SergeyBiryukov.
See #48491.
No action taken yet
git: 332ce58
svn: r48637
95 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 14:24:19 +0000
Themes: Display a message in Details & Preview modal on Add Themes screen if a theme requires a higher version of PHP or WordPress.
Props afragen, desrosj, SergeyBiryukov.
See #48491.
No action taken yet
git: 3b0b11a
svn: r48636
96 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 13:10:04 +0000
Themes: Display a message in Theme Details modal if a theme requires a higher version of PHP or WordPress.
Props afragen, desrosj, SergeyBiryukov.
See #48491.
No action taken yet
git: 38cf369
svn: r48635
97 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 11:36:27 +0000
Posts, Post Types: Pass correct variable to the `get_lastpostdate` filter.
Follow-up to [48634].

See #49572.
No action taken yet
git: 382834e
svn: r48634
98 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 11:15:44 +0000
Docs: Synchronize documentation for `get_lastpostdate()` and `get_lastpostmodified()`.
See #49572.
No action taken yet
git: fc62131
svn: r48633
99 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 11:15:04 +0000
Tests: Add more fixtures to `get_lastpostdate()` and `get_lastpostmodified()` tests.
Follow-up to [48631].

Props munyagu.
See #47777.
No action taken yet
git: 838f988
svn: r48632
100 of 4570
Author
Mike Schroder <[email protected]> 2020-07-27 09:06:58 +0000
Docs: Correct `wp_opcache_invalidate_file` filter docs.
Changes incorrectly named `$filename` variable to `$filepath` and adjusts wording to align with PHP docs.

See #36455.
No action taken yet
git: 581deff
svn: r48631
101 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-27 02:16:46 +0000
Posts, Post Types: Pass the post type to `get_lastpostdate()` in `get_lastpostmodified()`.
This ensures that the correct values are being compared when retrieving the result for custom post types.

Additionally, pass the `$post_type` parameter to `get_lastpostdate` and `get_lastpostmodified` filters.

Props mikaumoto, munyagu, donmhico, johnbillion, SergeyBiryukov.
Fixes #47777.
No action taken yet
git: a1c40b3
svn: r48630
102 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 22:43:47 +0000
Docs: Improve documentation for `WP_Http::processHeaders()`.
Document the `@return` value using hash notation.

Props marekdedic, valchovski, davidbaumwald, deepaklalwani, thimalw, SergeyBiryukov.
Fixes #48350.
No action taken yet
git: 10563ae
svn: r48629
103 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 22:15:20 +0000
Docs: Add a note that the `$args` parameter of `register_block_type()` accepts any public property of `WP_Block_Type`.
Follow-up to [47754].

Props ediamin.
See #48640.
No action taken yet
git: 01d5894
svn: r48628
104 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 21:52:41 +0000
REST API: Use a consistent description for the `textdomain` schema property between plugins and themes controllers.
Follow-up to [48242], [48627].

Props audrasjb.
Fixes #50776. See #50321.
No action taken yet
git: 40dd42c
svn: r48627
105 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 21:47:56 +0000
REST API: Use a consistent name for the `textdomain` schema property between plugins, themes, and block directory controllers.
Follow-up to [48242].

See #50321, #50776.
No action taken yet
git: dbb88ef
svn: r48626
106 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 21:40:43 +0000
Docs: Correct `@since` version for `WP_REST_Plugins_Controller::get_item_schema()`.
Follow-up to [48242].

See #50321.
No action taken yet
git: 0dd00ba
svn: r48625
107 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 21:24:00 +0000
Revisions: Ensure the global `$post` remains the same after revision is restored.
Because `wp_insert_post()` and `wp_transition_post_status()` are called during the process, plugins can unexpectedly modify `$post`.

Props markparnell, tofandel, archon810, SergeyBiryukov.
Fixes #46671.
No action taken yet
git: 5c064bb
svn: r48624
108 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 20:41:13 +0000
Docs: Synchronize some comments in `wp-admin/revision.php`.
See #49572.
No action taken yet
git: 565de17
svn: r48623
109 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 17:16:32 +0000
Docs: Improve documentation for various category functions.
Props atachibana.
Fixes #48394.
No action taken yet
git: 5ca5435
svn: r48622
110 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 16:05:39 +0000
Coding Standards: Rename the `$id` parameter in various category functions for clarity.
See #49542.
No action taken yet
git: 6fa3286
svn: r48621
111 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 14:06:03 +0000
Pings/Trackbacks: Avoid a PHP notice in `do_enclose()` when encountering a URL without a path in post content.
Props jbouganim, mukesh27, Otto42, SergeyBiryukov.
Fixes #49872.
No action taken yet
git: 5006831
svn: r48620
112 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 10:49:07 +0000
Posts, Post Types: Move `get_post_states()` back to the admin for now, require the file in `WP_Customize_Nav_Menus::customize_register()` instead.
This provides a minor performance improvement by only running the function in contexts where it's needed.

Follow-up to [47211], [47213], [47763], [48619].

See #46829, #49374.
No action taken yet
git: 9950b36
svn: r48619
113 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-26 01:12:51 +0000
Posts, Post Types: Make `get_post_states()` available on frontend.
This allows special pages to be denoted as such when editing a menu in the Customizer.

This applies to the Front Page, Posts Page, and Privacy Policy Page.

Follow-up to [47211], [47213], [47763].

Props dlh, whyisjake, SergeyBiryukov.
Fixes #46829. See #49374.
No action taken yet
git: 1175600
svn: r48618
114 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 21:30:32 +0000
I18N: Merge duplicate "List view" and "Grid view" strings.
Props ramiy.
Fixes #50757.
No action taken yet
git: f6b24a0
svn: r48617
115 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 19:38:34 +0000
Docs: Add a reference to `WP_Customize_Partial::__construct()` for information on accepted arguments in `WP_Customize_Selective_Refresh::add_partial()`.
Synchronize the documentation between two places, use `WP_Customize_Partial::__construct()` as the canonical source.

Props marekdedic.
See #49572.
No action taken yet
git: 4acb5a7
svn: r48616
116 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 19:12:15 +0000
Docs: Correct `@see` references for privacy hooks:
* `wp_privacy_personal_data_export_page`
* `wp_privacy_personal_data_erasure_page`

Hooks should be single-quoted when referenced.

Props pbiron, coffee2code.
See #49572, #meta5318.
No action taken yet
git: fd68c17
svn: r48615
117 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 18:53:29 +0000
Docs: Correct `@since` tags for some `WP_List_Table` hooks:
* `views_{$this->screen->id}`
* `bulk_actions-{$this->screen->id}`
* `manage_{$this->screen->id}_sortable_columns`

Follow-up to [15491], [15578], [26401].

See #49572.
No action taken yet
git: c6e0b57
svn: r48614
118 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 18:11:20 +0000
Docs: Remove outdated statement in `bulk_actions-{$this->screen->id}` filter description.
As of WordPress 4.7, developers can register their own bulk actions on list table screens.

Follow-up to [17297], [38647].

Props joyously, pbiron.
See #49572.
No action taken yet
git: 9fadf9f
svn: r48613
119 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 16:39:59 +0000
I18N: Remove `<code>` tags in an error message in `WP_REST_Posts_Controller::get_item_schema()` for consistency with other strings.
Follow-up to [48610].

See #50759.
No action taken yet
git: 160b99b
svn: r48612
120 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 16:37:34 +0000
I18N: Remove `<code>` tags in `invalid_rest_prepare_callback` error message in `register_theme_feature()` for consistency with other strings.
Follow-up to [48611].

See #50758.
No action taken yet
git: 34872f1
svn: r48611
121 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 16:29:29 +0000
I18N: Move code out of a translatable string in `register_theme_feature()`.
Props ramiy.
Fixes #50758.
No action taken yet
git: 5edc4e9
svn: r48610
122 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 16:26:44 +0000
I18N: Move code out of a translatable string in `WP_REST_Posts_Controller::get_item_schema()`.
Props ramiy.
Fixes #50759.
No action taken yet
git: 56c30a4
svn: r48609
123 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 15:59:01 +0000
I18N: Move code out of a translatable string in `WP_Customize_Manager::customize_preview_init()`.
Props ramiy.
Fixes #50760.
No action taken yet
git: 8310c5e
svn: r48608
124 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 15:36:07 +0000
Site Health: Escape the displayed result of the request in REST API availability test.
Props siliconforks, gisselfeldt.
Fixes #50588.
No action taken yet
git: 093147e
svn: r48607
125 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 15:24:21 +0000
I18N: Respect the passed `text_direction` argument in `wp_die()`.
Previously, the passed value was only used as a fallback if `get_language_attributes()` is not yet available.

Props apedog.
Fixes #49060.
No action taken yet
git: c8bb1f5
svn: r48606
126 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-25 12:29:13 +0000
Docs: Improve description for `wp_unique_filename()`.
Props stevenlinx.
Fixes #50762.
No action taken yet
git: 3127db3
svn: r48605
127 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 18:30:55 +0000
Bundled Themes: Rebuild Twenty Nineteen’s RTL stylesheet.
This adds the changes from [48073] to the `style-rtl.css` file.

Previously committed in [48514], accidentally reverted in [48602].

See #45912, #49843.
No action taken yet
git: 674e7a2
svn: r48604
128 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 18:17:49 +0000
Tests: Update `wp_unique_filename()` unit tests to account for `sanitize_file_name()` removing accents.
Follow-up to [48603].

See #22363.
No action taken yet
git: c7783dc
svn: r48603
129 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 18:01:48 +0000
Media: Remove accents in `sanitize_file_name()`.
This brings some consistency with `sanitize_title()` and `sanitize_user()`.

Props tar.gz, NumidWasNotAvailable, juliobox, p_enrique, cristovaov, zodiac1978, mikeschroder, markoheijnen, chriscct7, swissspidy, DrProtocols, pento, gitlost, joemcgill, dustinbolton, programmin, Vayu, MaximeCulea, lucasbustamante, nilovelez, RavanH, audrasjb, SergeyBiryukov.
See #22363.
No action taken yet
git: 2f98829
svn: r48602
130 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-24 17:46:20 +0000
Bundled Theme: Ensure parity between the block editor and the front-end in twentynineteen.
Alignments and blocks were not always appearing as they should in the admin.

- Wide alignments sometimes appear only as wide as the text column.
- Full and wide appear centered on the text column
- Full-width blocks sometimes do not take up the full width of the page, and other times they cause a horizontal scroll.
- Wide and full group block children take up the full width of the block by default.

Fixes #49843.
Props kjellr, Joen, poena.
No action taken yet
git: 7504898
svn: r48601
131 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-24 17:38:27 +0000
Mail: Ensure that a server hostname can be set by using `network_home_url()`.
Due to the varying server setups, `$_SERVER['SERVER_NAME'];` can't reliably ensure that there will be a relevant host that could be used as the hostname in an email. Since the `network_home_url()` is set at this point, and is filterable, this should better enable emails to be sent from the server.

Fixes #25239.
Props layotte, SergeyBiryukov, nacin, sreedoap, szepe.viktor, jesin, kitchin, mensmaximus, mt8.biz, Grzegorz.Janoszka, cbutlerjr, dd32, BjornW, neodjandre, BjornW, Ipstenu, ocean90, danielbachhuber, desmith, joemcgill, jdgrimes, riasat, derekakelly, swissspidy, lilmike, tsimmons, robert.peake, DavidAnderson, cloudstek, pigdog234, BjornW, rawrly, pessoft, RedSand, seayou, dvershinin, bastho, chesio, Starbuck, afragen, ocean90, whyisjake.
No action taken yet
git: 9bd4234
svn: r48600
132 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 12:17:54 +0000
Docs: Correct documentation for `wp_insert_term()`.
The function is used for adding a new term, not updating an existing one.

Props audrasjb, bmartinent.
Fixes #50753.
No action taken yet
git: fc1e77f
svn: r48599
133 of 4570
Author
Sergey Biryukov <serge[email protected]> 2020-07-24 12:02:47 +0000
Docs: Correct some documentation for `wp_update_term()`.
See #49572.
No action taken yet
git: 6b24e35
svn: r48598
134 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 01:19:03 +0000
Docs: Add a mention of `core-block-patterns` as a possible value for `add_theme_support()`.
Follow-up to [48492].

See #50669.
No action taken yet
git: 53657ff
svn: r48597
135 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 01:09:07 +0000
Docs: Improve documentation for `wp_list_comments()`.
Note that passing `div` to the `style` parameter will result in no additional list markup.

Props liuhaibin, jeremyfelt, functionalrhyme.
Fixes #49181.
No action taken yet
git: 3ebdc35
svn: r48596
136 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 00:57:26 +0000
Media: Filter out a few more special characters in `sanitize_file_name()`.
Props audrasjb.
Fixes #50231.
No action taken yet
git: 1191967
svn: r48595
137 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 00:25:47 +0000
Administration: Use sentence case for "Mark as spam" bulk action links for sites and users, for consistency with comments.
Follow-up to [48352].

See #40244.
No action taken yet
git: ce05bc1
svn: r48594
138 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 00:19:37 +0000
Administration: Capitalize `Trash` consistently in various messages.
When used as a noun referring to the "virtual" place, `Trash` should be capitalized.

Follow-up to [47233], [48352].

See #45317, #40244.
No action taken yet
git: f2d9819
svn: r48593
139 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-24 00:01:32 +0000
Formatting: Filter out the bullet character in `sanitize_title_with_dashes()`.
Props roytanck, deepaklalwani, veromary.
Fixes #49791.
No action taken yet
git: 1ef40b1
svn: r48592
140 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 23:26:50 +0000
Build/Test Tools: Check if all the required constants are defined before running the test suite.
Follow-up to [47904].

Props azaozz, TimothyBlynJacobs, SergeyBiryukov.
Fixes #50251.
No action taken yet
git: b932c54
svn: r48591
141 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 21:53:43 +0000
Docs: Miscellaneous DocBlock corrections.
See #49572.
No action taken yet
git: 81a12a7
svn: r48590
142 of 4570
Author
John Blackbourn <[email protected]> 2020-07-23 21:09:04 +0000
Docs: Another pass at some inline docs fixes mostly made by PHPCBF.
See #49572, #50744
No action taken yet
git: 1120269
svn: r48589
143 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 21:06:26 +0000
I18N: Further adjust some update/install strings for consistency.
Follow-up to [48568], [48569].

See #50708, #50714.
No action taken yet
git: 098fc4b
svn: r48588
144 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 20:19:20 +0000
I18N: Merge two "Return to top" strings.
Props ramiy, carike, whyisjake.
Fixes #50743.
No action taken yet
git: 6e94ee6
svn: r48587
145 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 20:11:07 +0000
Site Health: Correct the quotes for the `tested` value of mock plugin data in auto-updates test.
Follow-up to [48584].

See #50662.
No action taken yet
git: 285fa03
svn: r48586
146 of 4570
Author
John Blackbourn <[email protected]> 2020-07-23 19:59:16 +0000
Docs: First pass at some inline docs fixes mostly made by PHPCBF.
See #49572, #50744
No action taken yet
git: b604663
svn: r48585
147 of 4570
Author
John Blackbourn <[email protected]> 2020-07-23 19:04:38 +0000
Docs: Use more appropriate variable names in the inline docs for action and filter parameters.
See #49572
No action taken yet
git: c0d3d76
svn: r48584
148 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-23 19:01:24 +0000
Site Health: Pass all expected parameters to `auto_update_{$type}`.
This prevents fatal errors when other hooked functions are expecting both parameters. 

Props dd32, desrosj, audrasjb, pbiron.
Fixes #50662.
No action taken yet
git: 7ddd0a5
svn: r48583
149 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 18:53:25 +0000
I18N: Update "Default Template" string to match the sentence case used in the block editor.
Props ramiy.
Fixes #50742.
No action taken yet
git: 7d50110
svn: r48582
150 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-23 18:41:41 +0000
General: Ensure the database upgrades from [48575] are run.
This corrects the database version to match the commit number the upgrade changes were made.

See #50413.
No action taken yet
git: b554928
svn: r48581
151 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 18:21:13 +0000
Tests: Update the `es_ES` string used in `wp_send_user_request()` tests to match the current translation.
Props a2hosting.
Fixes #50741.
No action taken yet
git: 6c17894
svn: r48580
152 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 13:48:37 +0000
Docs: Add missing description for `wp_convert_widget_settings()` parameters.
Props stevenlinx.
Fixes #50738.
No action taken yet
git: a3427e3
svn: r48579
153 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 13:32:34 +0000
Coding Standards: Use a consistent naming pattern for variables in `wp-includes/comment-template.php`.
See #49542.
No action taken yet
git: 8dc4165
svn: r48578
154 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 13:10:40 +0000
I18N: Add context to privacy request status strings.
These strings already have a context in `create_initial_post_types()`, and should use the same context in `_wp_privacy_statuses()`.

Props ramiy, audrasjb.
Fixes #50740.
No action taken yet
git: c092076
svn: r48577
155 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-23 13:09:50 +0000
Docs: Improve description for `comment_id_fields()`.
Rename the `$id` parameter to `$post_id` for clarity.

Props stevenlinx.
Fixes #50737.
No action taken yet
git: 7d4c775
svn: r48576
156 of 4570
Author
John Blackbourn <[email protected]> 2020-07-23 07:37:57 +0000
Docs: Further corrections and improvements to various inline docblocks.
See #49572
No action taken yet
git: cefe2c7
svn: r48575
157 of 4570
Author
Aaron Jorbin <[email protected]> 2020-07-23 03:12:49 +0000
General: Update code for readability and inclusion
There are two pieces in here:

1) The update to change blacklist to blocklist is moved to disallowed_list. "Block" has a meaning in our code, and there could be ambiguity between this code and code related to blocks.

2) This improves backwards compatibility for code that was accessing the now deprecated code.

Previously: [48477], [48405], [48400], [48121], [48122], [48124], [48142], [48566]

Props: desrosj, SergeyBiryukov, johnjamesjacoby
Fixes: #50413
No action taken yet
git: 5e35ad2
svn: r48574
158 of 4570
Author
John Blackbourn <[email protected]> 2020-07-23 00:50:57 +0000
Docs: Various formatting improvements to inline docblocks.
See #49572
No action taken yet
git: 4b2abac
svn: r48573
159 of 4570
Author
John Blackbourn <[email protected]> 2020-07-23 00:46:56 +0000
Docs: Various corrections to inline docblocks.
See #49572
No action taken yet
git: 447d25f
svn: r48572
160 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-23 00:42:48 +0000
Media: Add "loading" as an allowed kses image attribute
With loading="lazy" being added to all images in [47554], let's ensure that it passes kses attributes too.

Fixes #50731.
Props TimothyBlynJacobs, peterwilsoncc, azaozz.
No action taken yet
git: e306fca
svn: r48571
161 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-22 22:29:23 +0000
REST API: Remove textdomain from doing it wrong message.
See #50075.
Props dlh.
No action taken yet
git: 99736ae
svn: r48570
162 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-22 22:19:25 +0000
i18n: Merge similar translation strings in wp-admin/options.php
WARNING! is now Warning:

You have been warned.

Fixes #50715.
Props: ramiy, audrasjb, ocean90.
No action taken yet
git: f976a73
svn: r48569
163 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-22 22:08:25 +0000
i18n: Merge similar translation strings to "Update failed".
Fixes #50714.
Props ramiy, ocean90.
No action taken yet
git: 2c617a4
svn: r48568
164 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-22 21:57:19 +0000
I18N: Merge similar "Installation failed" strings
Fixes #50708.

Props ramiy, ocean90, audrasjb.
No action taken yet
git: 00f4e4f
svn: r48567
165 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-22 21:53:22 +0000
I18N: Update some strings to have periods.
Fixes #50707.
Props ramiy, afercia, audrasjb.
No action taken yet
git: 857d345
svn: r48566
166 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-22 18:50:30 +0000
General: Rename `remove_option_allowed_list()` to `remove_allowed_options()`.
This was missed in [48142] which renamed `add_option_allowed_list()` to `add_allowed_options()` for better readability. The two functions should have consistent names.

See #50413.
No action taken yet
git: d2a1fb9
svn: r48565
167 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 12:54:22 +0000
Upgrade/Install: Don't trigger database upgrade on Ajax requests via `wp-admin/async-upload.php`.
Props schlessera, jgrodel, elrae, davidbaumwald, hareesh-pillai, adamsilverstein, SergeyBiryukov.
Fixes #39459.
No action taken yet
git: 60dc387
svn: r48564
168 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 12:17:58 +0000
Accessibility: Themes: Consistently use an underline for "Enable auto-updates" link and theme author link in theme overlay.
Props chetan200891, sabernhardt, afercia.
Fixes #50697.
No action taken yet
git: d6c7a47
svn: r48563
169 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 11:34:32 +0000
Docs: Correct type and improve description for the `$fields` parameter of `WP_Query::parse_query()`.
Props ocean90, palmiak, johannadevos, noisysocks.
Fixes #44305.
No action taken yet
git: e88e84c
svn: r48562
170 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 11:33:51 +0000
Docs: Improve formatting of the `$fields` parameter description in `WP_Term_Query::__construct()`.
See #44305, #49572.
No action taken yet
git: 3d2cd19
svn: r48561
171 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 00:27:36 +0000
Docs: Correct type for the `$theme` parameter of `theme_auto_update_debug_string` filter.
Follow-up to [48546], [48549], [48552].

See #50663.
No action taken yet
git: 712f548
svn: r48560
172 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 00:15:33 +0000
Site Health: Fix some typos in the test for plugin and theme auto-updates.
Follow-up to [48548], [48558], [48559].

See #50662.
No action taken yet
git: 874e6af
svn: r48559
173 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 00:13:21 +0000
Site Health: Correct inverted logic for themes in the test for plugin and theme auto-updates.
Follow-up to [48548], [48558].

See #50662.
No action taken yet
git: 8cbd2ca
svn: r48558
174 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-22 00:05:45 +0000
Site Health: Add the test for plugin and theme auto-updates to `WP_Site_Health::get_tests()`.
This ensures that the test actually runs.

Follow-up to [48548].

See #50662.
No action taken yet
git: f840dab
svn: r48557
175 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 23:12:22 +0000
Widgets: Make sure image widgets with custom image size render captions.
Props kasparsd, JavierCasares, audrasjb.
Fixes #50160.
No action taken yet
git: 3da4870
svn: r48556
176 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 21:59:46 +0000
REST API: Use consistent error messages when managing network plugins.
Props ramiy.
Fixes #50729.
No action taken yet
git: df8399d
svn: r48555
177 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-21 21:20:22 +0000
REST API: Optimize rest_filter_response_by_context performance.
In [47758] a new function `rest_filter_response_by_context` was introduced to expand the JSON schema features supported by the context filtering mechanism.

This commit improves the performance of that function by eliminating repetitive comparisons and loops. Additionally, it improves multi-type support for object + array types.

Fixes #50700.
Props dlh.
No action taken yet
git: b11757e
svn: r48554
178 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 21:04:57 +0000
Site Health: Use a consistent label for theme auto-updates in debug data.
Props audrasjb.
Fixes #50728.
No action taken yet
git: 2636208
svn: r48553
179 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 20:13:59 +0000
Sitemaps: Rename `wp_register_sitemap()` to `wp_register_sitemap_provider()`.
Follow-up to [48536], [48540], [48541].

Props pbiron.
Fixes #50724.
No action taken yet
git: 44335fd
svn: r48552
180 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 18:42:24 +0000
Site Health: Simplify the logic for displaying whether auto-updates are enabled for plugins and themes.
Remove some extra variables.

Follow-up to [48546], [48549].

See #50663.
No action taken yet
git: 9875847
svn: r48551
181 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 17:54:05 +0000
WordPress 5.5 Beta 3 version bump.
No action taken yet
git: f3a6fc5
svn: r48550
182 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 17:30:06 +0000
WordPress 5.5 Beta 3.
No action taken yet
git: 6440e85
svn: r48549
183 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 17:06:55 +0000
Site Health: Rename the filters added in [48546] for clarity.
See #50663.
No action taken yet
git: 5e14b1b
svn: r48548
184 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 17:06:00 +0000
Site Health: Add tests to check for potential issues with plugin and theme auto-updates.
Fixes #50662.
Props desrosj, audrasjb.
No action taken yet
git: ffef4da
svn: r48547
185 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 16:52:48 +0000
Media: Pass the attachment ID to the `wp_image_file_matches_image_meta` filter.
Props spacedmonkey.
Fixes #50722.
No action taken yet
git: 11fe34d
svn: r48546
186 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 16:52:47 +0000
Site Health: Add auto-update information to for plugins and themes.
New filters:

* `plugin_auto_update_debug_str`
* `theme_auto_update_debug_str`

Fixes #50663.
Props pbiron, audrasjb, davidbaumwald.
No action taken yet
git: e10083b
svn: r48545
187 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 16:31:06 +0000
I18N: Add context to some theme strings for consistency.
Props ramiy, ocean90.
Fixes #50709.
No action taken yet
git: 0da858f
svn: r48544
188 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 16:18:53 +0000
Site Health: Rename `upload_max` array key in file upload checks to `max_effective_size` for clarity.
Follow-up to [48535].

See #50038.
No action taken yet
git: 7bcdf88
svn: r48543
189 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-21 16:12:49 +0000
Sitemaps: Replace `wp_sitemaps_register_providers` filter with more suitable `wp_sitemaps_add_provider` filter.
The previous filter failed the goal of allowing developers to filter all providers before they are registered, since it only filtered the built-in ones.

The more specific `wp_sitemaps_add_provider` filter enables exactly that, as it filters every sitemap provider right before it is added to the sitemaps registry.

Props pbiron, pfefferle, Chouby, swissspidy.
Fixes #50660.
No action taken yet
git: bea9ce7
svn: r48542
190 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-21 16:08:44 +0000
Administration: Ensure SVG icons in admin menus are correctly colored.
Props ryelle.
Fixes #50555.
No action taken yet
git: 8c7fe17
svn: r48541
191 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 16:04:35 +0000
Sitemaps: Rename `wp_get_sitemaps_providers()` to `wp_get_sitemap_providers()`.
Follow-up to [48536], [48540].

Props pbiron, swissspidy, SergeyBiryukov.
See #50724.
No action taken yet
git: 83b94f5
svn: r48540
192 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-21 15:55:21 +0000
Sitemaps: Rename `wp_get_sitemaps()` to `wp_get_sitemaps_providers()`
Following [48536], rename the function to match the rest of the sitemaps logic.

Also eliminates some dead code after [48523].

Props pbiron.
See #50724. See #50643.
No action taken yet
git: 3269e83
svn: r48539
193 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 15:51:22 +0000
Site Health: Move `post_max_size` and `upload_max_filesize` out of a translatable string in file upload checks.
Simplify some other strings, use a consistent format for translator comments.

Follow-up to [48535].

See #50038.
No action taken yet
git: 0d956d4
svn: r48538
194 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 15:38:40 +0000
Site Health: Remove `parse_ini_size()`, use the existing `wp_convert_hr_to_bytes()` function instead.
Follow-up to [48535].

See #50038.
No action taken yet
git: 09754a7
svn: r48537
195 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-21 15:36:17 +0000
Editor: Ensure the required assets for the block directory are enqueued.
This fixes an issue where the block directory appears unstyled due to the stylesheets not being enqueued.

Props ryelle, timothyblynjacobs, earnjam.
Fixes #50661.
No action taken yet
git: 383540b
svn: r48536
196 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 15:27:48 +0000
Sitemaps: Rename 'sitemap' to 'provider' in `WP_Sitemaps_Registry` class.
This class is for registering sitemap providers, not individual sitemaps.

Props swissspidy.
Fixes #50724.
No action taken yet
git: 5ffe591
svn: r48535
197 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 15:19:58 +0000
Site Health: Include new tests to check for the ability to upload files.
Several new checks:

* `max_file_uploads`
* `file_uploads`
* `post_max_size`
* `upload_max_filesize`
* `upload_max`
* `max_file_uploads`

In addition, new function `parse_ini_size()` that converts shorthand byte strings to bytes. Useful for size comparisons.

Fixes #50038.
Props dd32, donmhico, JavierCasares, SergeyBiryukov, ayeshrajans, Clorith, ipstenu, sabernhardt, whyisjake.
No action taken yet
git: 3ef1fa5
svn: r48534
198 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 14:40:43 +0000
Site Health: Use consistent error messages when switching plugin or theme auto-updates on or off.
Props ramiy.
Fixes #50721.
No action taken yet
git: cfb25b2
svn: r48533
199 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 14:35:13 +0000
Block Editor: Move the `add_action()` call for `_register_core_block_patterns_and_categories()` above `check_theme_switched()`.
Follow-up to [48492], [48531].

See #50669.
No action taken yet
git: 38cade3
svn: r48532
200 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-21 13:55:45 +0000
Sitemaps: Correctly enforce maximum number of sitemaps in index.
Before this change, the limit of 50k entries was enforced for the number of providers, not the amount of sitemaps all providers add to the index in total.

Props pbiron, swissspidy.
Fixes #50666.
No action taken yet
git: fd9f723
svn: r48531
201 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 13:13:54 +0000
Block Editor: Move the `add_action()` call for `_register_core_block_patterns_and_categories()` to `wp-includes/default-filters.php`.
Follow-up to [48492].

Props desrosj.
Fixes #50669.
No action taken yet
git: 99f5b60
svn: r48530
202 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 12:56:40 +0000
Mail: Make sure the `PHPMailer` class is only required once if a plugin requires `wp-includes/class-phpmailer.php` directly.
Follow-up to [48033].

Props david.binda.
Fixes #50716. See #41750.
No action taken yet
git: ea352ee
svn: r48529
203 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-21 12:47:58 +0000
Docs: Improve description for `edit_post()`.
Props stevenlinx.
Fixes #50713.
No action taken yet
git: 0f86642
svn: r48528
204 of 4570
Author
Sergey Biryukov <[email protected]dpress.org> 2020-07-21 12:35:32 +0000
Site Health: Correct the message for snoozed email verifications.
Follow-up to [48522].

Fixes #48333.
No action taken yet
git: 69ec426
svn: r48527
205 of 4570
Author
Ella van Durpe <[email protected]> 2020-07-21 12:12:43 +0000
Editor: update packages for Beta 3
Fixes #50712.
No action taken yet
git: 74cc64d
svn: r48526
206 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-21 12:01:10 +0000
REST API: Issue a _doing_it_wrong when registering a route without a permission callback.
The REST API treats routes without a permission_callback as public. Because this happens without any warning to the user, if the permission callback is unintentionally omitted or misspelled, the endpoint can end up being available to the public. Such a scenario has happened multiple times in the wild, and the results can be catostrophic when it occurs.

For REST API routes that are intended to be public, it is recommended to set the permission callback to the `__return_true` built in function.

Fixes #50075.
Props rmccue, sorenbronsted, whyisjake, SergeyBiryukov, TimothyBlynJacobs.
No action taken yet
git: fcc5243
svn: r48525
207 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-21 02:59:00 +0000
REST API, Media: Add `X-WP-Upload-Attachment-ID` HTTP header to enable retrying of post-processing of edited images if the server runs out of resources. This is the same as after uploading a new image, will do up to five additional requests to let the server create all image sub-sizes.
Fixes #50711.
No action taken yet
git: 2daa951
svn: r48524
208 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-21 01:36:16 +0000
REST API: Make plugin installation tests more robust on alternate test environments.
The REST API plugin installation tests use the `upgrader_pre_download` filter to avoid downloading the test plugin from WordPress.org. Previously, this would apply to any upgrader, which caused issues if the testing environment required a language update.

Now, the filter only overwrites the file if the `Plugin_Upgrader` is being used which should hopefully prevent the issue.

Props pfefferle, TimothyBlynJacobs.
Fixes #50671.
No action taken yet
git: 60d339c
svn: r48523
209 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 00:55:20 +0000
Sitemaps: Ensure correct HTTP status when sitemaps are disabled
If sitemaps are disabled, previously there would be a rewrite rule for the sitemap endpoint. This endpoint would display the homepage since there was a rewrite rule. Now, Sitemaps are loaded, and the proper HTTP headers are returned.

Fixes #50643.
Props swissspidy, kraftbj, donmhico.
No action taken yet
git: bd67e31
svn: r48522
210 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 00:41:35 +0000
Site Health: Ensure that there is a human readable time for snoozed email verifications.
This will be the time the was proposed, added to the reminder interval.

Fixes #48333.
Props SergeyBiryukov, desrosj.
No action taken yet
git: 4ba6020
svn: r48521
211 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-21 00:27:46 +0000
Comments: Don't show the filter/pagination actions if there are no comments to list.
It doesn't make sense to be able to filter the comments list table when there are are no (trashed/spam) comments available.

Fixes #40188.
Props swissspidy, Jim_Panse, menakas, akbarhusen429, dinhtungdu, birgire, SergeyBiryukov, davidbaumwald, rebasaurus, whyisjake.
No action taken yet
git: 5674e7e
svn: r48520
212 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-20 23:12:33 +0000
I18N: Add context to some plugin and theme strings for consistency.
Props ramiy, audrasjb.
Fixes #50710.
No action taken yet
git: 364759e
svn: r48519
213 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-20 21:23:26 +0000
I18N: Mark the strings with plugin and theme names in email notifications for translation.
Follow-up to [48517].

See #50350.
No action taken yet
git: 8406d51
svn: r48518
214 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-20 21:02:13 +0000
REST API, Media: Fix/improve the inline docs and name of the new `wp_edited_image_metadata` filter.
Props desrosj, azaozz.

See #44405.
No action taken yet
git: 83e78d8
svn: r48517
215 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-20 18:26:18 +0000
Administration: Include the new plugin and theme versions in email notifications.
This helps administrators keep track of which versions of plugins and themes are running on their site when auto-updates occur.

Props audrasjb, pbiron.
Fixes #50350.
No action taken yet
git: fa7b1bb
svn: r48516
216 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-20 15:47:37 +0000
Tests: Simplify some assertions in `phpunit/tests/media.php`.
Correct comments per the documentation standards.

Follow-up to [48496].

See #22101.
No action taken yet
git: e80b4f6
svn: r48515
217 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-20 13:39:34 +0000
Build/Test Tools: Update NPM packages in Twenty Nineteen.
This updates three packages:
- `@wordpress/browserslist-config` from `2.5.0` to `2.7.0`
- `autoprefixer` from `9.6.0` to `9.8.5`.
- `chokidar-cli` from `2.0.0` to `2.1.0`

See #49768.
No action taken yet
git: 167a876
svn: r48514
218 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-20 13:27:58 +0000
Bundled Themes: Rebuild Twenty Nineteen’s RTL stylesheet.
This adds the changes from [48073] to the `style-rtl.css` file.

See #45912.
No action taken yet
git: b98a607
svn: r48513
219 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-20 13:12:22 +0000
Embeds: Correct the version number when Hulu was deprecated.
Follow up of [48512]
See #50676.
No action taken yet
git: 0713ca1
svn: r48512
220 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-20 13:10:36 +0000
Embeds: Remove Hulu from the list of supported oEmbed providers.
The oEmbed service for Hulu no longer works and appears to have been silently disabled.

Props tacitonic, talldanwp, youknowriad, bph.
Fixes #50676.
No action taken yet
git: 0c19e1a
svn: r48511
221 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-20 11:52:59 +0000
Docs: Improve description for `add_user_to_blog()`.
Props stevenlinx.
Fixes #50701.
No action taken yet
git: 030f2a4
svn: r48510
222 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-19 21:17:55 +0000
Media: Migrate the data from the attachment post of the parent image when saving an edited image. Copy:
- `post_title`,
- `post_content` (image description),
- `post_excerpt` (image caption as saved in the DB),
- `_wp_attachment_image_alt` meta (alt text for the img tag as saved in the DB).

Props spacedmonkey, joedolson, TimothyBlynJacobs, azaozz.
Fixes #50675.
No action taken yet
git: b39df46
svn: r48509
223 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-19 17:09:43 +0000
Upgrade/install: Fix/clarify the "Upload in a zip format" string.
Props greenshady, mariovalney.
See #9757.
No action taken yet
git: d10a86a
svn: r48508
224 of 4570
Author
John Blackbourn <[email protected]> 2020-07-18 22:09:57 +0000
Docs: Miscellaneous docblock corrections.
See #49572
No action taken yet
git: 9331f7a
svn: r48507
225 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-18 11:37:59 +0000
Coding Standards: Use strict comparison in `wp-includes/wp-db.php`.
Props jenilk.
Fixes #49453.
No action taken yet
git: d54b8f7
svn: r48506
226 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-17 17:09:37 +0000
Administration: Reverse the arrow direction for database import/export icons.
In [48456], database import and export icons were introduced. However, the arrows were pointing in the wrong directions. This reverses the arrows to be pointing correctly based on the action described in the name.

Props johnbillion, joen, desrosj, empireoflight.
Fixes #49913.
No action taken yet
git: 3b5d373
svn: r48505
227 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-17 15:14:00 +0000
Options, Meta APIs: Reorder the parameters of `default_{$meta_type}_metadata` filter.
This brings consistency with the `get_{$meta_type}_metadata` filter and more closely matches the `get_metadata_default()` function signature.

Follow-up to [48502].

Props spacedmonkey.
See #43941.
No action taken yet
git: 2d0e9b1
svn: r48504
228 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-17 13:47:23 +0000
Docs: Correct documentation for the `$meta_key` parameter of `get_metadata_default()`.
The parameter is required, not optional.

Follow-up to [48502].

See #43941.
No action taken yet
git: 1c1a9de
svn: r48503
229 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-17 06:27:09 +0000
Plugins: Update the height of the Install Now button for new plugins.
Due to Thickbox shenanigans, the buttons height needed to be shrunk a little to center properly in the iframe.

Fixes #49828.

Props ibachal, Otto42, afercia.
No action taken yet
git: d525642
svn: r48502
230 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-17 02:57:04 +0000
Meta: Reorder the get_metadata_default() signature to match get_metadata().
The order of parameters in `get_metadata_default()` did not match the signature of `get_metadata()`. This could be confusing for developers who are familiar with the existing metadata API.

Fixes #43941.
Props SergeyBiryukov, spacedmonkey, johnjamesjacoby.
No action taken yet
git: f75522e
svn: r48501
231 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-16 22:22:05 +0000
Build/Test Tools: Bump lodash in twentytwenty as part of a security audit.
lodash: 4.17.15 👉 4.17.19

See #49768.
Props: dependabot.
No action taken yet
git: 162afe2
svn: r48500
232 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-16 22:13:54 +0000
Administration: Fix an index inconsistency in `get_admin_page_title()` function.
Ensure that `get_admin_page_title()` returns a value from pages registered using `add_menu_page()`.

Fixes #46081.

Props grapestain, valentinbora, SergeyBiryukov, audrasjb.
No action taken yet
git: e767133
svn: r48499
233 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-16 22:09:35 +0000
Code Formatting: Fix some formatting around `WP_REST_Attachments_Controller` tests.
See #50565.
No action taken yet
git: 0aab258
svn: r48498
234 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-16 21:54:37 +0000
REST API: Prevent attachment ID/image source mismatch when editing an image.
Fixes #50565.
No action taken yet
git: 082cb0a
svn: r48497
235 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-16 21:42:48 +0000
Posts, Post Types: Ensure that all post stati are countable in `wp_count_posts`.
When `wp_count_posts()` is cached, it does so with all statuses defaulted to 0. The problem is however, if this is called before all plugins have registered their desired statuses, they won't have that default.

Fixes #49685.

Props obliviousharmony, SergeyBiryukov.
No action taken yet
git: ceccb7b
svn: r48496
236 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-16 21:29:05 +0000
Feeds: Ensure that galleries can be output as a list of links in feeds.
Adjusts the gallery shortcode handler to check for the `link` attribute when outputting to a feed.

Fixes #22101.

Props ifrins, mdgl, SergeyBiryukov, chriscct7, stevenkword, iworks, DrewAPicture, birgire, whyisjake.
No action taken yet
git: 0fa4801
svn: r48495
237 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-16 21:10:03 +0000
Coding Standards: Update the docblock to remove superflous `since`.
The `@deprecated` DocBlock tag should start with the version followed by the description of what to use instead.

Fixes #44959.

Props keesiemeijer, sabernhardt.
No action taken yet
git: 5b9b012
svn: r48494
238 of 4570
Author
Riad Benguella <[email protected]> 2020-07-16 14:11:40 +0000
Block Editor: Remove the gutenberg domain name from the block-patterns.php file
Props SergeyBiryukov.
Fixes #50669.
No action taken yet
git: da730fc
svn: r48493
239 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-16 13:17:13 +0000
Upgrade/Install: Check if the theme installer skin's `overwrite` property exists in `Theme_Upgrader::install_strings()`.
This ensures consistency with `Plugin_Upgrader::install_strings()` and resolves an issue caused by the property not existing in other upgrader implementations.

Props schlessera, azaozz.
See #50670.
No action taken yet
git: bd63261
svn: r48492
240 of 4570
Author
Riad Benguella <[email protected]> 2020-07-16 11:48:49 +0000
Block Editor: Add theme support flag to opt-out of Core Block Patterns.
WordPress Core comes by default with a number of block patterns and a frequent request was to be able to opt-out of the Core block patterns. 
You can now opt-out using remove_theme_support( 'core-block-patterns' )

Props desrosj, nosolosw.
Fixes #50669.
No action taken yet
git: b001723
svn: r48491
241 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-15 12:08:32 +0000
Docs: Add return value description for `register_theme_directory()`.
Props stevenlinx.
Fixes #50665.
No action taken yet
git: caefeee
svn: r48490
242 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-15 11:21:23 +0000
Docs: Link to `add_theme_support()` for the list of supported theme features in `current_theme_supports()` and related functions.
Props stevenlinx.
Fixes #50657.
No action taken yet
git: afb1118
svn: r48482
243 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-14 17:39:48 +0000
Post 5.5 Beta 2 version bump.
No action taken yet
git: 8921997
svn: r48481
244 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-14 17:00:11 +0000
WordPress 5.5 Beta 2.
No action taken yet
git: c843cf1
svn: r48480
245 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 16:39:44 +0000
Taxonomy: Make some adjustments to handling default terms for custom taxonomies:
* Move default term assignment from `wp_set_object_terms()` to `wp_insert_post()`.
* Make sure the passed taxonomy list overwrites the existing list if not empty.
* Remove the default term option on `unregister_taxonomy()`.
* Prevent deletion of the default term in `wp_delete_term()`.

Props enrico.sorcinelli, TimothyBlynJacobs.
See #43517.
No action taken yet
git: 9181ecf
svn: r48479
246 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-14 15:44:16 +0000
Accessibility: Security: Improves the accessible audible messages for Plugins & Themes Auto-Updates.
- changes the politeness level of the two error messages introduced in [47835] to `assertive`
- remove unnecessary `polite` parameters as that's the default value

See #50512, #50052.
No action taken yet
git: 74b985f
svn: r48478
247 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 12:39:16 +0000
Docs: Synchronize description for the `$allowed_html` parameter of various KSES functions.
Follow-up to [43016].

Props Christian1012, jdgrimes, markparnell.
Fixes #39542. See #33801.
No action taken yet
git: 7bdff38
svn: r48477
248 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-14 12:31:22 +0000
General: Rename the `$new_whitelist_options` global variable.
This change renames `$new_whitelist_options` to `$new_allowed_options`. This makes the variable’s purpose more clear, and promotes using more inclusive language.

For backwards compatibility, the new variable is passed by reference to the old one.

Follow up to [48121].

Props ayeshrajans, desrosj, jorbin, SergeyBiryukov.
See #50413.
Fixes #50434.
No action taken yet
git: 0ee9100
svn: r48476
249 of 4570
Author
swissspidy <[email protected]> 2020-07-14 12:24:02 +0000
Sitemaps: Ensure entry for ‘page’ post type sitemap in index.
If there are no pages and no static homepage, there will still be one sitemap including the homepage URL.

This change ensures that this sitemap is correctly listed in the sitemap index.

Props Chouby, pacifika, elrae.
Fixes #50571.
No action taken yet
git: 7d5b488
svn: r48475
250 of 4570
Author
John Blackbourn <[email protected]> 2020-07-14 12:08:28 +0000
Docs: Improve docs for arguments that accept a numerically indexed array of associative arrays.
See #49572
No action taken yet
git: efb0b58
svn: r48474
251 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-14 11:54:49 +0000
Sitemaps: Exclude post types and taxonomies that are not publicly queryable.
Props Cybr.
Fixes #50607.
No action taken yet
git: fa9e258
svn: r48473
252 of 4570
Author
John Blackbourn <[email protected]> 2020-07-14 11:54:26 +0000
Docs: Correct and improve inline docs for parameters that accept a callback function.
See #49572
No action taken yet
git: 585f623
svn: r48472
253 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-14 11:52:43 +0000
Sitemaps: Add missing slash when calling `home_url()` for consistency.
Props Chouby.
Fixes #50570.
No action taken yet
git: 649b7aa
svn: r48471
254 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-14 11:43:54 +0000
Sitemaps: Add wrapping `<div>` around sitemap in stylesheet.
This makes it easier to style the sitemap and for example center the entire content area.

Props ramiy.
Fixes #50622.
No action taken yet
git: cf4897f
svn: r48470
255 of 4570
Author
Pascal Birchler <[email protected]> 2020-07-14 11:41:47 +0000
Sitemaps: Pass full paths to `home_url()` calls.
This makes it easier for plugins using the `home_url` filter to detect sitemap URLs.

Props Chouby.
Fixes #50592.
No action taken yet
git: 479a125
svn: r48469
256 of 4570
Author
Ella van Durpe <[email protected]> 2020-07-14 11:36:39 +0000
Editor: update packages for beta 2
Fixes #50651.
No action taken yet
git: 63ad924
svn: r48468
257 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 11:15:28 +0000
Privacy: Set the direction for the "Username or email address" field on privacy screens to LTR.
This is consistent with other email inputs across the admin.

Follow-up to [27743], [42967].

Props man4toman, sushyant.
Fixes #50625.
No action taken yet
git: a128b52
svn: r48467
258 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 11:05:01 +0000
Docs: Improve description for `get_blog_post()`.
Props stevenlinx.
Fixes #50655.
No action taken yet
git: 80fae63
svn: r48466
259 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 01:40:33 +0000
Tests: Ignore EOL differences in some tests using multiline string assertions.
Unix vs. Windows EOL style mismatches can cause misleading failures in tests using the heredoc syntax (`<<<`) or multiline strings as the expected result.

Follow-up to [46612], [48443].

See #31432.
No action taken yet
git: 719dcd2
svn: r48465
260 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-14 01:35:47 +0000
Administration: Attempt to even-out the new Up/Down arrows in metabox headings and make them look a bit better. Also group them a little closer together in an attempt to reduce confusion of having two down arrows next to one another. Move the focus outline to the button instead of only the icon.
Fixes #39074.
No action taken yet
git: 022ebde
svn: r48464
261 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 01:28:17 +0000
Tests: Replace hardcoded `/tmp/` references with `get_temp_dir()`.
This allows more tests to pass on Windows.

Props danielhuesken, DJPaul, christophherr, joemcgill, netweb, davidbaumwald, SergeyBiryukov.
Fixes #40856, #39975.
No action taken yet
git: 0ded98f
svn: r48463
262 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-14 00:32:36 +0000
Tests: Copy themes from `tests/phpunit/data` to `wp-content/themes`, instead of creating a symlink.
This allows the theme file tests in `phpunit/tests/link/themeFile.php` to run on Windows without requiring administrative privileges.

Follow-up to [42812], [42819].

Props danielhuesken, christophherr, davidbaumwald, SergeyBiryukov.
See #40856, #39975.
No action taken yet
git: f36c42c
svn: r48462
263 of 4570
Author
John Blackbourn <[email protected]> 2020-07-13 22:08:16 +0000
Docs: Miscellaneous docblock corrections and improvements.
See #49572
No action taken yet
git: c3cdd9c
svn: r48461
264 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-13 20:13:49 +0000
Customize: Ensure that widgets and nav-menus can be closed after entering content.
Previously, the ⌧ button would close the search panel, or remove the results. This restores that, in addition pressing escape will do the same.

Fixes #48198.

Props garrett-eclipse, tobifjellner, afercia, JavierCasares.
No action taken yet
git: 8136474
svn: r48460
265 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-13 18:01:31 +0000
Accessibility: Improve reordering of the post boxes in the block editor meta boxes area.
Follow-up to [48373].
- ignores hidden "sortables" areas 
- hides the reorder buttons when there's only one post box 
- makes the reorder buttons slightly bigger to match the side of the toggle button

Fixes #39074.
No action taken yet
git: a932bb3
svn: r48459
266 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-13 17:06:57 +0000
Bundled Themes: Add custom color pallettes for block editor.
Gutenberg 7.9 added support for themes to bundle their own custom styles in to the editor. These changes have been added to 2010 - 2016.

See #50120. 

Props kjellr, sabernhardt, ianbelanger.
No action taken yet
git: d8c91ce
svn: r48458
267 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-13 15:18:49 +0000
Tests: Download Chromium for e2e and JS tests only.
This reduces the chance of random failures due to network timeouts and avoids the overhead of unnecessarily downloading ~120 MB for PHP tests.

Follow-up to [47449], [47459], [47867], [48177].

Fixes #50649.
No action taken yet
git: 6cba6fd
svn: r48457
268 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-13 14:40:27 +0000
Docs: Improve description of the `$text` parameter in `cancel_comment_reply_link()`.
Props stevenlinx.
Fixes #50642.
No action taken yet
git: 6cf53ad
svn: r48456
269 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-13 14:24:06 +0000
Administration: Update Dashicons to the latest version.
This update introduces the following new icons:

- `.dashicons-align-pull-left (f10a)`
- `.dashicons-align-pull-right (f10b)`
- `.dashicons-block-default (f12b)`
- `.dashicons-cloud-saved (f137)`
- `.dashicons-cloud-upload (f13b)`
- `.dashicons-columns (f13c)`
- `.dashicons-cover-image (f13d)`
- `.dashicons-embed-audio (f13e)`
- `.dashicons-embed-generic (f13f)`
- `.dashicons-embed-photo (f144)`
- `.dashicons-embed-post (f146)`
- `.dashicons-embed-video (f149)`
- `.dashicons-exit (f14a)`
- `.dashicons-html (f14b)`
- `.dashicons-info-outline (f14c)`
- `.dashicons-insert-after (f14d)`
- `.dashicons-insert-before (f14e)`
- `.dashicons-remove (f14f)`
- `.dashicons-shortcode (f150)`
- `.dashicons-table-col-after (f151)`
- `.dashicons-table-col-before (f152)`
- `.dashicons-table-col-delete (f15a)`
- `.dashicons-table-row-after (f15b)`
- `.dashicons-table-row-before (f15c)`
- `.dashicons-table-row-delete (f15d)`
- `.dashicons-saved (f15e)`
- `.dashicons-airplane (f15f)`
- `.dashicons-amazon (f162)`
- `.dashicons-bank (f16a)`
- `.dashicons-beer (f16c)`
- `.dashicons-bell (f16d)`
- `.dashicons-calculator (f16e)`
- `.dashicons-coffee (f16f)`
- `.dashicons-database-add (f170)`
- `.dashicons-database-export (f17a)`
- `.dashicons-database-import (f17b)`
- `.dashicons-database-remove (f17c)`
- `.dashicons-database-view (f17d)`
- `.dashicons-database (f17e)`
- `.dashicons-drumstick (f17f)`
- `.dashicons-edit-page (f186)`
- `.dashicons-food (f187)`
- `.dashicons-fullscreen-alt (f188)`
- `.dashicons-fullscreen-exit-alt (f189)`
- `.dashicons-games (f18a)`
- `.dashicons-google (f18b)`
- `.dashicons-hourglass (f18c)`
- `.dashicons-linkedin (f18d)`
- `.dashicons-money-alt (f18e)`
- `.dashicons-open-folder (f18f)`
- `.dashicons-pdf (f190)`
- `.dashicons-pets (f191)`
- `.dashicons-pinterest (f192)`
- `.dashicons-printer (f193)`
- `.dashicons-privacy (f194)`
- `.dashicons-reddit (f195)`
- `.dashicons-spotify (f196)`
- `.dashicons-superhero-alt (f197)`
- `.dashicons-superhero (f198)`
- `.dashicons-twitch (f199)`
- `.dashicons-whatsapp (f19a)`
- `.dashicons-youtube (f19b)`
- `.dashicons-car (f16b)`
- `.dashicons-podio (f19c)`
- `.dashicons-xing (f19d)`


This update is the final planned update of the Dashicons font. Moving forward, the more modern approach of using SVG icons directly (as the block editor currently does) will be explored. More information on the future of Dashicons can be found on the Make Design blog: https://make.wordpress.org/design/2020/04/20/next-steps-for-dashicons/.

Props joen, johnjamesjacoby, empireoflight, youknowriad, netweb, zodiac1978, desrosj, automaton, chrisvanpatten.
Fixes #49913.
No action taken yet
git: 4171c24
svn: r48455
270 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-13 13:33:32 +0000
Upgrade/Install: Simplify compatibility checks for uploaded plugins and themes for better readability.
Use `$new_plugin_data` and `$new_theme_data` as a shorthand for the corresponding `$this->upgrader` properties.

Follow-up to [48390], [48448].

Props afragen.
See #9757.
No action taken yet
git: dd50193
svn: r48454
271 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-12 21:18:38 +0000
Media: Fix `wp_image_file_matches_image_meta()` to also match when the original image URL is used.
Also refreshes and fixes some of the unit tests for media, and replaces test-image-large.png with test-image-large.jpg which is larger to allow testing of `original_image` in the image meta.

Fixes #50628.
No action taken yet
git: daf168c
svn: r48453
272 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-12 19:59:00 +0000
Upgrade/Install: Use `wp_strip_all_tags()` for the fields in the compare table on the "Update theme/plugin from uploaded zip" screen. Some may contain HTML.
See #9757.
No action taken yet
git: adcf3d8
svn: r48452
273 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-12 19:35:55 +0000
REST API: Add Content-Disposition, Content-MD5 and X-WP-Nonce as allowed cors headers.
The Content-Disposition and Content-MD5 headers allow for easier file uploading across domains by using a File/Blob object directly. The X-WP-Nonce header is allowed for making cross-origin and same-origin authenticated requests consistent.

Additionally a filter is introduced, "rest_allowed_cors_headers", to simplify the process of allowing additional request headers.

Props rmccue, TimothyBlynJacobs.
Fixes #41696.
No action taken yet
git: 26c296c
svn: r48451
274 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 13:20:58 +0000
Plugins: Make delete plugin message less scary.
This adds a check if the plugin actually has an uninstall routine before saying that its data will be deleted too.

Props samful, joostdevalk, joyously, Chouby, SergeyBiryukov.
Fixes #50346.
No action taken yet
git: cece47b
svn: r48450
275 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 11:34:18 +0000
Administration: Restore the `excerpt` key for the Extended view mode for backward compatibility for now.
Props Offereins.
See #49715.
No action taken yet
git: f051ed3
svn: r48449
276 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 11:00:16 +0000
Docs: Add a `@since` entry for the `$hook_extra` parameter added to `WP_Upgrader::download_package()`.
Follow-up to [48399].

See #49686.
No action taken yet
git: 51e92ce
svn: r48448
277 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 10:53:36 +0000
Upgrade/Install: Use `is_php_version_compatible()` and `is_wp_version_compatible()` in plugin and theme requirement checks.
Follow-up to [48390].

Props afragen.
See #9757.
No action taken yet
git: b161e12
svn: r48447
278 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 10:32:57 +0000
I18N: Move the "WordPress Backups" support URL to its own translatable string.
Follow-up to [48390].

See #9757.
No action taken yet
git: 8c2443d
svn: r48446
279 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 01:17:51 +0000
Docs: Miscellaneous DocBlock corrections for plugin and theme updates.
See #49572.
No action taken yet
git: 9d30b02
svn: r48445
280 of 4570
Author
SergeyBiryukov <[email protected]> 2020-07-12 01:14:01 +0000
Administration: Handle the result of `Plugin_Upgrader::bulk_upgrade()` for a plugin that is already at the latest version in the same way it is handled for themes.
This corrects a fragile check of the result in `wp_ajax_update_plugin()` that depended on the internal array pointer, and brings some consistency with `wp_ajax_update_theme()`.

Follow-up to [37714], [48401].
See #50448.
No action taken yet
git: 7cf1e60
svn: r48444
281 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-12 01:11:35 +0000
Docs: Improve documentation for `sanitize_user()`, `sanitize_title()`, `sanitize_title_with_dashes()`.
See #49572.
No action taken yet
git: 43c193f
svn: r48443
282 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 23:27:51 +0000
Tests: Ignore EOL differences in email tests using multiline string assertions.
Unix vs. Windows EOL style mismatches can cause misleading failures in tests using the heredoc syntax (`<<<`) or multiline strings as the expected result.

Follow-up to [46612], [48033].

Props davidbaumwald.
See #31432, #41750.
No action taken yet
git: accf884
svn: r48442
283 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 22:50:36 +0000
Docs: Correct comments in `tests/formatting/WPSlash.php` per the documentation standards.
See #49572.
No action taken yet
git: 4d964a8
svn: r48441
284 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 22:46:27 +0000
Docs: Synchronize `@since` notes for `add_magic_quotes()` and `wp_slash()`.
Follow-up to [48205], [48433].

See #49572.
No action taken yet
git: 7137014
svn: r48440
285 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 22:42:35 +0000
Bootstrap/Load: Adjust the logic in `add_magic_quotes()` for better readability.
Follow-up to [48205].

See #48605.
No action taken yet
git: a9368a8
svn: r48439
286 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 21:46:29 +0000
Menus: Simplify the test for `wp_update_nav_menu_item()` with special characters in category name.
The `menu-item-title` value is saved as a `post_title` property, so the resulting property can be checked directly, without a callback.

Follow-up to [48416].

See #48011.
No action taken yet
git: d5cfd5c
svn: r48438
287 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 21:13:56 +0000
Revisions: Restore the return value of `wp_get_post_autosave()` to the documented type of `WP_Post` for backward compatibility.
Follow-up to [48422].

See #34560.
No action taken yet
git: 8f39f8e
svn: r48437
288 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-11 20:32:19 +0000
REST API: Sanitize block renderer attributes.
In [48069] the Block Renderer was changed to register a single route for all dynamic blocks. Validation was dynamically applied based on the requested block, but sanitization was not. This commit adds the same sanitization back to the block attributes.

Props manooweb.
Fixes #50620. See #48079.
No action taken yet
git: c42b6b5
svn: r48436
289 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 12:28:07 +0000
Revisions: Replace `array_shift()` with `reset()` in `register_and_do_post_meta_boxes()` for better performance.
Follow-up to [31829], [48422].

See #34560.
No action taken yet
git: b4232b7
svn: r48435
290 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-11 12:12:46 +0000
Coding Standards: Use strict type check for `in_array()` in `wp-includes/feed.php`.
Additionally:
* Correct inline comments per the documentation standards.
* Correct the `@ticket` reference in `tests/feed/atom.php`.

Follow-up to [48429].

See #33591.
No action taken yet
git: 8dc7f1c
svn: r48434
291 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-11 00:34:59 +0000
Build/Test Tools: Bump lodash as part of an npm audit.
lodash 4.17.17 👉 4.17.19

See #49768.
No action taken yet
git: 21273c3
svn: r48433
292 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-11 00:11:57 +0000
Formatting: Prevent wp_slash from returning non-strings as strings.
If a bool/float/int is passed into wp_slash it will be coerced into a string.

This changes the behavior to only slash strings. At the same time, handles recursion a little nicer by calling array_map for arrays.

Fixes #42195, #24106.

Props johnbillion, andizer, jrf, ryotasakamoto, SergeyBiryukov, donmhico, TobiasBg, markoheijnen, ryan, nacin, devesine, whyisjake.
No action taken yet
git: d42bdcb
svn: r48432
293 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 23:26:31 +0000
Formatting: Improve the docblock for `sanitize_title()`.
Since sanitize title is largely used for html attributes, or post slugs, make note that accents will be removed and that the string will be limited to alphanumeric characters, underscores, and dashes.

Fixes #33756.
Props ericlewis, swissspidy, wonderboymusic, psdtohtmlguru, DrewAPicture, SergeyBiryukov, sjmur, gma992, shulard, ebinnion, whyisjake.
No action taken yet
git: 7c1ff08
svn: r48431
294 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 23:13:16 +0000
Coding Standards: Ensure strict type check.
See [48429], #33591.
No action taken yet
git: 5d85a53
svn: r48430
295 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-10 23:04:08 +0000
Media: Tiny logic fix in `wp_image_file_matches_image_meta()` after [48329]. No need to look in `sizes` if the full size image path/URL matches.
See #50543.
No action taken yet
git: 4337c25
svn: r48429
296 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 22:21:22 +0000
Feeds: Ensure that enclosures produce valid XML.
Metadata that is stored on newlines has the possibility of missing values, so rather then coercing values, we can check for them and then implicity set the values.

Fixes #33591.
Props jonnybot, stevenkword, vtieu, birgire, SergeyBiryukov, davidbaumwald, rebasaurus, whyisjake.
No action taken yet
git: 9949996
svn: r48428
297 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 22:01:57 +0000
Themes: Correct closing tag for the "Enable auto-updates" button in the JS template for theme auto-update setting.
Follow-up to [48418].

See #50516.
No action taken yet
git: d0b6778
svn: r48427
298 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 21:13:25 +0000
Docs: Improve description for the JS function that hides the update button for expired plugin or theme uploads.
Add missing `@since` tag.

Follow-up to [48417].

See #50612.
No action taken yet
git: 72d5862
svn: r48426
299 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 20:21:01 +0000
Docs: Improve `@return` tags for various conditional tags.
Props stevenlinx, SergeyBiryukov.
Fixes #50626.
No action taken yet
git: a7a91ba
svn: r48425
300 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 16:10:07 +0000
Sitemaps: Remove some extra space from `WP_Sitemaps_Stylesheet::get_stylesheet_css()`.
Follow-up to [48414].

See #50449.
No action taken yet
git: 5e160ea
svn: r48424
301 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 16:02:00 +0000
Administration: Bring some consistency to handling list table view modes.
* Remove duplicate variables and DocBlocks.
* Add missing description for the `$mode` global.
* Use sentence case for "Compact view" and "Extended view" labels.

Follow-up to [48398], [48423].

Props afercia, Offereins, SergeyBiryukov.
See #49715.
No action taken yet
git: 6c4f669
svn: r48423
302 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 16:00:42 +0000
Administration: Make some adjustments to `WP_Screen::render_view_mode()`:
* Restore the `$mode` global for backward compatibility.
* Remove redundant check, as `$mode` is already set at this point, and already defaults to `list` via `get_user_setting()`'s second argument.
* Use sentence case for "View mode" and "Extended view" labels.

Follow-up to [48398].

See #49715.
No action taken yet
git: 4adb926
svn: r48422
303 of 4570
Author
Adam Silverstein <[email protected]> 2020-07-10 15:12:00 +0000
Revisions: optimize performance when post has large number of revisions.
Improve speed and reduce the memory footprint when loading posts with many revisions.

* Use a direct query in `wp_get_post_autosave` to avoid loading all revisions.
* Query for IDs vs full objects in `register_and_do_post_meta_boxes`.

Props pdfernhout, johnnyb, miqrogroove, ocean90, senatorman, DBrumbaugh10Up, martijn-van-der-kooij, pavelevap, mackensen, mikeyarce, whyisjake.
Fixes #34560.
No action taken yet
git: 73d3e9c
svn: r48421
304 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 12:44:38 +0000
Coding Standards: Use strict comparison in `WP_List_Util::filter()`.
Correct comments per the documentation standards.

See #49542, #49572.
No action taken yet
git: 7b27f3f
svn: r48420
305 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-10 11:34:41 +0000
Docs: Correct documentation for `customize_controls_head` hook and `_customizer_mobile_viewport_meta()` function.
Follow-up to [48412].

See #47369.
No action taken yet
git: 26e29a5
svn: r48419
306 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 06:46:03 +0000
Administration: Better align labels on the discussion options page.
The labels for Comment Moderation, and Comment Blocklist are now aligned properly with the adjacent text.

Fixes #37384.
Props ankit-k-gupta, karmatosed, FolioVision, desrosj, valentinbora, samful, whyisjake.
No action taken yet
git: 1b251fe
svn: r48418
307 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 06:16:06 +0000
Upgrade/Install: Use ARIA button class on plugin and theme auto-updates action links
According to the [accesability guidelines](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/#semantics-for-controls), the control should be a link when JavaScript is not available and a button the rest of the time.

In addition, handlers were added for spacebar usage, and some changes to the a11y speak verbiage.

Fixes #50516.
Props ryokuhi, audrasjb, afercia, whyisjake/
No action taken yet
git: bf93e96
svn: r48417
308 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 06:06:46 +0000
Upgrade/Install: Ensure cleanup after canceled update.
Ensure that the uploaded zip is hidden from the media library, where a task will remove failed installs after two hours.

Fixes #50612.

Props psykro, desrosj, joyously, azaozz, noisysocks, whyisjake.
No action taken yet
git: 3667d18
svn: r48416
309 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 05:58:49 +0000
Menus: Ensure that category menus with special characters can be updated.
Slashes and HTML encoding could cause some menus not to be updated.

Fixes #48011.

Props zaheerahmad, achyuthajoy, desrosj, pento, SergeyBiryukov, donmhico, audrasjb, birgire, mikeschroder.
No action taken yet
git: 80e2a20
svn: r48415
310 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 00:59:58 +0000
Coding Standards: Some missed code formatting.
Unprops: whyisjake.
No action taken yet
git: 36f9f6c
svn: r48414
311 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 00:48:54 +0000
Sitemaps: Add better support for RTL sites.
While the URLs are intended to be machine readable, they should always be LTR, while other data would be RTL in the sitemap.

Fixes #50449.

Props joyously, SergeyBiryukov, pbiron. apedog, ramiy.
No action taken yet
git: 0802e75
svn: r48413
312 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-10 00:29:48 +0000
Formatting: Ensure that wp_filter_object_list() will return an array when being passed an object with magic methods.
Fixes #50095.

Props johnjamesjacoby.
No action taken yet
git: 0999a01
svn: r48412
313 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-09 23:27:28 +0000
Administration: Remove multiple viewport meta tags from mobile pages.
In addition, add the `wp_admin_viewport_meta()` function, paired to the `admin_viewport_meta` filter to control attributes of the meta tag.

Fixes #47369.
Props BettyJJ, mukesh27, SergeyBiryukov, ajayghaghretiya1, msaggiorato, talldanwp, davidbaumwald, donmhico, audrasjb.
No action taken yet
git: 9683101
svn: r48411
314 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-09 11:24:43 +0000
Docs: Synchronize and correct documentation for various metadata functions and filters.
Follow-up to [47390], [47611], [48192], [48402].

See #49572, #43941, #45464.
No action taken yet
git: c3993eb
svn: r48410
315 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-08 13:42:30 +0000
Widgets: Adjust formatting for displaying the closing `</nav>` tag in widgets for consistency with the opening tag.
Follow-up to [48349].

See #48170.
No action taken yet
git: c66bdb8
svn: r48409
316 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-08 13:26:20 +0000
Widgets: Correct the logic for displaying the `after_widget` parameter of the Archives widget.
Follow-up to [48349].

Props mukesh27, joyously.
Fixes #50609.
No action taken yet
git: 8b89be2
svn: r48408
317 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-08 13:13:50 +0000
Docs: Miscellaneous DocBlock corrections.
See #49572.
No action taken yet
git: de37c09
svn: r48407
318 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-08 11:13:22 +0000
Docs: Further improve documentation for `have_posts()` and `have_comments()`.
Follow-up to [48406]

Props stevenlinx.
See #50610.
No action taken yet
git: 3dc074e
svn: r48406
319 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-08 11:09:08 +0000
Docs: Improve documentation for `have_posts()`, `have_comments()`, and their `WP_Query` counterparts.
Props stevenlinx.
Fixes #50610.
No action taken yet
git: e763076
svn: r48405
320 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-08 10:56:22 +0000
Upgrade/Install: Prevent the upgrade routine for updating the `comment_type` field in the comments table from running twice.
Follow-up to [47597], [48400].

See #50413, #49236.
No action taken yet
git: 660fc17
svn: r48404
321 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 21:51:26 +0000
Post WordPress 5.5 Beta 1 version bump.
No action taken yet
git: a99e0fd
svn: r48403
322 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 20:59:16 +0000
WordPress 5.5 Beta 1.
No action taken yet
git: 612eeb9
svn: r48402
323 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-07 20:45:55 +0000
REST API, Meta: Introduce support for default metadata values.
The `register_meta()` API now officially supports specifying a default metadata value. When `get_metadata()` is called for a meta key that does not yet exist for the object, this default value will be returned instead of an empty string.

A new function is introduced `get_metadata_raw` to retrieve the raw metadata value from the database, without applying the registered default.

Props spacedmonkey, flixos90, rmccue, kadamwhite, mnelson4, johnbillion, chrisvanpatten, TimothyBlynJacobs.
Fixes #43941.
No action taken yet
git: dd64c95
svn: r48401
324 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-07 20:36:41 +0000
Administration: Fix failing tests as a result of [48397].
Because of changes to how PHP handles arrays used in `foreach()` loops in PHP >= 7.0, [48397] resulted in a failing test for PHP 5.6.

This calls `reset()` after using the `$results` array in the `foreach()` to ensure the array is treated the same and as expected.

Props azaozz, desrosj, SergeyBiryukov, xknown.
See #50448.
No action taken yet
git: 7d3b647
svn: r48400
325 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-07 19:19:03 +0000
Upgrade/Install: Prevent some 5.5.0 upgrade routines from running twice.
This will prevent the options renamed for 5.5.0 from being converted twice. If a new update routine is added before 5.5 is released, the option values would be erased for anyone running `trunk` or nightlies without this change.

Props azaozz, desrosj, SergeyBiryukov, whyisjake.
Fixes #50413.
No action taken yet
git: 61803a3
svn: r48399
326 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-07 19:13:30 +0000
Upgrade/Install: Add `hook_extra` parameter to the `upgrader_pre_download` filter.
This provides additional context to code running on this hook, including which plugin or theme update will be downloaded. It also brings consistency to this filter with others throughout the upgrade process.

Props obliviousharmony, desrosj.
Fixes #49686.
No action taken yet
git: 86ffb51
svn: r48398
327 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-07 19:10:46 +0000
Administration: Introduce extensibility to posts and comments list table views, for accessibility purposes.
At default, expands the excerpt view to become an extended view. Includes a new `table_view_mode` filter to allow further configuration.

Fixes #49715.
Props joedolson, audrasjb, afercia, whyisjake.
No action taken yet
git: bfb896c
svn: r48397
328 of 4570
Author
Jonathan Desrosiers <[email protected]> 2020-07-07 18:58:32 +0000
Administration: Prevent repeat emails for identical plugin or theme auto-update attempt failures.
This change adds a throttle mechanism to plugin and theme auto-update failure emails using similar logic to the email sent for a Core auto-update.

The first time a plugin or theme auto-update fails, the package and `new_version` will be tracked in the `auto_plugin_theme_update_emails` option. An email for this specific update attempt will not be resent.

However, if this update fails again and non-repeat failures or successful updates are also present, then the failure information will be included in that email (an email needs to be sent for the new events regardless).

Props johnbillion, arpitgshah, desrosj, audrasjb, pbiron, earnjam.
Fixes #50448.
No action taken yet
git: a7dc1bb
svn: r48396
329 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 18:53:50 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/set-post-thumbnail.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50605.
No action taken yet
git: 25417b5
svn: r48395
330 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 18:38:20 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/comment.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50604.
No action taken yet
git: 189f23f
svn: r48394
331 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 18:28:41 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/nav-menu.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50603.
No action taken yet
git: 3591f4e
svn: r48393
332 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 18:27:03 +0000
Comments: Allow passing a custom class to the form container element in `comment_form()`.
Props cjbj, yahil, mayankmajeji, andraganescu, SergeyBiryukov.
Fixes #41009.
No action taken yet
git: f0c4b2c
svn: r48392
333 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 18:13:14 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/plugin-install.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50602.
No action taken yet
git: 849e7bf
svn: r48391
334 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 18:00:37 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/inline-edit-post.js` and `wp-admin/js/inline-edit-tax.js`.
This removes the usage of `wp_localize_script()` for passing translations to the scripts and instead adds the translatable strings in the scripts directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50601.
No action taken yet
git: 289c286
svn: r48390
335 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-07 17:47:37 +0000
Upgrade/install: Allow plugin and theme updates from a uploaded .zip file.
Props mariovalney, cyberhobo, imath, shaunandrews, mariovalney, earnjam, desrosj, dd32, folletto, swissspidy, melchoyce, pento, joshuawold, psykro, clorith, ahortin, galbaras, pingram3541, joyously, doobeedoo, karmatosed, poena, whyisjake, earnjam, sergeybiryukov, audrasjb, azaozz.

Fixes #9757.
No action taken yet
git: 2bdd712
svn: r48389
336 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-07 17:27:38 +0000
Accessibility: Widgets: Further improve spacing between Widgets checkboxes and radio buttons in the admin interface.
Follow-up to [47598]:
- further improves the spacing after [47598] by better scoping the CSS to avoid layout glitches for custom widgets
- changes the RSS widget form to wrap the checkboxes in one single paragraph

Ideally, multiple related checkboxes and radio buttons should be grouped within a fieldset element with a legend. This will be addressed in a new Trac ticket.

Props mukesh27, SergeyBiryukov, sabernhardt.
Fixes #49228.
No action taken yet
git: 233dc32
svn: r48388
337 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-07 17:04:05 +0000
Docs: Reference the documentation of the new `navigation_widgets_format` filter instead of repeating it.
Follow-up to [48349].

Props johnbillion.
Fixes #48170.
No action taken yet
git: 8c42273
svn: r48387
338 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 16:59:22 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/widgets.js`.
This removes the usage of `$scripts->add_inline_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Fixes #50600.
No action taken yet
git: 7377c28
svn: r48386
339 of 4570
Author
Andrew Ozz <[email protected]> 2020-07-07 16:49:30 +0000
Media, REST API: Allow media edit endpoint to find remote files.
Props jonsurrell.
Fixes #50595.
No action taken yet
git: dd353bf
svn: r48385
340 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 16:47:14 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/post.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50599.
No action taken yet
git: b24fbd0
svn: r48384
341 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 16:12:14 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/media.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50597.
No action taken yet
git: e39812f
svn: r48383
342 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-07 16:07:25 +0000
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/color-picker.js`.
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.

Props swissspidy, ocean90.
See #20491.
Fixes #50596.
No action taken yet
git: e16565b
svn: r48382
343 of 4570
Author
Riad Benguella <[email protected]> 2020-07-07 16:06:43 +0000
Block Editor: Add a script to run Gutenberg end 2 end tests on Core.
The script is not part of CI yet because the job takes 40mn to run
and it's not useful in all PRs/commits.

Fixes #50469.
No action taken yet
git: 9c42886
svn: r48381
344 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-07 15:29:22 +0000
REST API: Use new `rest_get_route_for_post()` in the post search handler.
In [48273] the rest_get_route_for_post function was introduced. This simplifies determining the REST API route for any given post object and adds a filter for custom controllers.

Props ravatparmar.
Fixes #50529.
No action taken yet
git: f4b381b
svn: r48380
345 of 4570
Author
John Blackbourn <[email protected]> 2020-07-07 14:55:51 +0000
Administration: Reinstate the description for the `admin_xml_ns` hook which was accidentally removed in [47771].
See #46015.
No action taken yet
git: 84d3fe2
svn: r48379
346 of 4570
Author
Ella van Durpe <[email protected]> 2020-07-07 14:41:35 +0000
Editor: update packages
Fixes #50589.
No action taken yet
git: d2ec3ab
svn: r48378
347 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 14:13:37 +0000
Themes: Allow passing a custom class to post and comment pagination functions.
This affects:
* `get_the_post_navigation()`
* `get_the_posts_navigation()`
* `get_the_posts_pagination()`
* `get_the_comments_navigation()`
* `get_the_comments_pagination()`

Props jfarthing84, markparnell, davidbaumwald, SergeyBiryukov.
Fixes #39378.
No action taken yet
git: 5f88132
svn: r48377
348 of 4570
Author
John Blackbourn <[email protected]> 2020-07-07 14:12:38 +0000
Docs: Correct some `@since` entries added in 5.5.
See #49572
No action taken yet
git: 286aae8
svn: r48376
349 of 4570
Author
Riad Benguella <[email protected]> 2020-07-07 13:45:30 +0000
Administration: Fix remove links color.
Fix regression introduced in [48332] where the specificity
of the admin scheme link colors was higher than the remove link colors.

Props afercia.
Fixes #50536.
No action taken yet
git: ab3ce94
svn: r48375
350 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-07 13:43:43 +0000
Accessibility: Media: Improve accessibility of the status and error messages in the Image Editor.
- improves focus management by moving focus to the notices, if any, or to the first "tabbable" element
- this avoids a focus loss and helps Braille-only and screen magnification users to be aware of the messages
- adds an ARIA role `alert` to all the notices 
- uses `wp.a11y.speak()` to announce messages to assistive technology
- this way, all visual users will see the messages while assistive technology users will get an audible message
- uses `wp.i18n` for translatable strings in `wp-admin/js/image-edit.js`

Props anevins, ryanshoover, antpb, SergeyBiryukov, afercia.
See #20491.
Fixes #47147.
No action taken yet
git: 41e5728
svn: r48374
351 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 13:41:30 +0000
Plugins: Make sure the HTML ID attributes in plugin action links are unique.
Follow-up to [47588].

Props mukesh27, roytanck, SergeyBiryukov.
Fixes #49916.
No action taken yet
git: 337b329
svn: r48373
352 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-07 12:58:10 +0000
Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.

This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.

Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.
No action taken yet
git: 30201a3
svn: r48372
353 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 12:55:26 +0000
Bootstrap/Load: Set `WP_DEBUG` to true by default on `development` environments.
Props johnbillion, kraftbj, Clorith, joostdevalk, dlh.
Fixes #33161.
No action taken yet
git: f3d3e1d
svn: r48371
354 of 4570
Author
Riad Benguella <[email protected]> 2020-07-07 11:28:12 +0000
Customizer: Adapt the colors to the selected admin scheme colors.
Uses the $highlight-color variable to override the hardcoded colors used in the customizer UI.

Props dlh, joen.
Fixes #50547.
No action taken yet
git: 4e78b0a
svn: r48370
355 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 11:00:21 +0000
Themes: Allow template loading functions to pass additional arguments to the template via the `$args` parameter.
This affects:
* `get_header()`
* `get_footer()`
* `get_sidebar()`
* `get_template_part()`
* `locate_template()`
* `load_template()`

Note: `get_search_form()` already passes additional arguments to the template as of [44956].

Props enrico.sorcinelli, sc0ttkclark, scribu, nacin, wonderboymusic, GeertDD, beatpanda, amaschas, mintindeed, ysalame, caiocrcosta, bigdawggi, julianm, eddiemoya, shawnz, sayedwp, shamai, mboynes, mihai2u, guidobras, Mte90, apedog, stuffradio, overclokk, johnbillion, joyously, afercia, audrasjb, justlevine, SergeyBiryukov.
See #21676.
No action taken yet
git: 3eb2bd9
svn: r48369
356 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 10:18:25 +0000
Upload: Introduce `pre_wp_unique_filename_file_list` filter to allow for short-circuiting the `scandir()` call in `wp_unique_filename()`.
This allows plugins to override the file fetching behavior to provide performance improvements for large directories.

Props joehoyle.
Fixes #50587.
No action taken yet
git: 7348112
svn: r48368
357 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-07 10:09:23 +0000
Accessibility: Improve color contrast for the blue links `:hover` state.
For a number of years, WordPress has been using a `#00a0d2` blue shade for the links `:hover` state. This blue shade doesn't have a sufficient color contrast with the various (too many) background colors used in the admin interface.

The new `#006799` blue shade is part of the official WordPress color palette and does have a sufficient color contrast with most of the admin backgrounds.

Props ryokuhi, audrasjb, joedolson, mapk.
See #47682.
No action taken yet
git: 6bc5b06
svn: r48367
358 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 09:54:27 +0000
REST API: Correct the check for `$version` argument in `rest_handle_doing_it_wrong()`.
Move `WP_REST_Response` and `WP_Error` class names out of the translatable string.

Follow-up to [48327], [48361].

See #36271.
No action taken yet
git: b88a906
svn: r48365
359 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 09:28:19 +0000
Docs: Miscellaneous DocBlock corrections.
See #49572.
No action taken yet
git: 67a72d9
svn: r48364
360 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 09:26:16 +0000
Docs: Improve DocBlocks in `wp-includes/nav-menu-template.php` per the documentation standards.
See #49572.
No action taken yet
git: 2784518
svn: r48363
361 of 4570
Author
Sergey Biryukov <[email protected]> 2020-07-07 09:19:00 +0000
Site Health: Correct translator comment for the message displayed after clicking "remind me later" on the admin email confirmation.
Adjust the logic for displaying the message for better readability.

Follow-up to [48359].

See #48333.
No action taken yet
git: f76d103
svn: r48362
362 of 4570
Author
Andrea Fercia <[email protected]> 2020-07-07 07:03:30 +0000
Administration: Fix typo in `forms.css` after [46866].
A stray `e` made browsers ignore a CSS ruleset preventing select elements from changing color on hover.

Props ryokuhi.
See #48420.
Fixes #50580.
No action taken yet
git: 7166def
svn: r48361
363 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-07 04:59:51 +0000
REST API: Trigger `_doing_it_wrong()` if `wp_send_json()` is used on a REST API request
In addition to triggering the `_doing_it_wrong()` logging, also adds a `X-WP-DoingItWrong` header.

Fixes #36271.

Props rmccue, TimothyBlynJacobs.
No action taken yet
git: bbe94ef
svn: r48360
364 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-07 04:19:38 +0000
Administration: Ensure that disabled buttons look disabled.
This change removes the disabled state from the admin scheme specific styles.

Fixes #48709.

Props drw158, SergeyBiryukov, afercia, kennethroberson5556, melchoyce, joedolson, valentinbora, audrasjb, larrach, nrqsnchz, youknowriad.
No action taken yet
git: f86dd5c
svn: r48359
365 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-07 03:57:17 +0000
Site Health: Ensure that the user will be notified after a successful snooze action.
After clicking remind me later, the user is shown an admin notification.

Fixes #48333.

Props desrosj, sathyapulse, Clorith, azaozz, audrasjb, afragen, whyisjake.
No action taken yet
git: 0dcbb5b
svn: r48358
366 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-07 03:53:14 +0000
Coding standards: Fix a few phpcs errors to get tests passing.
See [48356], #43517.
No action taken yet
git: 41912bc
svn: r48357
367 of 4570
Author
Timothy Jacobs <[email protected]> 2020-07-07 03:20:34 +0000
REST API: Add support for the uniqueItems keyword.
Props sorenbronsted.
Fixes #48821.
No action taken yet
git: abfd944
svn: r48356
368 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-07 00:53:41 +0000
Taxonomy: Add support for default terms for custom taxonomies.
The new default_term argument is added to `register_taxonomy()` allowing a user to define the default term `name` and optionally `slug` and `description`. 

Fixes #43517.

Props enrico.sorcinelli, SergeyBiryukov, desrosj, davidbaumwald, whyisjake.
No action taken yet
git: 4736a74
svn: r48355
369 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-06 23:10:45 +0000
Bundled theme: Ensure appropriate title for author archives for that don't have posts.
Rather then displaying `Author: `, show `Nothing Found`.

Fixes #50421.

Props SGr33n, williampatton, ianbelanger, rebasaurus, priyomukul, virginienacci, audrasjb.
No action taken yet
git: 56f5be4
svn: r48354
370 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-06 23:01:18 +0000
Coding Standards: Add newlines to package files.
See [48353].
No action taken yet
git: 49c3d8e
svn: r48353
371 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-06 22:07:47 +0000
Coding standards: Revert the changes from [48352] to package.json and package-lock.json.
These changes were included accidentally. 

See [48352].

Unprops: whyisjake.
No action taken yet
git: a8edf65
svn: r48352
372 of 4570
Author
Jake Spurlock <[email protected]> 2020-07-06 21:50:23 +0000
Administration: Move more table strings to sentence casing.
WordPress as a project has moved largely to sentence casing for UI elements in the admin. This commit moves several string$

* Move to trash
* Mark as spam
* Permanently delete comment
* Approve comment
* In response to
* Bulk actions
* Not spam
* Sumitted on
* Delete permanently
* Add media
* Upload files
* Upload images
* Add media
* Bulk select
* Restore from trash
* Search media
* Attachment details
* Create gallery
* Edit gallery
* Cancel gallery
* Add to gallery
* Image details
* Replace image
* Cancel edit
* Edit image
* Choose image
* Select and crop
* Skip cropping
* Crop image
* Audio details
* Replace audio
* Add audio source
* Video details
* Replace video
* Add video source
* Select poster image
* Add subtitles
* Create audio playlist
* Edit audio playlist.
* Cancel audio playlist
* Create video playlist
* Edit video playlist
* Add to video playlist
* Filter media


Fixes #40244.
Props afercia, bhargavbhandari90, rcutmore, webzunft, manojlovic, jeremyfelt, desrosj, lschuyler, SergeyBiryukov, whyisjake.
No action taken yet
git: aad7037
svn: r48351
373 of 4570
Author
Dominik Schilling <[email protected]> 2020-07-06 21:32:15 +0000
I18N: Fix typo in [48348].
Props swizzzpidy.
See #50578.
No action taken yet
git: 7a59fef
svn: r48350
374 of 4570
Author
Dominik Schilling &l