Commit Graph

14946 Commits

Author SHA1 Message Date
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
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
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
whyisjake
0861afcb29 Block Editor: Update WordPress Packages for WordPress 5.4.1
The following packages were updated:

@wordpress/block-directory 1.5.7 ➡️ 1.5.8
@wordpress/block-editor 3.7.7 ➡️ 3.7.8
@wordpress/block-library 2.14.7 ➡️ 2.14.8
@wordpress/edit-post 3.13.9 ➡️ 3.13.10
@wordpress/editor 9.12.7 ➡️ 9.12.8
@wordpress/format-library 1.14.7 ➡️ 1.14.8

Props whyisjake, youknowriad, toro_unit, ellatrix, roo2, noahtallen, arnaudbroes, chrisvanpatten, apeatling, mcsf, jorgefilipecosta, talldanwp, aduth, noisysocks.
Fixes #49974.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-24 15:32:14 +00:00
Sergey Biryukov
6081c85b6c Mail: Make the check for empty post title in wp-mail.php more resilient.
This addresses a regression in [47054], which caused posts sent via email to published with an empty title.

Props whyisjake, Otto42, MarkRH, MattyRob, mukesh27, afragen, pikamander2.
Merges [47580] to the 5.4 branch.
Fixes #49853.
Built from https://develop.svn.wordpress.org/branches/5.4@47581


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-14 11:34:16 +00:00
Sergey Biryukov
b19630479f Docs: Add a @since note for un-deprecated category_link and tag_link filters.
Follow-up to [47576].

Merges [47578] to the 5.4 branch.
See #49759.
Built from https://develop.svn.wordpress.org/branches/5.4@47579


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-14 08:17:11 +00:00
whyisjake
ec3c0b4935 Taxonomy: Un-depracate category_link and tag_link filters.
Depracating these filter might have been an accident, so let's restore.

Props SergeyBiryukov, audrasjb, peterwilsoncc.

Fixes #49759 for the 5.4 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-14 00:35:06 +00:00
whyisjake
5f935ae2fd Media: Remove display: none; from the (visually hidden) <input type="file"> button used in Plupload to select files for uploading. Fixes selecting files in Edge <= 44 and iOS Safari.
Props treecutter, johnbillion, pbiron, isabel_brison, Ipstenu, azaozz.

Fixes #49753 for 5.4.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-14 00:28:10 +00:00
whyisjake
02310525f4 Site Health instantiation prevents use of some hooks by plugins.
As the WP_Site_Health class is instantiated prior to plugins being required and the `plugins_loaded` hook being fired, it prevents plugins from using the following hooks in the functions called by `maybe_create_scheduled_event()`.

Brings [47568] to the 5.4 branch.

Fixes #49824.

Props peterwilsoncc, whyisjake.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-10 03:59:06 +00:00
whyisjake
3209b0f668 Privacy: Make the deprecated wp_get_user_request_data() function available on front end.
Previously, it was accidentally made available only in admin context.

Follow-up to [44606], [47245].
Brings [47555] to the 5.4 branch.

Props garrett-eclipse, johnjamesjacoby, r-a-y, Dono12.

Fixes #49802.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-10 03:02:06 +00:00
whyisjake
45793665bc Accessibility: Fix the headings hierarchy on the Freedoms page.
Props ryelle, afercia.
Bring r47558 to the 5.4 branch.

Fixes #49838.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-10 02:56:06 +00:00
whyisjake
18d2b94345 Customize: Give the WordPress logo a white background for dark mode browsers.
The favicon is transparent, which would normally look fine, but on a dark background it washes out.

Bring the fix in r47564 to the 5.4 branch.

Props DhrRob, audrasjb.

Fixes #49798.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-10 02:53:07 +00:00
whyisjake
f4270351c3 REST API: Fix _fields filtering of registered rest fields.
Use rest_is_field_included when determining which additional fields to include to permit filtering by nested field properties.

Backportting r47511 to the 5.4 branch.

Props Dudo, kadamwhite, TimothyBlynJacobs.
Fixes #49648.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-09 22:54:07 +00:00
whyisjake
3b39d1e4a0 REST API: Fix revisions controller get_item permission check.
r45812 incorrectly introduced a delete_post permissions check into the get_item method, breaking some plugins which requested revisions when generating previews.

Bring this commit back to the 5.4 branch.

Props sorenbronsted, yohannp, TimothyBlynJacobs.

Fixes #49645.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-09 22:52:07 +00:00
whyisjake
2c5a618d63 Privacy: Support additional elements (table, ol, ul) in privacy policy guide new styling
The privacy policy guide supports a lot of HTML, include rules for lists, and ensure proper styling for the rest.

Backports the trunk commit to the 5.4 branch.

Props garrett-eclipse.
Fixes #49772.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-09 22:46:07 +00:00
jorgefilipecosta
114aa78d2a Post WordPress 5.4 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@47543


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 21:13:06 +00:00
jorgefilipecosta
0d03a577d2 WordPress 5.4.
Built from https://develop.svn.wordpress.org/branches/5.4@47541


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 19:56:07 +00:00
desrosj
770768234c Bundled Themes: Bump version numbers and update changelogs in default themes for WordPress 5.4.
Reviewed by desrosj, SergeyBiryukov.
Props ianbelanger, desrosj, SergeyBiryukov.
Merges [47539] to the 5.4 branch.
Fixes #49743.
Built from https://develop.svn.wordpress.org/branches/5.4@47540


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 19:18:06 +00:00
Sergey Biryukov
f19d8ebaa7 Twenty Nineteen: Update style-editor.css and style-rtl.css after running the build task.
Follow-up to [47327], [47339].

Props ianbelanger.
Reviewed by desrosj, SergeyBiryukov.
Merges [47536] and [47537] to the 5.4 branch.
See #48526, #49410, #49743.
Built from https://develop.svn.wordpress.org/branches/5.4@47538


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 19:00:08 +00:00
Sergey Biryukov
2aa359ed0d Help/About: Use CDN URLs for 5.4 About page header images.
Reviewed by desrosj, SergeyBiryukov.
Merges [47532] to the 5.4 branch.
Fixes #49295.
Built from https://develop.svn.wordpress.org/branches/5.4@47533


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-30 18:17:08 +00:00
jorgefilipecosta
1e3fdd647f Post WordPress 5.4 RC 5 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@47525


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:38:08 +00:00
jorgefilipecosta
2278f425ba WordPress 5.4 RC 5.
Built from https://develop.svn.wordpress.org/branches/5.4@47524


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:23:09 +00:00
Sergey Biryukov
285e530687 Site Health: Remove esc_url() used on "Debugging in WordPress" article URL in WP_Fatal_Error_Handler::display_default_error_template().
The function may not be available in some contexts, for example if a fatal error happens in `advanced-cache.php` drop-in.

Props rob006.
Reviewed by jorgefilipecosta, SergeyBiryukov.
Merges [47515] to the 5.4 branch.
Fixes #49709.
Built from https://develop.svn.wordpress.org/branches/5.4@47523


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-27 23:56:08 +00:00
Sergey Biryukov
f1d8ec0715 Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings to be unique for each of the About, Credits, Freedoms, Privacy pages.

Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
Reviewed by ryelle, SergeyBiryukov.
Merges [47521] to the 5.4 branch.
See #49295.
Built from https://develop.svn.wordpress.org/branches/5.4@47522


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-27 23:48:10 +00:00
jorgefilipecosta
1e8ffd2535 Block Editor: Update WordPress Packages WordPress 5.4 RC 5 Take 2.
The following package versions were changed:
@wordpress/edit-post: 3.13.8 -> 3.13.9
Includes PR https://github.com/WordPress/gutenberg/pull/21220

Props aduth, mapk, ItsJonQ.
Merges [47517] to the 5.4 branch.
Fixes: #49717.
Built from https://develop.svn.wordpress.org/branches/5.4@47518


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-27 22:14:10 +00:00
jorgefilipecosta
50ca191262 Block Editor: Update WordPress Packages WordPress 5.4 RC 5.
The following package versions were changed:
@wordpress/annotations: 1.12.2 -> 1.12.3
@wordpress/block-directory: 1.5.6 -> 1.5.7
@wordpress/block-editor: 3.7.6 -> 3.7.7
@wordpress/block-library: 2.14.6 -> 2.14.7
@wordpress/blocks: 6.12.2 -> 6.12.3
@wordpress/components: 9.2.5 -> 9.2.6
@wordpress/core-data: 2.12.2 -> 2.12.3
@wordpress/edit-post: 3.13.7 -> 3.13.8
@wordpress/editor: 9.12.6 -> 9.12.7
@wordpress/format-library: 1.14.6 -> 1.14.7
@wordpress/list-reusable-blocks: 1.13.5 -> 1.13.6
@wordpress/nux: 3.12.5 -> 3.12.6
@wordpress/server-side-render: 1.8.5 -> 1.8.6
Description of editor changes included in the RC available at https://github.com/WordPress/gutenberg/pull/21210.

Props mcsf, aduth.
Merges [47513] to the 5.4 branch.
Fixes: #49716.
Built from https://develop.svn.wordpress.org/branches/5.4@47514


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-27 18:20:15 +00:00
jorgefilipecosta
84693f6267 Post WordPress 5.4 RC 4 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@47505


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-24 21:58:04 +00:00
jorgefilipecosta
7fb55c9ca0 WordPress 5.4 RC 4.
Built from https://develop.svn.wordpress.org/branches/5.4@47504


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-24 21:45:07 +00:00
Sergey Biryukov
34c42a306d Docs: Revert a type change for the $value parameter of WP_Dependencies::add_data() in [47170].
Although described as a string in several places, it's technically not limited to a particular type.

Props westonruter.
Reviewed by jorgefilipecosta, SergeyBiryukov.
Merges [47502] to the 5.4 branch.
Fixes #48303.
Built from https://develop.svn.wordpress.org/branches/5.4@47503


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-24 21:08:09 +00:00
Sergey Biryukov
b102ad5757 Help/About: Fix a typo on the about page and fix a link.
The text "on your" appeared two times. This commit fixes the issue and removes the duplication. It also updates the field guide permalink.

Props garrett-eclipse, ixkaito.
Reviewed by jorgefilipecosta, karmatosed, SergeyBiryukov.
Merges [47500] to the 5.4 branch.
See #49295.
Built from https://develop.svn.wordpress.org/branches/5.4@47501


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-24 15:12:07 +00:00
youknowriad
2ca623e7aa Block Editor: Update WordPress Packages WordPress 5.4 RC 4.
The following package versions were changed:
@wordpress/annotations: 1.12.1 -> 1.12.2
@wordpress/block-directory: 1.5.5 -> 1.5.6
@wordpress/block-editor: 3.7.5 -> 3.7.6
@wordpress/block-library: 2.14.5 -> 2.14.6
@wordpress/blocks: 6.12.1 -> 6.12.2
@wordpress/components: 9.2.4 -> 9.2.5
@wordpress/core-data: 2.12.1 -> 2.12.2
@wordpress/data: 4.14.1 -> 4.14.2
@wordpress/data-controls: 1.8.1 -> 1.8.2
@wordpress/edit-post: 3.13.6 -> 3.13.7
@wordpress/editor: 9.12.5 -> 9.12.6
@wordpress/format-library: 1.14.5 -> 1.14.6
@wordpress/keyboard-shortcuts: 1.1.1 -> 1.1.2
@wordpress/list-reusable-blocks: 1.13.4 -> 1.13.5
@wordpress/notices: 2.0.1 -> 2.0.2
@wordpress/nux: 3.12.4 -> 3.12.5
@wordpress/rich-text: 3.12.1 -> 3.12.2
@wordpress/server-side-render: 1.8.4 -> 1.8.5
@wordpress/viewport: 2.13.1 -> 2.13.2
Description of editor changes included in the RC available at https://github.com/WordPress/gutenberg/pull/21083.

Props itsjonq, mcsf, aduth, jorgefilipecosta.
Merges [43274] to the 5.4 branch.
Fixes: #49688.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-24 10:05:19 +00:00
Sergey Biryukov
6c4a15cb45 Help/About: Add design for 5.4 About page.
Props melchoyce, marybaum, marktimemedia, elmastudio, ryelle, karmatosed, audrasjb, afercia, francina, sabernhardt.
Reviewed by karmatosed, SergeyBiryukov.
Merges [47475] and [47476] to the 5.4 branch.
See #49295.
Built from https://develop.svn.wordpress.org/branches/5.4@47477


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-20 17:45:08 +00:00
jorgefilipecosta
4e6ace079e Post WordPress 5.4 RC 3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@47470


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 21:27:06 +00:00
jorgefilipecosta
e61dc7dad7 WordPress 5.4 RC 3.
Built from https://develop.svn.wordpress.org/branches/5.4@47469


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 21:11:09 +00:00
Sergey Biryukov
f9751ce78a Toolbar: Move the logic for rendering the admin bar on wp_footer to wp_admin_bar_render().
Clarify in the function documentation that it is now called on `wp_body_open` action first, with `wp_footer` as a fallback.

Follow-up to [47221].

Reviewed by whyisjake, SergeyBiryukov.
Merges [47455] to the 5.4 branch.
Fixes #47053.
Built from https://develop.svn.wordpress.org/branches/5.4@47467


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 19:28:08 +00:00
Sergey Biryukov
891db8e7b0 Site Health: Run the first scheduled site health check a day after the initial site setup.
This reduces the chance of displaying incorrect results due to running the check too early in first time setup scenarios.

Props Clorith, garrett-eclipse, roytanck, joostdevalk.
Reviewed by whyisjake, SergeyBiryukov.
Merges [47456] to the 5.4 branch.
Fixes #49577.
Built from https://develop.svn.wordpress.org/branches/5.4@47466


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 19:25:07 +00:00
Sergey Biryukov
15246c6e39 Menus: When adding a label for special pages in wp_setup_nav_menu_item() strip all HTML tags, as the label is escaped on output.
Follow-up to [47211], [47213].

Props stiofansisland.
Reviewed by whyisjake, SergeyBiryukov.
Merges [47458] to the 5.4 branch.
Fixes #49374.
Built from https://develop.svn.wordpress.org/branches/5.4@47465


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 19:21:07 +00:00
Sergey Biryukov
69bcd513c9 Help/About: Use consistent vertical whitespace between sections on Freedoms page.
Props chetan200891.
Reviewed by whyisjake, SergeyBiryukov.
Merges [47443] to the 5.4 branch.
Fixes #49619.
Built from https://develop.svn.wordpress.org/branches/5.4@47464


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 19:17:09 +00:00
jorgefilipecosta
fb05ac9233 Block Editor: Update WordPress Packages WordPress 5.4 RC 3.
The following package versions were changed:
@wordpress/block-directory: 1.5.4 -> 1.5.5
@wordpress/block-editor: 3.7.4 -> 3.7.5
@wordpress/block-library: 2.14.4 -> 2.14.5
@wordpress/components: 9.2.3 -> 9.2.4
@wordpress/dependency-extraction-webpack-plugin: 2.3.0 -> 2.4.0
@wordpress/edit-post: 3.13.5 -> 3.13.6
@wordpress/editor: 9.12.4 -> 9.12.5
@wordpress/format-library: 1.14.4 -> 1.14.5
@wordpress/list-reusable-blocks: 1.13.3 -> 1.13.4
@wordpress/nux: 3.12.3 -> 3.12.4
@wordpress/server-side-render: 1.8.3 -> 1.8.4

Props aduth.
Merges [47462] to the 5.4 branch.
Fixes: #49657.
Built from https://develop.svn.wordpress.org/branches/5.4@47463


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-17 19:08:20 +00:00