Commit Graph

41280 Commits

Author SHA1 Message Date
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
desrosj
572e7c11fe The 5.4 branch is now WordPress 5.4.2 alpha
Built from https://develop.svn.wordpress.org/branches/5.4@47725


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 20:03:10 +00:00
whyisjake
6fdc173d37 Update the about page for WordPress 5.4.1 on the 5.4 branch
Built from https://develop.svn.wordpress.org/branches/5.4@47702


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:39:29 +00:00
desrosj
5c32636eef WordPress 5.4.1
Built from https://develop.svn.wordpress.org/branches/5.4@47666


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 17:56:08 +00:00
Sergey Biryukov
0a600440f2 Docs: Correct @since versions, remove duplicate comment.
Coding Standards: Fix WPCS issues in `tests/formatting/SanitizeFileName.php`.

Follow-up to [47633], [47638].

Merges [47663], [47664] to the 5.4 branch.
Built from https://develop.svn.wordpress.org/branches/5.4@47665


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 17:28:10 +00:00
Dominik Schilling
aaf7e6038d Bump Akismet external to 4.1.5.
git-svn-id: http://core.svn.wordpress.org/branches/5.4@47429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 16:37:34 +00:00
whyisjake
cdd7f88252 Formatting: Expand sanitize_file_name to have better support for utf8 characters.
Brings the changes in [47638] to the 5.4 branch.

Props: xknown, peterwilsoncc.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 15:54:07 +00:00
whyisjake
3daf349083 Cache API: Ensure proper escaping around the stats method in the cache API.
Brings the changes in [47637] to the 5.4 branch.

Props: nickdaugherty, batmoo, whyisjake, westi.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 15:52:07 +00:00
whyisjake
a6706a1d80 Query: Ensure that only a single post can be returned on date/time based queries.
Brings the changes in [47635] to the 5.4 branch.

Props: sstoqnov, peterwilsoncc.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 15:50:16 +00:00
whyisjake
439012a2ca User: Invalidate user_activation_key on password update.
Brings the changes in [47634] to the 5.4 branch.

Props: sstoqnov, sergeybiryukov.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 15:49:07 +00:00
whyisjake
0c86613369 Customize: Add additional filters to Customizer to prevent JSON corruption.
This solution extends the `wp_insert_post_data` filter to pass in addition to the slashed/sanitized/processed data, and the slashed/sanitized/unprocessed data, to also pass the initial slashed/unsanitized/unprocessed data which was passed into `wp_insert_post()`. This then allows plugins to have complete control over how sanitization is performed based on the post type.

Brings the changes in [47633] to the 5.4 branch.

Props westonruter, peterwilsoncc, sstoqnov, whyisjake, xknown.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 15:47:10 +00:00
Sergey Biryukov
7f28f87e30 Correct version for post WordPress 5.4.1 RC 1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@47624


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-25 20:23:08 +00:00
whyisjake
c6f17ffe3f 5.4.1 Version Bump
Built from https://develop.svn.wordpress.org/branches/5.4@47621


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-24 16:48:08 +00:00
whyisjake
1b069fc4e1 WordPress 5.4.1 RC 1.
Built from https://develop.svn.wordpress.org/branches/5.4@47620


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-24 16:06:09 +00:00