Commit Graph

41293 Commits

Author SHA1 Message Date
desrosj
05d137fa28 Grouped merges for 5.4.5.
* REST API: Allow authors to read their own password protected posts.
* About page update.

Merges [50717] to the 5.4 branch.

Built from https://develop.svn.wordpress.org/branches/5.4@50727


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:09:57 +00:00
Peter Wilson
d53989d502 Editor: Update of @wordpress npm packages for 5.4.5.
Built from https://develop.svn.wordpress.org/branches/5.4@50723


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 00:13:59 +00:00
desrosj
e22ba4ed45 Build/Test Tools: Backport GitHub Action and build improvements to the 5.4 branch.
This backports several build and test tool improvements to the 5.4 branch. Most notably, this includes:

- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- The ability to run PHPUnit tests from `src` instead of `build` [50441-50443].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.

Merges [50267,50299,50379,50387,50413,50416,50432,50435-50436,50441-50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590,50598] to the 5.4 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
Built from https://develop.svn.wordpress.org/branches/5.4@50604


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 18:21:57 +00:00
desrosj
81cff8dd5d Build/Test Tools: Support NodeJS 14.x in the 5.4 branch.
This updates the 5.4 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

In addition to backporting the package updates that happened after branching 5.4, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [47867,48213,47872-47873,48705,49636,49933,49937,49939,49940,49983,49989,50017,50126,50176,50185] to the 5.4 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/5.4@50189


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:12:12 +00:00
Sergey Biryukov
2c3280a29c WordPress 5.4.4.
Built from https://develop.svn.wordpress.org/branches/5.4@49459


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 19:47:10 +00:00
whyisjake
e31b706de8 Upgrade/Install: During the install process, add additional checking for exising tables.
This commit brings the changes in [49452] to the 5.4 branch.

If reinstalling WordPress, there is a condition where tables would exist in the database. Ensures that when that is the case, the install process can carry along without issue.

Fixes #51676.

Props xknown, garubi, mukesh27, desrosj, johnbillion, metalandcoffee, davidbaumwald, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.4@49454


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 18:27:09 +00:00
desrosj
dc457efef8 WordPress 5.4.3.
Built from https://develop.svn.wordpress.org/branches/5.4@49410


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:35:09 +00:00
whyisjake
7fa5b6c463 General: WordPress updates
* XML-RPC: Improve error messages for unprivileged users.
* External Libraries: Disable deserialization in Requests_Utility_FilteredIterator
* Embeds: Disable embeds on deactivated Multisite sites.
* Coding standards: Modify escaping functions to avoid potential false positives.
* XML-RPC: Return error message if attachment ID is incorrect.
* Upgrade/install: Improve logic check when determining installation status.
* Meta: Sanitize meta key before checking protection status.
* Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.

Brings the changes from [49380,49382-49388] to the 5.4 branch.

Props xknown, zieladam, peterwilsoncc, whyisjake, desrosj, dd32.

Built from https://develop.svn.wordpress.org/branches/5.4@49391


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 18:41:13 +00:00
desrosj
4f7edb22a1 Build/Test Tools: Allow the desired version of PHPUnit to be passed to the local Docker environment.
This introduces the `LOCAL_PHPUNIT` environment variable, which allows the desired version of PHPUnit to be specified when running the PHP tests within the local Docker environment.

Because support for newer versions of PHPUnit is not backported, some versions of PHP need the ability to run multiple versions of PHPUnit for different branches. This adds the flexibility needed to use the Docker environment within those older branches to run the PHP tests.

Props johnbillion, SergeyBiryukov.
Merges [49362] to the 5.4 branch.
See #50042.
Built from https://develop.svn.wordpress.org/branches/5.4@49364


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-28 23:48:09 +00:00
desrosj
47674e27e7 Build/Test Tools: Specify a type when using wp config set.
This prevents an error if constants are not predefined when running the Docker install script while using older combinations of WordPress/PHP/WP-CLI.

Backports [49335] to the 5.4 branch.
See #48301.
Built from https://develop.svn.wordpress.org/branches/5.4@49341


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 19:06:13 +00:00
Sergey Biryukov
92b65c7449 Build Tools: Fix running installing Composer dependencies using Composer 2.0.
This updates the `dealerdirect/phpcodesniffer-composer-installer` package to allow installing version `0.7.0` which supports Composer 2.0.

Props itowhid06, jrf.
Merges [49306] to the 5.4 branch.
See #51624.
Built from https://develop.svn.wordpress.org/branches/5.4@49318


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 00:06:06 +00:00
Sergey Biryukov
e82a76b282 Tests: Temporarily skip PDF tests if they fail due to ImageMagick permission errors.
Merges [48338], [48341] to the 5.4 branch.

See #50573.
Built from https://develop.svn.wordpress.org/branches/5.4@48366


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:34:07 +00:00
Sergey Biryukov
6d6b2663e3 Administration: Pass the result of set-screen-option filter to the new set_screen_option_{$option} filter to ensure backward compatibility.
Rename the `$keep` parameter of both filters to `$screen_option` for clarity, update the documentation to better reflect its purpose.

Follow-up to [47951].

Props Chouby, sswells, SergeyBiryukov.
Merges [48241] to the 5.4 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/5.4@48244


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:45:08 +00:00
Dominik Schilling
16851bac1c Bump Akismet external to 4.1.6.
git-svn-id: http://core.svn.wordpress.org/branches/5.4@47863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-19 18:52:01 +00:00
Sergey Biryukov
63a8b31572 Bundled Themes: Bump Twenty Twenty and Twenty Nineteen versions.
This was intended for the WordPress 5.4.2 release, but will now be released with WordPress 5.4.3 instead.

Props ianbelanger, ocean90.
Merges [47800] and [47952] to the 5.4 branch.
Fixes #50359. See #50174.
Built from https://develop.svn.wordpress.org/branches/5.4@48029


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-11 18:52:10 +00:00
desrosj
bc0b9ddb79 Post WordPress 5.4.2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@48025


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 22:50:09 +00:00
desrosj
da4607a28a WordPress 5.4.2.
Props whyisjake, audrasjb, desrosj.
Fixes #50269.
Built from https://develop.svn.wordpress.org/branches/5.4@47989


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:32:07 +00:00
whyisjake
8c6dbdb9ae Editor: Ensure latest comments can only be viewed from public posts.
This brings the changes from [47984] to the 5.4 branch.

Props: poena, xknown.

Built from https://develop.svn.wordpress.org/branches/5.4@47985


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 19:23:06 +00:00
desrosj
ec8c5a8761 Administration: Add a new filter to extend set-screen-option.
Merges [47951] to the 5.4 branch.
Props: xknown, SergeyBiryukov.
Built from https://develop.svn.wordpress.org/branches/5.4@47957


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:50:12 +00:00
desrosj
9e494d832d Themes: Ensure a broken theme name is returned properly.
Merges [47950] to the 5.4 branch.
Props: sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.4@47956


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:49:06 +00:00
desrosj
caab820b2c Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
Merges [47949] to the 5.4 branch.
Props: xknow, vortfu.
Built from https://develop.svn.wordpress.org/branches/5.4@47955


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:47:10 +00:00
desrosj
72f6ea5d76 Editor: Prevent HTML decoding on by setting the proper editor context.
Merges [47948] to the 5.4 branch.
Props: sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.4@47954


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:46:05 +00:00
desrosj
0fe021801d Embeds: Ensure that the title attribute is set correctly on embeds.
Merges [47947] to the 5.4 branch.
Props xknown.
Built from https://develop.svn.wordpress.org/branches/5.4@47953


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:44:07 +00:00
Sergey Biryukov
e23ccd2fcd Site Health: Avoid a PHP notice in WP_Site_Health::wp_cron_scheduled_check() if async test response does not contain the expected result.
Additionally, avoid a PHP notice in `::get_test_php_version()` if the minimum recommended version of PHP could not be determined.

Props schlessera, oakesjosh.
Merges [47628] to the 5.4 branch.
Fixes #49943.
Built from https://develop.svn.wordpress.org/branches/5.4@47931


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 11:27:09 +00:00
whyisjake
5c256d1c7a WordPress 5.4.2 RC 1.
Built from https://develop.svn.wordpress.org/branches/5.4@47900


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-03 15:11:07 +00:00
whyisjake
64345bf1ca WordPress 5.4.2 Beta 1.
Built from https://develop.svn.wordpress.org/branches/5.4@47899


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-03 15:08:10 +00:00
Sergey Biryukov
e0b6dd51ee Comments: Rename Walker_Comment::comment_text() to ::filter_comment_text() for clarity.
Ensure the comment object is not null before checking its status.

Follow-up to [47887].

Merges [47889] to the 5.4 branch.
See #49956.
Built from https://develop.svn.wordpress.org/branches/5.4@47890


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-02 21:46:19 +00:00
whyisjake
30dba0b409 Comments: Ensure that unmoderated comments won't be search indexed.
After a comment is submitted, only allow a brief window where the comment is live on the site.

This brings the changes from [47887] to the 5.4 branch.

Fixes #49956.
Props: jonkolbert, ayeshrajans, Asif2BD, peterwilsoncc, imath, audrasjb, jonoaldersonwp, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.4@47888


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-02 20:26:10 +00:00
whyisjake
07435f4a44 Bundled Themes: Add missing RTL styles for to fix inconsistent margins on .alignwide and .alignfull items.
Fixes the inconsistent margins for alignwide and alignfull classes used on Cover Block when it is the first block on a page.

This commit brings the changes from [47846] to the 5.4 branch.

Props kthmd, utz119, nikhilbhansi, and sabernhardt.
Fixes #49435.

Built from https://develop.svn.wordpress.org/branches/5.4@47847


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-23 06:25:06 +00:00
whyisjake
f34232edaf REST API: Ensure proper namespacing when registering routes.
The PR will corerce routes that have a leading slash and throwing a _doing_it_wrong notice while ensuring a proper namespace.

This brings the changes from [47842] to the 5.4 branch.

Fixes #49749.
Props TimothyBlynJacobs, skarabeq, afercia, skithund.

Built from https://develop.svn.wordpress.org/branches/5.4@47843


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-22 21:00:07 +00:00
Sergey Biryukov
51997857ee Customize: Move the WordPress logo with a white background to the wp-includes directory.
This ensures that the image used as a default site icon looks good on a dark background.

The image was previously changed in the `wp-admin` directory, but the site icon is now loaded from `wp-includes`.

Follow-up to [36635], [47018], [47564], [47832].

Props ocean90.
Merges [47838] to the 5.4 branch.
Fixes #49798.
Built from https://develop.svn.wordpress.org/branches/5.4@47839


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-21 09:13:09 +00:00
Sergey Biryukov
8597b34d6f Customize: Load the default site icon from the wp-includes directory.
Files inside the `wp-admin` directory may not be publicly available.

Follow-up to [36635], [47018].

Merges [47832] to the 5.4 branch.

Props whyisjake, finomeno, ocean90.
Fixes #50131.
Built from https://develop.svn.wordpress.org/branches/5.4@47833


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-20 10:38:08 +00:00
whyisjake
fd07f8bf9f Bundled Themes: Twenty Nineteen decrease the font size for widget titles.
Update styles to decrease the font size for widget titles.

This commit brings the changes from [47586] to the 5.4 branch.

Props kjellr, mukesh27.
Fixes #45865.

Built from https://develop.svn.wordpress.org/branches/5.4@47831


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-20 00:23:07 +00:00
whyisjake
5bab6998d6 Bundled Themes: Twenty Twenty custom post types that don't support authors, shows author box.
This fixes the issue where custom post types will show an author box, even if they don't support authors.

This brings the changes in [47799] to the 5.4 branch.

Props joyously, donmhico.
Fixes #48803.

Built from https://develop.svn.wordpress.org/branches/5.4@47830


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 23:30:06 +00:00
whyisjake
8e5980a770 Bundled Themes: Twenty Twenty anchor links don't work in mobile menu.
Modifies the mobile modal menu javascript, so that anchor links will close the modal and scroll to the anchor within the page.

This brings the changes from [47784] to the 5.4 branch.

Props Giorgio25b, suzylah, yuhin, samful, bdcstr.
Fixes #48916.

Built from https://develop.svn.wordpress.org/branches/5.4@47829


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:50:07 +00:00
whyisjake
c9bf01c0a4 Bundled Themes: Twenty Twenty add icon for g.page links.
Adds the option to use a g.page url for the social menu.

This brings the changes from [47795] to the 5.4 branch.

Props argentite, mayankmajeji.
Fixes #49088.

Built from https://develop.svn.wordpress.org/branches/5.4@47828


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:41:07 +00:00
whyisjake
3e44eb0857 Bundled Themes: Twenty Twenty missed license for images.
Fixes the image license in the readme by removing screenshot.png.

Brings the changes from [47608] to the 5.4 branch.

Props h71, poena.
Fixes #49316.

Built from https://develop.svn.wordpress.org/branches/5.4@47827


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:31:08 +00:00
whyisjake
769fad3c57 Bundled Themes: Twenty Twenty image caption is not aligned center when image is, on the front-end.
Fixes the image caption alignment issue by adding text-align: center; to .wp-block-image .aligncenter figcaption.

This brings the changes from [47689] to the 5.4 branch.

Props markusthiel, SergeyBiryukov, garethgillman.
Fixes #49320.

Built from https://develop.svn.wordpress.org/branches/5.4@47826


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:28:10 +00:00
whyisjake
adfeeb5ee0 Bundled Themes: Twenty Twenty submenu items disappear underneath the Cover block.
Fixes the submenu issue by raising the z-index value of the site-header from 1 to 2.

This brings the changes in [47609] to the 5.4 branch.

Props kjellr, JavierCasares.
Fixes #49322.

Built from https://develop.svn.wordpress.org/branches/5.4@47825


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:26:07 +00:00
whyisjake
7a3fd55a95 File Editor: Remove CSS exceptions for the "Select plugin/theme to edit" and documentation "Look Up" buttons.
Buttons should use the default buttons styles, no exceptions.

This commit bring the changes from [47751] to the 5.4 branch.

Props passoniate, garethgillman, @afercia.
See #49197.
Fixes #49353.

Built from https://develop.svn.wordpress.org/branches/5.4@47824


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:18:06 +00:00
whyisjake
fbf2fde0a6 Bundled Themes: Twenty Twenty inconsistent top and bottom margins for .alignwide and .alignfull on Chrome vs Safari.
Fixes the inconsistent margins for alignwide and alignfull classes used on Cover Block when it is the first block on a page.

Brings the changes from [47820] to the 5.4 branch.

Props kthmd, utz119, nikhilbhansi.
Fixes #49435.

Built from https://develop.svn.wordpress.org/branches/5.4@47823


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:15:08 +00:00
whyisjake
5ed73bff2d Bundled Themes: Twenty Twenty add GPLv2 compatible TikTok icon to the social icon menu.
This adds a GPLv2 compatible TikTok icon to replace the non-compatible TikTok icon and update the readme.txt file. Updates previous commit which used a non-compatible TikTok icon [47589]

This commit brings the changes from [47796] to the 5.4 branch.

Props poena, audrasjb, Emlebrun.
Fixes #49893.

Built from https://develop.svn.wordpress.org/branches/5.4@47822


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:04:09 +00:00
whyisjake
be59f01e5f Bundled Themes: Twenty Nineteen center and right-aligned heading accents appear broken.
Fixes the center and right aligned heading accents so that they align with the text, instead of just staying left-aligned.

Bringing the changes in [47591] to the 5.4 branch.

Props kjellr, melchoyce.
Fixes #49699.


Built from https://develop.svn.wordpress.org/branches/5.4@47806


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-15 22:03:08 +00:00
whyisjake
588d174e50 Bundled Themes: Twenty Twenty inline images in list blocks are not positioned correctly.
Fixes the alignment of inline images in list blocks to match the way they look in the editor.

Backporting the changes here to the 5.4 branch.

Props poena, mayankmajeji, JavierCasares.
Fixes #49793.

Built from https://develop.svn.wordpress.org/branches/5.4@47805


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-15 21:53:07 +00:00
whyisjake
4694a819fe Bundled Themes: Twenty Twenty fix typo in readme.txt.
Fixed TikTok was misspelled as Tik Tok in the readme.txt.

Backporting change to the 5.4 branch.

Props Asif2BD.
Fixes #49932.

Built from https://develop.svn.wordpress.org/branches/5.4@47804


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-15 21:50:09 +00:00
whyisjake
c891e8fd21 Bundled Themes: Twenty Eleven & Twenty Twelve dropdown category widget exceeds parent div when strings are long enough.
Fixes the width of the category dropdown by limiting the width of select items in widgets using max-width: 100%.

Backporting this change to the 5.4 branch.

Props gma992, karmatosed, ianbelanger.
Fixes #37926.


Built from https://develop.svn.wordpress.org/branches/5.4@47803


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-15 21:44:08 +00:00
Sergey Biryukov
70956be227 Themes: Add "Block Editor Styles" and "Wide Blocks" to the list of WordPress theme features.
These were added to Theme Directory API in anticipation of being committed to core for WordPress 5.2+, which has not happened until now.

Follow-up to [meta8273].

Merges [47790] to the 5.4 branch.
See #46272.
Built from https://develop.svn.wordpress.org/branches/5.4@47791


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-14 09:22:08 +00:00
Sergey Biryukov
16f38438f6 Help/About: Move the changelog for WordPress 5.4.1 after the main heading to preserve correct heading hierarchy.
Props sabernhardt, audrasjb.
Fixes #50121.
Built from https://develop.svn.wordpress.org/branches/5.4@47773


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-07 21:52:12 +00:00
Sergey Biryukov
48fec8238a Taxonomy: Restore (un-deprecate) the tag_row_actions filter.
The filter provides a simple way for plugin authors to add actions generically for all taxonomy list tables without looping through each taxonomy individually.

Props joemcgill, delowardev.
Merges [47734] to the 5.4 branch.
Fixes #49808.
Built from https://develop.svn.wordpress.org/branches/5.4@47767


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-06 13:26:09 +00:00
desrosj
6093cc5fbd Build/Test Tools: Introduce a command for restarting the local Docker environment.
This change introduces the env:restart command for easier restarting of the local Docker environment.

Merges [47730] to the 5.4 branch.

Props desrosj, ianbelanger.
Fixes #50039.
Built from https://develop.svn.wordpress.org/branches/5.4@47731


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-01 13:01:08 +00:00