Compare commits

...

94 Commits
6.3.2 ... 5.4.2

Author SHA1 Message Date
desrosj
9da0a44b3e Tag 5.4.2
Built from https://develop.svn.wordpress.org/tags/5.4.2@48007


git-svn-id: http://core.svn.wordpress.org/tags/5.4.2@47775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:41: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
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
Dion Hulse
24285f9235 Bump Akismet external to 4.1.4.
See #49662.


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-20 06:14:57 +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
Sergey Biryukov
1411c7b590 Tests: Download Chromium for e2e tests only.
This reduces the chance of random failures due to network timeouts and avoids the overhead of unnecessarily downloading ~120 MB for PHP or JS tests.

Reviewed by mikeschroder, gziolo.
Merges [47449] and [47459] to the 5.4 branch.
Fixes #49621.
Built from https://develop.svn.wordpress.org/branches/5.4@47460


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-16 12:27:09 +00:00
Tammie Lister
29f1b547fe Post WordPress 5.4 RC 2 version bump
Built from https://develop.svn.wordpress.org/branches/5.4@47447


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-10 21:39:08 +00:00
Tammie Lister
403a569d27 WordPress 5.4 RC 2
Built from https://develop.svn.wordpress.org/branches/5.4@47446


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-10 21:25:10 +00:00
Sergey Biryukov
0389bf8293 Bundled Themes: Update calendar widget styles for 5.4 markup to fix the alignment of a single month link.
Follow-up to [47405].

Props sabernhardt.
Reviewed by ianbelanger, SergeyBiryukov.
Merges [47444] to the 5.4 branch.
Fixes #49549.
Built from https://develop.svn.wordpress.org/branches/5.4@47445


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-10 20:56:09 +00:00
aduth
1d596890a0 Block Editor: Update WordPress Packages WordPress 5.4 RC 2.
The following package versions were changed:
@wordpress/block-directory: 1.5.3 -> 1.5.4
@wordpress/block-editor: 3.7.3 -> 3.7.4
@wordpress/block-library: 2.14.3 -> 2.14.4
@wordpress/edit-post: 3.13.4 -> 3.13.5
@wordpress/editor: 9.12.3 -> 9.12.4
@wordpress/format-library: 1.14.3 -> 1.14.4

Props aduth, gziolo, mapk.
Merges [47441] to the 5.4 branch.
Fixes: #49611.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-10 15:42:14 +00:00
Sergey Biryukov
768c11f15c Bundled Themes: Twenty Twenty content font CSS selector is too important - updated.
This adds more selectors for headings, tables, addresses, cite, figcaption, file and caption blocks to make the font-family match as before [47133].

Props alexandreb3, ianbelanger.
Reviewed by SergeyBiryukov.
Merges [47439] to the 5.4 branch.
Fixes #49318.
Built from https://develop.svn.wordpress.org/branches/5.4@47440


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-10 11:04:08 +00:00
Sergey Biryukov
a9f8da02b6 Help/About: Update and correct some strings for 5.4 About page.
Props garrett-eclipse, Ipstenu, ocean90, tobifjellner, la-geek.
Reviewed by ocean90, SergeyBiryukov.
Merges [47436] to the 5.4 branch.
See #49295.
Built from https://develop.svn.wordpress.org/branches/5.4@47438


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-09 00:16:05 +00:00
Sergey Biryukov
7b8210096c REST API: Fix typo in disable-custom-gradients theme feature description.
Props Ipstenu, tobifjellner, pixelverbieger.
Reviewed by ocean90, johnbillion, SergeyBiryukov.
Merges [47432] to the 5.4 branch.
Fixes #49585.
Built from https://develop.svn.wordpress.org/branches/5.4@47437


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-09 00:14:41 +00:00
Peter Wilson
df78784786 Branch 5.4
Built from https://develop.svn.wordpress.org/branches/5.4@47425


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-04 01:15:11 +00:00
217 changed files with 6854 additions and 4584 deletions

View File

@@ -20,14 +20,12 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header">
<div class="about__header-title">
<h1>
<span><?php echo $display_version; ?></span>
<p>
<?php _e( 'WordPress' ); ?>
</h1>
<span><?php echo $display_version; ?></span>
</p>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
@@ -42,14 +40,74 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</nav>
</div>
<div class="about__section is-feature">
<?php _e( 'Say hello to more and better.' ); ?>
<br />
<?php _e( 'More ways to make your pages come alive. With easier ways to get it all done and looking better than everand boosts in speed you can feel.' ); ?>
<div class="about__section is-feature has-accent-background-color">
<h1><?php _e( 'Say hello to more and better.' ); ?></h1>
<p><?php _e( 'More ways to make your pages come alive. With easier ways to get it all done and looking better than ever&mdash;and boosts in speed you can feel.' ); ?></p>
</div>
<div class="about__section is-feature">
<p>
<hr />
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
23
),
'5.4.2',
number_format_i18n( 23 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.4.2' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
11
),
'5.4.1',
number_format_i18n( 11 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.4.1' )
)
);
?>
</p>
</div>
</div>
<hr />
<div class="about__section has-2-columns has-subtle-background-color">
<h2 class="is-section-header">
<?php
printf(
/* translators: %s: The current WordPress version number. */
@@ -57,39 +115,41 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
$display_version
);
?>
</p>
<p>
<?php _e( 'Every major release adds more to the block editor.' ); ?>
</p>
<p>
<?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?>
</p>
<p>
<?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the webs top services.' ); ?>
</p>
<p>
<?php _e( 'More ways to make your vision real, and put blocks in the perfect place — even if a particular kind of block is new to you. More efficient processes.' ); ?>
</p>
<p>
<?php _e( 'And more speed everywhere, so as you build sections or galleries, or just type in a line of prose, you can feel how much faster your work flows.' ); ?>
</p>
</h2>
<div class="column">
<p>
<?php _e( 'Every major release adds more to the block editor.' ); ?>
</p>
<p>
<?php _e( 'More ways to make posts and pages come alive with your best images.' ); ?>
<?php _e( 'More ways to bring your visitors in, and keep them engaged, with the richness of embedded media from the web&#8217;s top services.' ); ?>
</p>
</div>
<div class="column">
<p>
<?php _e( 'More ways to make your vision real, and put blocks in the perfect place&mdash;even if a particular kind of block is new to you. More efficient processes.' ); ?>
</p>
<p>
<?php _e( 'And more speed everywhere, so as you build sections or galleries, or just type in a line of prose, you can feel how much faster your work flows.' ); ?>
</p>
</div>
</div>
<hr />
<div class="about__section has-2-columns">
<div class="column is-edge-to-edge has-accent-background-color">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cpath d='M346.7 37.645s100.5-2.8 102.6 0c2.1 2.8 0 124.999 0 124.999l-106.9 2.8 4.3-127.8z' fill='%232CA8EB'/%3E%3Cpath d='M343.5 185.844s100.5-1.9 102.6 0c2.1 1.9 1.1 125.9 4.3 127.8 3.2 1.9-100.5 1.9-104.8 2.8-4.3.9-2.1-130.6-2.1-130.6z' fill='%237CAED2'/%3E%3Cpath d='M195.6 186.744s102.7 2.8 106.9 2.8c4.2 0 7.4 120.4 4.2 122.2-3.2 1.9-106.9 2.8-106.9 2.8s2.1-126.9-4.2-127.8z' fill='%2381A4D4'/%3E%3Cpath d='M152.8 192.344s2.1 124.1 4.3 126.9c2.1 2.7-109.1 1.8-109.1 1.8v-128.7h104.8z' fill='%235DC3D8'/%3E%3Cpath d='M152 464.544H56v-119.8l101-1.7s-8.9 118-5 121.5z' fill='%230574E2'/%3E%3Cpath d='M195 35.844h101.6s-8.6 119.4 0 125c8.6 5.6-101.6 3.7-101.6 3.7v-128.7z' fill='%23216BCE'/%3E%3Cpath d='M302.3 463.844s-102.9 2.8-105.1 0c-2.2-2.8 0-125 0-125l109.5-2.8-4.4 127.8z' fill='%231C99D1'/%3E%3Cpath d='M346.2 464.544s-2.1-124.1-4.3-126.9c-2.1-2.8 109.1-1.9 109.1-1.9v128.7H346.2v.1z' fill='%231B44DD'/%3E%3Cpath d='M50.2 35.844s100.5-1.9 102.6 0c2.1 1.9 1.1 125.9 4.3 127.8 3.2 1.9-100.5 1.9-104.8 2.8-4.3.9-2.1-130.6-2.1-130.6z' fill='%231B36BC'/%3E%3C/svg%3E" alt="" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h2><?php _e( 'Two new blocks. And better blocks overall.' ); ?></h2>
<ul>
<li><?php _e( 'Two brand-new blocks: Social Links and Buttons make adding interactive features fast and easy.' ); ?></li>
<li><?php _e( 'Two brand-new blocks: Social Icons and Buttons make adding interactive features fast and easy.' ); ?></li>
<li><?php _e( 'New ways with color: Gradients in the Buttons and Cover block, toolbar access to color options in Rich Text blocks, and for the first time, color options in the Group and Columns blocks.' ); ?></li>
<li><?php _e( 'Guess a whole lot less! Version 5.4 streamlines the whole process for placing and replacing multimedia in every block. Now it works the same way in almost every block!' ); ?></li>
<li><?php _e( 'And if youve ever thought your image in the Media+Text block should link to something elseperhaps a picture of a brochure should download that brochure as a document? Well, now it can.' ); ?></li>
<li><?php _e( 'And if you&#8217;ve ever thought your image in the Media+Text block should link to something else&mdash;perhaps a picture of a brochure should download that brochure as a document? Well, now it can.' ); ?></li>
</ul>
</div>
</div>
@@ -101,22 +161,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<li><?php _e( 'Clearer block navigation with block breadcrumbs. And easier selection once you get there.' ); ?></li>
<li><?php _e( 'For when you need to navigate with the keyboard, better tabbing and focus. Plus, you can tab over to the sidebar of nearly any block.' ); ?></li>
<li><?php _e( 'Speed! 14% faster loading of the editor, 51% faster time-to-type!' ); ?></li>
<li><?php _e( 'Tips are gone. In their place, a Welcome Guide window you can bring up when you need itand only when you need itagain and again.' ); ?></li>
<li><?php _e( 'Know at a glance whether youre in a blocks Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode youre in.' ); ?></li>
<li><?php _e( 'Tips are gone. In their place, a Welcome Guide window you can bring up when you need it&mdash;and only when you need it&mdash;again and again.' ); ?></li>
<li><?php _e( 'Know at a glance whether you&#8217;re in a block&#8217;s Edit or Navigation mode. Or, if you have restricted vision, your screen reader will tell you which mode you&#8217;re in.' ); ?></li>
</ul>
<p><?php _e( 'Of course, if you want to work with the very latest tools and features, install the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. Youll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p>
<p><?php _e( 'Of course, if you want to work with the very latest tools and features, install the <a href="https://wordpress.org/plugins/gutenberg/">Gutenberg plugin</a>. You&#8217;ll get to be the first to use new and exciting features in the block editor, before anyone else has seen them!' ); ?></p>
</div>
<div class="column is-edge-to-edge has-accent-background-color">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt="">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cg clip-path='url(%23clip0)'%3E%3Cpath d='M169.6 171.55l-.3 72.3 330.7-1v-72.6l-330.4 1.3z' fill='%230740B3'/%3E%3Cpath d='M291.2 97.85l-1.3-14.8-63.4-.7v76c0 3.6 176.7 4.1 273.5 4.1v-64.5H291.2v-.1z' fill='%230285D7'/%3E%3Cpath d='M500 27.75l-215.5-5.9 5.4 61.2 210.1 2.5v-57.8z' fill='%231730E5'/%3E%3Cpath d='M500 97.85v-12.3l-210.1-2.5 1.3 14.8H500z' fill='%230285D7'/%3E%3Cpath d='M500 97.85v-12.3l-210.1-2.5 1.3 14.8H500z' fill='%231730E5' style='mix-blend-mode:multiply'/%3E%3Cpath d='M255.2 379.75l-1-49.2-229.2.3-2 69.7 477-1.3v-24.3l-244.8 4.8z' fill='%230285D7'/%3E%3Cpath d='M500 424.35v-15l-430.8 1.2-4 51.5 134.6-.5v-34.4c.1-2.8 214.4-2.9 300.2-2.8z' fill='%230878FF'/%3E%3Cpath d='M500 290.05l-246.4 4.3.6 36.2 245.8-.3v-40.2z' fill='%23072CF0'/%3E%3Cpath d='M500 374.95v-44.7l-245.8.3 1 49.2 244.8-4.8z' fill='%230285D7'/%3E%3Cpath d='M500 374.95v-44.7l-245.8.3 1 49.2 244.8-4.8z' fill='%23072CF0' style='mix-blend-mode:multiply'/%3E%3Cpath d='M199.9 461.55v17.6l300.1-2.4v-16.3l-300.1 1.1z' fill='%230285D7'/%3E%3Cpath d='M500 424.35c-85.8-.1-300.1 0-300.1 2.8v34.4l300.1-1.1v-36.1z' fill='%230878FF'/%3E%3Cpath d='M500 424.35c-85.8-.1-300.1 0-300.1 2.8v34.4l300.1-1.1v-36.1z' fill='%230285D7' style='mix-blend-mode:multiply'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0'%3E%3Cpath transform='rotate(-90 23 479.15)' fill='%23fff' d='M23 479.15h457.3v477H23z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E" alt="">
</div>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-edge-to-edge has-accent-background-color">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h500v500H0z'/%3E%3Cpath d='M31.3 284.4c-2-.1 12.2-250.6 12.2-250.6s94.8 4.4 99.7 5.2c.3 21.8 4.1 250.1 4.1 250.1l-116-4.7z' fill='%231730E5'/%3E%3Cpath d='M346.8 467.4l-11.7-305.9 138.2 2.4-3 304.1-123.5-.6z' fill='%230840B3'/%3E%3Cpath d='M287.7 34.9c2.3 0 5.9 398.5 5.9 398.5s-109.6-2.2-115 .6c-5.4 2.8 10.6-400.5 10.6-400.5l98.5 1.4z' fill='%23018BDE'/%3E%3Cpath d='M372.3 138c32.585 0 59-26.415 59-59s-26.415-59-59-59-59 26.415-59 59 26.415 59 59 59z' fill='%23062EF7'/%3E%3Cpath d='M35.8 315c-12.8 0-24.9 2.9-35.8 8.1v148.7c10.8 5.2 22.9 8.1 35.8 8.1 45.6 0 82.5-36.9 82.5-82.5S81.3 315 35.8 315z' fill='%231C87C0'/%3E%3C/svg%3E" alt="" />
</div>
</div>
<div class="column is-vertically-aligned-center">
@@ -124,22 +184,36 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<p><?php _e( '5.4 helps with a variety of privacy issues around the world. So when users and stakeholders ask about regulatory compliance, or how your team handles user data, the answers should be a lot easier to get right.' ); ?></p>
<p><?php _e( 'Take a look:' ); ?></p>
<ul>
<li><?php _e( 'Personal Data Exports include more useful data about what youve done in sessions. Plus, a table of contents!' ); ?></li>
<li><?php _e( 'See where you are when you use Privacy Tools Tables, whether youre erasing or exporting.' ); ?></li>
<li><?php _e( 'Plus, little enhancements throughout give the Privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li>
<li><?php _e( 'Now personal data exports include users session information and users location data from the community events widget. Plus, a table of contents!' ); ?></li>
<li><?php _e( 'See progress as you process export and erasure requests through the privacy tools.' ); ?></li>
<li><?php _e( 'Plus, little enhancements throughout give the privacy tools a little cleaner look. Your eyes will thank you!' ); ?></li>
</ul>
</div>
</div>
<hr />
<div class="about__section has-2-columns has-subtle-background-color">
<h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2>
<div class="about__section ">
<div class="column has-subtle-background-color">
<h2 class="is-section-header"><?php _e( 'Just for developers' ); ?></h2>
</div>
</div>
<hr class="is-small" />
<div class="about__section">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='500' viewbox='0 0 1000 500' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M761 360.917H428v66.8h333v-66.8z' fill='%230574E2'/%3E%3Cpath d='M921 399.801H592.2v99.7H921v-99.7z' fill='%231C99D1'/%3E%3Cpath d='M288.1 378.963c46.392 0 84-37.496 84-83.749 0-46.253-37.608-83.748-84-83.748s-84 37.495-84 83.748c0 46.253 37.608 83.749 84 83.749z' fill='%230F7DEA'/%3E%3Cpath d='M553.3 191.426H272.5v85.742h280.8v-85.742z' fill='%231730E5'/%3E%3Cpath d='M785 151.545H499.4v77.169H785v-77.169z' fill='%231C99D1'/%3E%3Cpath d='M777.3 284.247c50.258 0 91-40.62 91-90.728 0-50.107-40.742-90.727-91-90.727s-91 40.62-91 90.727c0 50.108 40.742 90.728 91 90.728z' fill='%231826D3'/%3E%3Cpath d='M635 33.898H413v101.695h222V33.898zM1000 303.091H708v76.769h292v-76.769zM366 102.692H0v66.799h366v-66.799z' fill='%230574E2'/%3E%3Cpath d='M275 24.925H96v93.719h179V24.925z' fill='%231C99D1'/%3E%3Cpath d='M861 0H573v66.8h288V0z' fill='%231730E5'/%3E%3Cpath d='M436 440.678c35.346 0 64-28.568 64-63.809 0-35.24-28.654-63.808-64-63.808-35.346 0-64 28.568-64 63.808 0 35.241 28.654 63.809 64 63.809z' fill='%23236FE8'/%3E%3Cpath d='M428 449.651H171.4V500H428v-50.349z' fill='%231C99D1'/%3E%3Cpath d='M318 404.786H77v63.908h241v-63.908z' fill='%231826D3'/%3E%3Cpath d='M818 258.225H600v73.281h218v-73.281zM613 117.647H456v93.719h157v-93.719zM96.1 198.604c18.833 0 34.1-15.221 34.1-33.998 0-18.776-15.267-33.998-34.1-33.998-18.833 0-34.1 15.222-34.1 33.998 0 18.777 15.267 33.998 34.1 33.998z' fill='%231C99D1'/%3E%3C/svg%3E" alt="">
</div>
</div>
<hr class="is-small" />
<div class="about__section has-2-columns">
<div class="column">
<h3><?php _e( 'Add custom fields to menu items—natively' ); ?></h3>
<p>
<?php _e( 'Two new actions let you add custom fields to menu itemswithout a plugin and without writing custom walkers.' ); ?>
<?php _e( 'Two new actions let you add custom fields to menu items&mdash;without a plugin and without writing custom walkers.' ); ?>
</p>
<p>
<?php
@@ -160,7 +234,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
?>
</p>
<p>
<?php _e( 'Check your code and see where these new actions can replace your custom code, and if youre concerned about duplication, add a check for the WordPress version.' ); ?>
<?php _e( 'Check your code and see where these new actions can replace your custom code, and if you&#8217;re concerned about duplication, add a check for the WordPress version.' ); ?>
</p>
</div>
<div class="column">
@@ -174,19 +248,20 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<div class="about__section is-feature">
<p>
<?php
printf(
/* translators: %s: WordPress 5.4 Field Guide link. */
__( 'Theres lots more for developers to love in WordPress 5.4. To discover more and learn how to make these changes shine on your on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide.</a>' ),
'https://make.wordpress.org/core/?p=80034'
);
?>
</p>
<p>
<?php _e( 'Finally, a note about tooling. If youre a Composer fan, version 5.4 supports this more modern tooling for PHPUnit and external libraries.' ); ?>
</p>
<hr class="is-small" />
<div class="about__section">
<div class="column">
<p>
<?php
printf(
/* translators: %s: WordPress 5.4 Field Guide link. */
__( 'There&#8217;s lots more for developers to love in WordPress 5.4. To discover more and learn how to make these changes shine on your sites, themes, plugins and more, check the <a href="%s">WordPress 5.4 Field Guide</a>.' ),
'https://make.wordpress.org/core/2020/03/03/wordpress-5-4-field-guide/'
);
?>
</p>
</div>
</div>
<hr />

View File

@@ -22,14 +22,12 @@ $credits = wp_credits();
<div class="about__header">
<div class="about__header-title">
<h1>
<span><?php echo $display_version; ?></span>
<p>
<?php _e( 'WordPress' ); ?>
</h1>
<span><?php echo $display_version; ?></span>
</p>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
@@ -44,32 +42,43 @@ $credits = wp_credits();
</nav>
</div>
<div class="about__section">
<div class="about__section is-feature">
<div class="column">
<h2><?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?></h2>
<h1><?php _e( 'Credits' ); ?></h1>
<?php if ( ! $credits ) : ?>
<p>
<?php
if ( ! $credits ) {
printf(
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
__( 'https://wordpress.org/about/' ),
__( 'https://make.wordpress.org/' )
);
} else {
printf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
}
printf(
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
__( 'https://wordpress.org/about/' ),
__( 'https://make.wordpress.org/' )
);
?>
</p>
<?php else : ?>
<p>
<?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?>
</p>
<p>
<?php
printf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
?>
</p>
<?php endif; ?>
</div>
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" />
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='300' viewbox='0 0 1000 300' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h1000v300H0z'/%3E%3Cpath style='mix-blend-mode:multiply' d='M39.6 140.22l931.1 3.36.8 76.5-929.5 6.6-2.4-86.46z' fill='%23216DD2'/%3E%3Cpath style='mix-blend-mode:multiply' d='M963.7 275.14s-.9-59.58-1-64.14c-.1-4.2-932.3 1.74-932.3 1.74L29 268.48v8.4' fill='%237FCDE6'/%3E%3Cpath style='mix-blend-mode:multiply' d='M958 73.32L47.8 70.26l1.2 78.66 907.3 4.26 1.7-79.86z' fill='%23072CF0'/%3E%3Cpath style='mix-blend-mode:multiply' d='M34 91.32l910.4-2.16L939.2 21 33.3 23.82l.7 67.5z' fill='%230188D9'/%3E%3C/svg%3E" alt="" />
</div>
</div>

View File

@@ -21,17 +21,19 @@
.about__container {
/* Section backgrounds */
--background: #f4efe1;
--subtle-background: #d7d2c5;
--background: #f3f4f5;
--subtle-background: #bde7f0;
/* Main text color */
--text: #413e38;
--text: #32373c;
--text-light: #f3f4f5;
/* Navigation colors. */
--nav-background: #fefcf7;
--nav-color: #716d64;
--nav-background: #216bce;
--nav-border: #1730e5;
--nav-color: #f3f4f5;
/* Reds, used as accents & in header. */
--accent-1: #bd3854;
--accent-2: #5f1b29;
--accent-3: #321017;
--accent-1: #1730e5;
--accent-2: #216bce;
--accent-3: #bde7f0;
}
/*------------------------------------------------------------------------------
@@ -96,17 +98,20 @@
}
.about__section {
background: #F4EFE1;
background: #f3f4f5;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: #BD3854;
color: #f3f4f5;
color: var(--text-light);
background-color: #1730e5;
background-color: var(--accent-1);
}
.about__container .has-subtle-background-color {
background-color: #D7D2C5;
background-color: #bde7f0;
background-color: var(--subtle-background);
}
@@ -124,6 +129,10 @@
padding: 0;
}
.about__section .column p:first-of-type {
margin-top: 0;
}
.about__section .column p:last-of-type {
margin-bottom: 0;
}
@@ -133,6 +142,11 @@
padding: 32px 32px 0;
}
/* Section header is alone in a container. */
.about__section .is-section-header:first-child:last-child {
padding: 0;
}
.about__section.is-feature {
padding: 32px;
}
@@ -141,6 +155,10 @@
margin: 0;
}
.about__section.is-feature p + p {
margin-top: 1rem;
}
.about__section.has-2-columns,
.about__section.has-3-columns,
.about__section.has-4-columns {
@@ -287,16 +305,21 @@
}
.about__container h1 {
font-size: 5em;
line-height: 1;
margin: 0 0 1em;
padding: 0;
font-weight: 600;
color: inherit;
}
.about__container h1,
.about__container h2 {
margin-top: 0;
font-size: 1.4em;
line-height: 1.4;
}
.about__container h3 {
.about__container h3,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1em;
}
@@ -307,7 +330,8 @@
}
.about__section a {
color: #5f1b29;
color: #1730e5;
color: var(--accent-1);
text-decoration: underline;
}
@@ -343,6 +367,7 @@
align-items: center;
justify-content: center;
height: 100%;
overflow: hidden;
}
.about__container .about__image img {
@@ -357,6 +382,10 @@
border: none;
}
.about__container hr.is-small {
height: 8px;
}
.about__container div.updated,
.about__container div.error,
.about__container .notice {
@@ -370,19 +399,10 @@
.about__section.is-feature {
font-size: 1.6em;
font-weight: 600;
}
@media screen and (max-width: 782px) {
.about__container h1 {
font-size: 4em;
}
text-align: center;
}
@media screen and (max-width: 480px) {
.about__container h1 {
font-size: 3.2em;
}
.about__section.is-feature {
font-size: 1.4em;
font-weight: 500;
@@ -392,16 +412,17 @@
/* 1.3 - Header */
.about__header {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
-ms-grid-rows: 1fr 1fr;
grid-template-rows: 1fr 1fr;
min-height: 28em;
max-height: 36em;
height: 90vh;
margin-bottom: 32px;
background-color: #f3f4f5;
background-color: var(--background);
background-repeat: no-repeat;
background-position: top left;
background-size: contain;
background-image: url('https://s.w.org/images/core/5.4/header-diagonal.svg');
}
.rtl .about__header {
background-image: url('https://s.w.org/images/core/5.4/header-diagonal-rtl.svg');
}
.about__header > div {
@@ -413,56 +434,30 @@
}
.about__header-title {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
grid-row: 1/span 2;
padding: 32px;
background-color: #BD3854;
background-color: var(--accent-1);
color: white;
padding: 32px;
min-height: 24em;
max-height: 32em;
height: 80vh;
padding: 0 32px;
}
.about__header-title h1 {
padding: 0;
color: inherit;
}
.about__header-title h1 span {
display: block;
font-weight: 600;
font-size: 1.2em;
line-height: 1;
}
.about__header-badge {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 1;
grid-row: 1;
background-color: #5f1b29;
background-color: var(--accent-2);
.about__header-title p {
margin: 0;
padding: 32px;
justify-content: flex-end;
padding: 0;
font-size: 4em;
line-height: 1;
font-weight: 500;
color: #1730e5;
color: var(--accent-1);
}
.about__header-badge img {
align-self: flex-start;
max-width: 100%;
.about__header-title p span {
display: inline-block;
color: #216bce;
color: var(--accent-2);
}
.about__header-text {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 2;
grid-row: 2;
padding: 32px;
background-color: #321017;
background-color: var(--accent-3);
color: white;
padding: 16px 32px 32px;
font-size: 1.5em;
line-height: 1.4;
}
@@ -472,17 +467,13 @@
}
.about__header-navigation {
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1/span 2;
-ms-grid-row: 3;
grid-row: 3;
padding-top: 0;
background: #FEFCF7;
background: #216bce;
background: var(--nav-background);
color: #716d64;
color: #f3f4f5;
color: var(--nav-color);
border-bottom: 3px solid currentColor;
border-bottom: 3px solid #1730e5;
border-bottom: 3px solid var(--nav-border);
}
.about__header-navigation .nav-tab {
@@ -499,40 +490,39 @@
.about__header-navigation .nav-tab:hover,
.about__header-navigation .nav-tab:active {
background-color: #F4EFE1;
background-color: var(--background);
background-color: #1730e5;
background-color: var(--accent-1);
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
border-width: 0 0 6px;
color: #BD3854;
color: var(--accent-1);
border-color: currentColor;
border-color: #bde7f0;
border-color: var(--accent-3);
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
background-color: transparent;
border-color: currentColor;
background-color: #1730e5;
background-color: var(--accent-1);
border-color: #bde7f0;
border-color: var(--accent-3);
}
@media screen and (max-width: 782px) {
.about__container .about__header-text {
font-size: 1.4em;
}
}
@media screen and (max-width: 600px) {
.about__header {
display: block;
min-height: unset;
max-height: unset;
.about__header-title {
min-height: 0;
max-height: none;
height: auto;
}
.about__header-badge {
justify-content: flex-start;
/*
* 60% is a "magic" number to create a top offset approx-equal to the height of the background image,
* which scales to match the container width.
*/
padding-top: 60%;
}
.about__header-navigation .nav-tab {
@@ -543,20 +533,22 @@
}
@media screen and (max-width: 480px) {
.about__header-title p {
font-size: 3.2em;
}
.about__header-navigation .nav-tab {
float: none;
display: block;
margin-bottom: 0;
padding: 16px 16px;
border-right-width: 3px;
border-right-width: 6px;
border-bottom: none;
}
.about__header-navigation .nav-tab-active {
border-bottom: none;
border-right-width: 3px;
background: #F4EFE1;
background: var(--background);
border-right-width: 6px;
}
}
@@ -604,7 +596,7 @@
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
color: #413E38;
color: #32373c;
color: var(--text);
}
@@ -1090,10 +1082,6 @@
margin: 0.6em 0;
}
.freedoms-php .has-4-columns {
margin-bottom: 40px;
}
.freedoms-php .column .freedoms-image {
background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
background-size: 100%;

File diff suppressed because one or more lines are too long

View File

@@ -20,17 +20,19 @@
.about__container {
/* Section backgrounds */
--background: #f4efe1;
--subtle-background: #d7d2c5;
--background: #f3f4f5;
--subtle-background: #bde7f0;
/* Main text color */
--text: #413e38;
--text: #32373c;
--text-light: #f3f4f5;
/* Navigation colors. */
--nav-background: #fefcf7;
--nav-color: #716d64;
--nav-background: #216bce;
--nav-border: #1730e5;
--nav-color: #f3f4f5;
/* Reds, used as accents & in header. */
--accent-1: #bd3854;
--accent-2: #5f1b29;
--accent-3: #321017;
--accent-1: #1730e5;
--accent-2: #216bce;
--accent-3: #bde7f0;
}
/*------------------------------------------------------------------------------
@@ -95,17 +97,20 @@
}
.about__section {
background: #F4EFE1;
background: #f3f4f5;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: #BD3854;
color: #f3f4f5;
color: var(--text-light);
background-color: #1730e5;
background-color: var(--accent-1);
}
.about__container .has-subtle-background-color {
background-color: #D7D2C5;
background-color: #bde7f0;
background-color: var(--subtle-background);
}
@@ -123,6 +128,10 @@
padding: 0;
}
.about__section .column p:first-of-type {
margin-top: 0;
}
.about__section .column p:last-of-type {
margin-bottom: 0;
}
@@ -132,6 +141,11 @@
padding: 32px 32px 0;
}
/* Section header is alone in a container. */
.about__section .is-section-header:first-child:last-child {
padding: 0;
}
.about__section.is-feature {
padding: 32px;
}
@@ -140,6 +154,10 @@
margin: 0;
}
.about__section.is-feature p + p {
margin-top: 1rem;
}
.about__section.has-2-columns,
.about__section.has-3-columns,
.about__section.has-4-columns {
@@ -286,16 +304,21 @@
}
.about__container h1 {
font-size: 5em;
line-height: 1;
margin: 0 0 1em;
padding: 0;
font-weight: 600;
color: inherit;
}
.about__container h1,
.about__container h2 {
margin-top: 0;
font-size: 1.4em;
line-height: 1.4;
}
.about__container h3 {
.about__container h3,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1em;
}
@@ -306,7 +329,8 @@
}
.about__section a {
color: #5f1b29;
color: #1730e5;
color: var(--accent-1);
text-decoration: underline;
}
@@ -342,6 +366,7 @@
align-items: center;
justify-content: center;
height: 100%;
overflow: hidden;
}
.about__container .about__image img {
@@ -356,6 +381,10 @@
border: none;
}
.about__container hr.is-small {
height: 8px;
}
.about__container div.updated,
.about__container div.error,
.about__container .notice {
@@ -369,19 +398,10 @@
.about__section.is-feature {
font-size: 1.6em;
font-weight: 600;
}
@media screen and (max-width: 782px) {
.about__container h1 {
font-size: 4em;
}
text-align: center;
}
@media screen and (max-width: 480px) {
.about__container h1 {
font-size: 3.2em;
}
.about__section.is-feature {
font-size: 1.4em;
font-weight: 500;
@@ -391,16 +411,17 @@
/* 1.3 - Header */
.about__header {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
-ms-grid-rows: 1fr 1fr;
grid-template-rows: 1fr 1fr;
min-height: 28em;
max-height: 36em;
height: 90vh;
margin-bottom: 32px;
background-color: #f3f4f5;
background-color: var(--background);
background-repeat: no-repeat;
background-position: top right;
background-size: contain;
background-image: url('https://s.w.org/images/core/5.4/header-diagonal.svg');
}
.rtl .about__header {
background-image: url('https://s.w.org/images/core/5.4/header-diagonal-rtl.svg');
}
.about__header > div {
@@ -412,56 +433,30 @@
}
.about__header-title {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
grid-row: 1/span 2;
padding: 32px;
background-color: #BD3854;
background-color: var(--accent-1);
color: white;
padding: 32px;
min-height: 24em;
max-height: 32em;
height: 80vh;
padding: 0 32px;
}
.about__header-title h1 {
padding: 0;
color: inherit;
}
.about__header-title h1 span {
display: block;
font-weight: 600;
font-size: 1.2em;
line-height: 1;
}
.about__header-badge {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 1;
grid-row: 1;
background-color: #5f1b29;
background-color: var(--accent-2);
.about__header-title p {
margin: 0;
padding: 32px;
justify-content: flex-end;
padding: 0;
font-size: 4em;
line-height: 1;
font-weight: 500;
color: #1730e5;
color: var(--accent-1);
}
.about__header-badge img {
align-self: flex-start;
max-width: 100%;
.about__header-title p span {
display: inline-block;
color: #216bce;
color: var(--accent-2);
}
.about__header-text {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 2;
grid-row: 2;
padding: 32px;
background-color: #321017;
background-color: var(--accent-3);
color: white;
padding: 16px 32px 32px;
font-size: 1.5em;
line-height: 1.4;
}
@@ -471,17 +466,13 @@
}
.about__header-navigation {
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1/span 2;
-ms-grid-row: 3;
grid-row: 3;
padding-top: 0;
background: #FEFCF7;
background: #216bce;
background: var(--nav-background);
color: #716d64;
color: #f3f4f5;
color: var(--nav-color);
border-bottom: 3px solid currentColor;
border-bottom: 3px solid #1730e5;
border-bottom: 3px solid var(--nav-border);
}
.about__header-navigation .nav-tab {
@@ -498,40 +489,39 @@
.about__header-navigation .nav-tab:hover,
.about__header-navigation .nav-tab:active {
background-color: #F4EFE1;
background-color: var(--background);
background-color: #1730e5;
background-color: var(--accent-1);
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
border-width: 0 0 6px;
color: #BD3854;
color: var(--accent-1);
border-color: currentColor;
border-color: #bde7f0;
border-color: var(--accent-3);
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
background-color: transparent;
border-color: currentColor;
background-color: #1730e5;
background-color: var(--accent-1);
border-color: #bde7f0;
border-color: var(--accent-3);
}
@media screen and (max-width: 782px) {
.about__container .about__header-text {
font-size: 1.4em;
}
}
@media screen and (max-width: 600px) {
.about__header {
display: block;
min-height: unset;
max-height: unset;
.about__header-title {
min-height: 0;
max-height: none;
height: auto;
}
.about__header-badge {
justify-content: flex-start;
/*
* 60% is a "magic" number to create a top offset approx-equal to the height of the background image,
* which scales to match the container width.
*/
padding-top: 60%;
}
.about__header-navigation .nav-tab {
@@ -542,20 +532,22 @@
}
@media screen and (max-width: 480px) {
.about__header-title p {
font-size: 3.2em;
}
.about__header-navigation .nav-tab {
float: none;
display: block;
margin-bottom: 0;
padding: 16px 16px;
border-left-width: 3px;
border-left-width: 6px;
border-bottom: none;
}
.about__header-navigation .nav-tab-active {
border-bottom: none;
border-left-width: 3px;
background: #F4EFE1;
background: var(--background);
border-left-width: 6px;
}
}
@@ -603,7 +595,7 @@
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
color: #413E38;
color: #32373c;
color: var(--text);
}
@@ -1089,10 +1081,6 @@
margin: 0.6em 0;
}
.freedoms-php .has-4-columns {
margin-bottom: 40px;
}
.freedoms-php .column .freedoms-image {
background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
background-size: 100%;

File diff suppressed because one or more lines are too long

View File

@@ -3923,8 +3923,7 @@ img {
}
.fileedit-sub input[type="submit"] {
margin-bottom: 0px;
padding: 0px 18px;
margin-bottom: 0;
}
#documentation label[for="docs-list"] {
@@ -3938,7 +3937,6 @@ img {
#documentation input[type="button"] {
margin-bottom: 0;
padding: 8px 18px;
}
#wpfooter {

File diff suppressed because one or more lines are too long

View File

@@ -3922,8 +3922,7 @@ img {
}
.fileedit-sub input[type="submit"] {
margin-bottom: 0px;
padding: 0px 18px;
margin-bottom: 0;
}
#documentation label[for="docs-list"] {
@@ -3937,7 +3936,6 @@ img {
#documentation input[type="button"] {
margin-bottom: 0;
padding: 8px 18px;
}
#wpfooter {

File diff suppressed because one or more lines are too long

View File

@@ -449,7 +449,7 @@ form#tags-filter {
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-comment-status:before {
color: #82878c;
}
@@ -458,7 +458,7 @@ form#tags-filter {
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-comment-status:before {
font: normal 20px/1 dashicons;
speak: none;
@@ -470,7 +470,7 @@ form#tags-filter {
-moz-osx-font-smoothing: grayscale;
}
#post-body .misc-pub-post-status:before,
#post-body .misc-pub-post-status:before,
#post-body .misc-pub-comment-status:before {
content: "\f173";
}
@@ -757,21 +757,32 @@ form#tags-filter {
margin-bottom: 1em;
}
.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),
.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
background-color: #fff;
margin: 0;
padding: 1em;
}
.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),
.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
padding-top: 0;
}
.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
.hide-privacy-policy-tutorial > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
margin: 1em 0;
padding: 0;
}
.policy-text ul li,
.policy-text ol li {
margin-right: 2em;
}
.policy-text ul {
list-style: disc;
}
strong.wp-policy-help, /* For back-compat, see #49282 */
strong.privacy-policy-tutorial {
display: block;

File diff suppressed because one or more lines are too long

View File

@@ -448,7 +448,7 @@ form#tags-filter {
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-comment-status:before {
color: #82878c;
}
@@ -457,7 +457,7 @@ form#tags-filter {
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-response-to:before,
#post-body .misc-pub-comment-status:before {
font: normal 20px/1 dashicons;
speak: none;
@@ -469,7 +469,7 @@ form#tags-filter {
-moz-osx-font-smoothing: grayscale;
}
#post-body .misc-pub-post-status:before,
#post-body .misc-pub-post-status:before,
#post-body .misc-pub-comment-status:before {
content: "\f173";
}
@@ -756,21 +756,32 @@ form#tags-filter {
margin-bottom: 1em;
}
.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),
.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
background-color: #fff;
margin: 0;
padding: 1em;
}
.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
.policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help),
.policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
padding-top: 0;
}
.hide-privacy-policy-tutorial p:not(.privacy-policy-tutorial):not(.wp-policy-help) {
.hide-privacy-policy-tutorial > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) {
margin: 1em 0;
padding: 0;
}
.policy-text ul li,
.policy-text ol li {
margin-left: 2em;
}
.policy-text ul {
list-style: disc;
}
strong.wp-policy-help, /* For back-compat, see #49282 */
strong.privacy-policy-tutorial {
display: block;

File diff suppressed because one or more lines are too long

View File

@@ -25,14 +25,12 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header">
<div class="about__header-title">
<h1>
<span><?php echo $display_version; ?></span>
<p>
<?php _e( 'WordPress' ); ?>
</h1>
<span><?php echo $display_version; ?></span>
</p>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
@@ -48,7 +46,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
<div class="about__section has-subtle-background-color is-feature">
<h2><?php _e( 'Freedoms' ); ?></h2>
<h1><?php _e( 'Freedoms' ); ?></h1>
<p class="about-description">
<?php
@@ -66,26 +64,28 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__section has-4-columns">
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 1st Freedom' ); ?></h3>
<h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2>
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 2nd Freedom' ); ?></h3>
<h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2>
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 3rd Freedom' ); ?></h3>
<h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2>
<p><?php _e( 'To redistribute.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 4th Freedom' ); ?></h3>
<h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2>
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
</div>
</div>
<hr />
<div class="about__section">
<div class="column">
<p>

View File

@@ -719,7 +719,7 @@ class WP_Site_Health {
sprintf(
/* translators: %s: The minimum recommended PHP version. */
__( 'PHP is the programming language used to build and maintain WordPress. Newer versions of PHP are faster and more secure, so staying up to date will help your site&#8217;s overall performance and security. The minimum recommended version of PHP is %s.' ),
$response['recommended_version']
$response ? $response['recommended_version'] : ''
)
),
'actions' => sprintf(
@@ -2218,7 +2218,7 @@ class WP_Site_Health {
*/
public function maybe_create_scheduled_event() {
if ( ! wp_next_scheduled( 'wp_site_health_scheduled_check' ) && ! wp_installing() ) {
wp_schedule_event( time(), 'weekly', 'wp_site_health_scheduled_check' );
wp_schedule_event( time() + DAY_IN_SECONDS, 'weekly', 'wp_site_health_scheduled_check' );
}
}
@@ -2289,7 +2289,13 @@ class WP_Site_Health {
}
if ( ! is_wp_error( $result_fetch ) ) {
$results[] = json_decode( wp_remote_retrieve_body( $result_fetch ) );
$result = json_decode( wp_remote_retrieve_body( $result_fetch ), true );
} else {
$result = false;
}
if ( is_array( $result ) ) {
$results[] = $result;
} else {
$results[] = array(
'status' => 'recommended',

View File

@@ -507,13 +507,14 @@ class WP_Terms_List_Table extends WP_List_Table {
* Filters the action links displayed for each term in the Tags list table.
*
* @since 2.8.0
* @deprecated 3.0.0 Use {@see '{$taxonomy}_row_actions'} instead.
* @since 3.0.0 Deprecated in favor of {@see '{$taxonomy}_row_actions'} filter.
* @since 5.4.2 Restored (un-deprecated).
*
* @param string[] $actions An array of action links to be displayed. Default
* 'Edit', 'Quick Edit', 'Delete', and 'View'.
* @param WP_Term $tag Term object.
*/
$actions = apply_filters_deprecated( 'tag_row_actions', array( $actions, $tag ), '3.0.0', '{$taxonomy}_row_actions' );
$actions = apply_filters( 'tag_row_actions', $actions, $tag );
/**
* Filters the action links displayed for each term in the terms list table.

View File

@@ -1563,19 +1563,4 @@ class WP_Privacy_Data_Removal_Requests_Table extends WP_Privacy_Data_Removal_Req
*/
function _wp_privacy_requests_screen_options() {
_deprecated_function( __FUNCTION__, '5.3.0' );
}
/**
* Return the user request object for the specified request ID.
*
* @since 4.9.6
* @deprecated 5.4.0 Use wp_get_user_request()
* @see wp_get_user_request()
*
* @param int $request_id The ID of the user request.
* @return WP_User_Request|false
*/
function wp_get_user_request_data( $request_id ) {
_deprecated_function( __FUNCTION__, '5.4.0', 'wp_get_user_request()' );
return wp_get_user_request( $request_id );
}

View File

@@ -3231,7 +3231,7 @@ function edit_form_image_editor( $post ) {
?>
</label>
<?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?>
<?php wp_editor( format_to_edit( $post->post_content ), 'attachment_content', $editor_args ); ?>
</div>
<?php

View File

@@ -686,23 +686,46 @@ function set_screen_options() {
}
break;
default:
if ( '_page' === substr( $option, -5 ) || 'layout_columns' === $option ) {
/**
* Filters a screen option value before it is set.
*
* The filter can also be used to modify non-standard [items]_per_page
* settings. See the parent function for a full list of standard options.
*
* Returning false to the filter will skip saving the current option.
*
* @since 2.8.0
* @since 5.4.2 Only applied to options ending with '_page',
* or the 'layout_columns' option.
*
* @see set_screen_options()
*
* @param bool $keep Whether to save or skip saving the screen option value.
* Default false.
* @param string $option The option name.
* @param int $value The number of rows to use.
*/
$value = apply_filters( 'set-screen-option', false, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}
/**
* Filters a screen option value before it is set.
*
* The filter can also be used to modify non-standard [items]_per_page
* settings. See the parent function for a full list of standard options.
* The dynamic portion of the hook, `$option`, refers to the option name.
*
* Returning false to the filter will skip saving the current option.
*
* @since 2.8.0
* @since 5.4.2
*
* @see set_screen_options()
*
* @param bool $keep Whether to save or skip saving the screen option value. Default false.
* @param string $option The option name.
* @param int $value The number of rows to use.
* @param bool $keep Whether to save or skip saving the screen option value.
* Default false.
* @param string $option The option name.
* @param int $value The number of rows to use.
*/
$value = apply_filters( 'set-screen-option', false, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
$value = apply_filters( "set_screen_option_{$option}", false, $option, $value );
if ( false === $value ) {
return;

View File

@@ -278,6 +278,7 @@ function get_theme_feature_list( $api = true ) {
__( 'Features' ) => array(
'accessibility-ready' => __( 'Accessibility Ready' ),
'block-styles' => __( 'Block Editor Styles' ),
'custom-background' => __( 'Custom Background' ),
'custom-colors' => __( 'Custom Colors' ),
'custom-header' => __( 'Custom Header' ),
@@ -300,6 +301,7 @@ function get_theme_feature_list( $api = true ) {
'four-columns' => __( 'Four Columns' ),
'left-sidebar' => __( 'Left Sidebar' ),
'right-sidebar' => __( 'Right Sidebar' ),
'wide-blocks' => __( 'Wide Blocks' ),
),
);

View File

@@ -19,14 +19,12 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header">
<div class="about__header-title">
<h1>
<span><?php echo $display_version; ?></span>
<p>
<?php _e( 'WordPress' ); ?>
</h1>
<span><?php echo $display_version; ?></span>
</p>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
@@ -43,7 +41,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__section">
<div class="column">
<h2><?php _e( 'Privacy' ); ?></h2>
<h1><?php _e( 'Privacy' ); ?></h1>
<p><?php _e( 'From time to time, your WordPress site may send data to WordPress.org &#8212; including, but not limited to &#8212; the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>

View File

@@ -405,7 +405,7 @@ if ( ! is_multisite() && current_user_can( 'edit_themes' ) && $broken_themes ) {
</tr>
<?php foreach ( $broken_themes as $broken_theme ) : ?>
<tr>
<td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : $broken_theme->get_stylesheet(); ?></td>
<td><?php echo $broken_theme->get( 'Name' ) ? $broken_theme->display( 'Name' ) : esc_html( $broken_theme->get_stylesheet() ); ?></td>
<td><?php echo $broken_theme->errors()->get_error_message(); ?></td>
<?php
if ( $can_resume ) {

View File

@@ -56,8 +56,8 @@ do_action( 'set_comment_cookies', $comment, $user, $cookies_consent );
$location = empty( $_POST['redirect_to'] ) ? get_comment_link( $comment ) : $_POST['redirect_to'] . '#comment-' . $comment->comment_ID;
// Add specific query arguments to display the awaiting moderation message.
if ( 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) {
// If user didn't consent to cookies, add specific query arguments to display the awaiting moderation message.
if ( ! $cookies_consent && 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) {
$location = add_query_arg(
array(
'unapproved' => $comment->comment_ID,

View File

@@ -2,7 +2,7 @@
Contributors: wordpressdotorg
Requires at least: WordPress 3.2
Tested up to: 5.0
Stable tag: 3.3
Stable tag: 3.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
@@ -43,6 +43,11 @@ Source: https://github.com/aFarkas/html5shiv
== Changelog ==
= 3.4 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.4
= 3.3 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyeleven/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
Version: 3.3
Version: 3.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -1846,6 +1846,9 @@ video {
.widget a:active {
text-decoration: underline;
}
.widget select {
max-width: 100%;
}
/* Search Widget */
.widget_search form {
@@ -1964,6 +1967,10 @@ section.ephemera .entry-title a span {
display: table-cell;
text-align: center;
}
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
/* Text Widget */
.widget_text ul,

View File

@@ -2,7 +2,7 @@
Contributors: wordpressdotorg
Requires at least: WordPress 4.1
Tested up to: 5.0
Version: 2.5
Version: 2.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
@@ -55,6 +55,11 @@ Source: http://www.genericons.com
== Changelog ==
= 2.6 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.6
= 2.5 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfifteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
Version: 2.5
Version: 2.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -1415,8 +1415,9 @@ img.aligncenter {
display: table-cell;
}
.widget_calendar .wp-calendar-nav .pad {
width: 15%;
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar td,

View File

@@ -2,7 +2,7 @@
Contributors: wordpressdotorg
Requires at least: WordPress 3.6
Tested up to: 5.0
Stable tag: 2.7
Stable tag: 2.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
@@ -50,6 +50,11 @@ Source: http://www.genericons.com
== Changelog ==
= 2.8 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.8
= 2.7 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfourteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
Version: 2.7
Version: 2.8
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

View File

@@ -3,7 +3,7 @@ Contributors: wordpressdotorg
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
Requires at least: 4.9.6
Tested up to: 5.0
Stable tag: 1.4
Stable tag: 1.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -39,6 +39,11 @@ GNU General Public License for more details.
== Changelog ==
= 1.5 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Nineteen_Theme_Changelog#Version_1.5
= 1.4 =
* Released: May 7, 2019

View File

@@ -74,6 +74,15 @@
margin: $size__spacing-unit 0;
width: 1em;
}
&.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
&.has-text-align-right:before {
margin-left: auto;
}
}
/* If we add the border using a regular CSS border, it won't look good on non-retina devices,

View File

@@ -1,6 +1,10 @@
.widget {
margin: 0 0 #{$size__spacing-unit};
.widget-title {
font-size: $font__size-lg;
}
/* Make sure select elements fit in widgets. */
select {
max-width: 100%;
@@ -94,4 +98,9 @@
padding: 0.5em;
}
}
.wp-calendar-nav-prev,
.wp-calendar-nav-next {
width: 40%;
}
}

View File

@@ -28,7 +28,7 @@ h3:lang(ar),
h4:lang(ar),
h5:lang(ar),
h6:lang(ar), figcaption:lang(ar),
.gallery-caption:lang(ar), .editor-post-title__block .editor-post-title__input:lang(ar), .editor-default-block-appender .editor-default-block-appender__content:lang(ar), .wp-block-paragraph.has-drop-cap:lang(ar):not(:focus)::first-letter, .wp-block-table:lang(ar), .wp-block-cover h2:lang(ar),
.gallery-caption:lang(ar), .editor-post-title__block .editor-post-title__input:lang(ar), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ar), .wp-block-paragraph.has-drop-cap:lang(ar):not(:focus)::first-letter, .wp-block-table:lang(ar), .wp-block-cover h2:lang(ar),
.wp-block-cover .wp-block-cover-text:lang(ar), .wp-block-button .wp-block-button__link:lang(ar), .wp-block-quote cite:lang(ar),
.wp-block-quote footer:lang(ar),
.wp-block-quote .wp-block-quote__citation:lang(ar), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ar),
@@ -45,7 +45,7 @@ h3:lang(ary),
h4:lang(ary),
h5:lang(ary),
h6:lang(ary), figcaption:lang(ary),
.gallery-caption:lang(ary), .editor-post-title__block .editor-post-title__input:lang(ary), .editor-default-block-appender .editor-default-block-appender__content:lang(ary), .wp-block-paragraph.has-drop-cap:lang(ary):not(:focus)::first-letter, .wp-block-table:lang(ary), .wp-block-cover h2:lang(ary),
.gallery-caption:lang(ary), .editor-post-title__block .editor-post-title__input:lang(ary), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ary), .wp-block-paragraph.has-drop-cap:lang(ary):not(:focus)::first-letter, .wp-block-table:lang(ary), .wp-block-cover h2:lang(ary),
.wp-block-cover .wp-block-cover-text:lang(ary), .wp-block-button .wp-block-button__link:lang(ary), .wp-block-quote cite:lang(ary),
.wp-block-quote footer:lang(ary),
.wp-block-quote .wp-block-quote__citation:lang(ary), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ary),
@@ -62,7 +62,7 @@ h3:lang(azb),
h4:lang(azb),
h5:lang(azb),
h6:lang(azb), figcaption:lang(azb),
.gallery-caption:lang(azb), .editor-post-title__block .editor-post-title__input:lang(azb), .editor-default-block-appender .editor-default-block-appender__content:lang(azb), .wp-block-paragraph.has-drop-cap:lang(azb):not(:focus)::first-letter, .wp-block-table:lang(azb), .wp-block-cover h2:lang(azb),
.gallery-caption:lang(azb), .editor-post-title__block .editor-post-title__input:lang(azb), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(azb), .wp-block-paragraph.has-drop-cap:lang(azb):not(:focus)::first-letter, .wp-block-table:lang(azb), .wp-block-cover h2:lang(azb),
.wp-block-cover .wp-block-cover-text:lang(azb), .wp-block-button .wp-block-button__link:lang(azb), .wp-block-quote cite:lang(azb),
.wp-block-quote footer:lang(azb),
.wp-block-quote .wp-block-quote__citation:lang(azb), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(azb),
@@ -79,7 +79,7 @@ h3:lang(ckb),
h4:lang(ckb),
h5:lang(ckb),
h6:lang(ckb), figcaption:lang(ckb),
.gallery-caption:lang(ckb), .editor-post-title__block .editor-post-title__input:lang(ckb), .editor-default-block-appender .editor-default-block-appender__content:lang(ckb), .wp-block-paragraph.has-drop-cap:lang(ckb):not(:focus)::first-letter, .wp-block-table:lang(ckb), .wp-block-cover h2:lang(ckb),
.gallery-caption:lang(ckb), .editor-post-title__block .editor-post-title__input:lang(ckb), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ckb), .wp-block-paragraph.has-drop-cap:lang(ckb):not(:focus)::first-letter, .wp-block-table:lang(ckb), .wp-block-cover h2:lang(ckb),
.wp-block-cover .wp-block-cover-text:lang(ckb), .wp-block-button .wp-block-button__link:lang(ckb), .wp-block-quote cite:lang(ckb),
.wp-block-quote footer:lang(ckb),
.wp-block-quote .wp-block-quote__citation:lang(ckb), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ckb),
@@ -96,7 +96,7 @@ h3:lang(fa-IR),
h4:lang(fa-IR),
h5:lang(fa-IR),
h6:lang(fa-IR), figcaption:lang(fa-IR),
.gallery-caption:lang(fa-IR), .editor-post-title__block .editor-post-title__input:lang(fa-IR), .editor-default-block-appender .editor-default-block-appender__content:lang(fa-IR), .wp-block-paragraph.has-drop-cap:lang(fa-IR):not(:focus)::first-letter, .wp-block-table:lang(fa-IR), .wp-block-cover h2:lang(fa-IR),
.gallery-caption:lang(fa-IR), .editor-post-title__block .editor-post-title__input:lang(fa-IR), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(fa-IR), .wp-block-paragraph.has-drop-cap:lang(fa-IR):not(:focus)::first-letter, .wp-block-table:lang(fa-IR), .wp-block-cover h2:lang(fa-IR),
.wp-block-cover .wp-block-cover-text:lang(fa-IR), .wp-block-button .wp-block-button__link:lang(fa-IR), .wp-block-quote cite:lang(fa-IR),
.wp-block-quote footer:lang(fa-IR),
.wp-block-quote .wp-block-quote__citation:lang(fa-IR), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(fa-IR),
@@ -113,7 +113,7 @@ h3:lang(haz),
h4:lang(haz),
h5:lang(haz),
h6:lang(haz), figcaption:lang(haz),
.gallery-caption:lang(haz), .editor-post-title__block .editor-post-title__input:lang(haz), .editor-default-block-appender .editor-default-block-appender__content:lang(haz), .wp-block-paragraph.has-drop-cap:lang(haz):not(:focus)::first-letter, .wp-block-table:lang(haz), .wp-block-cover h2:lang(haz),
.gallery-caption:lang(haz), .editor-post-title__block .editor-post-title__input:lang(haz), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(haz), .wp-block-paragraph.has-drop-cap:lang(haz):not(:focus)::first-letter, .wp-block-table:lang(haz), .wp-block-cover h2:lang(haz),
.wp-block-cover .wp-block-cover-text:lang(haz), .wp-block-button .wp-block-button__link:lang(haz), .wp-block-quote cite:lang(haz),
.wp-block-quote footer:lang(haz),
.wp-block-quote .wp-block-quote__citation:lang(haz), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(haz),
@@ -130,7 +130,7 @@ h3:lang(ps),
h4:lang(ps),
h5:lang(ps),
h6:lang(ps), figcaption:lang(ps),
.gallery-caption:lang(ps), .editor-post-title__block .editor-post-title__input:lang(ps), .editor-default-block-appender .editor-default-block-appender__content:lang(ps), .wp-block-paragraph.has-drop-cap:lang(ps):not(:focus)::first-letter, .wp-block-table:lang(ps), .wp-block-cover h2:lang(ps),
.gallery-caption:lang(ps), .editor-post-title__block .editor-post-title__input:lang(ps), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ps), .wp-block-paragraph.has-drop-cap:lang(ps):not(:focus)::first-letter, .wp-block-table:lang(ps), .wp-block-cover h2:lang(ps),
.wp-block-cover .wp-block-cover-text:lang(ps), .wp-block-button .wp-block-button__link:lang(ps), .wp-block-quote cite:lang(ps),
.wp-block-quote footer:lang(ps),
.wp-block-quote .wp-block-quote__citation:lang(ps), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ps),
@@ -147,7 +147,7 @@ h3:lang(be),
h4:lang(be),
h5:lang(be),
h6:lang(be), figcaption:lang(be),
.gallery-caption:lang(be), .editor-post-title__block .editor-post-title__input:lang(be), .editor-default-block-appender .editor-default-block-appender__content:lang(be), .wp-block-paragraph.has-drop-cap:lang(be):not(:focus)::first-letter, .wp-block-table:lang(be), .wp-block-cover h2:lang(be),
.gallery-caption:lang(be), .editor-post-title__block .editor-post-title__input:lang(be), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(be), .wp-block-paragraph.has-drop-cap:lang(be):not(:focus)::first-letter, .wp-block-table:lang(be), .wp-block-cover h2:lang(be),
.wp-block-cover .wp-block-cover-text:lang(be), .wp-block-button .wp-block-button__link:lang(be), .wp-block-quote cite:lang(be),
.wp-block-quote footer:lang(be),
.wp-block-quote .wp-block-quote__citation:lang(be), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(be),
@@ -164,7 +164,7 @@ h3:lang(bg-BG),
h4:lang(bg-BG),
h5:lang(bg-BG),
h6:lang(bg-BG), figcaption:lang(bg-BG),
.gallery-caption:lang(bg-BG), .editor-post-title__block .editor-post-title__input:lang(bg-BG), .editor-default-block-appender .editor-default-block-appender__content:lang(bg-BG), .wp-block-paragraph.has-drop-cap:lang(bg-BG):not(:focus)::first-letter, .wp-block-table:lang(bg-BG), .wp-block-cover h2:lang(bg-BG),
.gallery-caption:lang(bg-BG), .editor-post-title__block .editor-post-title__input:lang(bg-BG), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(bg-BG), .wp-block-paragraph.has-drop-cap:lang(bg-BG):not(:focus)::first-letter, .wp-block-table:lang(bg-BG), .wp-block-cover h2:lang(bg-BG),
.wp-block-cover .wp-block-cover-text:lang(bg-BG), .wp-block-button .wp-block-button__link:lang(bg-BG), .wp-block-quote cite:lang(bg-BG),
.wp-block-quote footer:lang(bg-BG),
.wp-block-quote .wp-block-quote__citation:lang(bg-BG), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(bg-BG),
@@ -181,7 +181,7 @@ h3:lang(kk),
h4:lang(kk),
h5:lang(kk),
h6:lang(kk), figcaption:lang(kk),
.gallery-caption:lang(kk), .editor-post-title__block .editor-post-title__input:lang(kk), .editor-default-block-appender .editor-default-block-appender__content:lang(kk), .wp-block-paragraph.has-drop-cap:lang(kk):not(:focus)::first-letter, .wp-block-table:lang(kk), .wp-block-cover h2:lang(kk),
.gallery-caption:lang(kk), .editor-post-title__block .editor-post-title__input:lang(kk), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(kk), .wp-block-paragraph.has-drop-cap:lang(kk):not(:focus)::first-letter, .wp-block-table:lang(kk), .wp-block-cover h2:lang(kk),
.wp-block-cover .wp-block-cover-text:lang(kk), .wp-block-button .wp-block-button__link:lang(kk), .wp-block-quote cite:lang(kk),
.wp-block-quote footer:lang(kk),
.wp-block-quote .wp-block-quote__citation:lang(kk), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(kk),
@@ -198,7 +198,7 @@ h3:lang(mk-MK),
h4:lang(mk-MK),
h5:lang(mk-MK),
h6:lang(mk-MK), figcaption:lang(mk-MK),
.gallery-caption:lang(mk-MK), .editor-post-title__block .editor-post-title__input:lang(mk-MK), .editor-default-block-appender .editor-default-block-appender__content:lang(mk-MK), .wp-block-paragraph.has-drop-cap:lang(mk-MK):not(:focus)::first-letter, .wp-block-table:lang(mk-MK), .wp-block-cover h2:lang(mk-MK),
.gallery-caption:lang(mk-MK), .editor-post-title__block .editor-post-title__input:lang(mk-MK), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(mk-MK), .wp-block-paragraph.has-drop-cap:lang(mk-MK):not(:focus)::first-letter, .wp-block-table:lang(mk-MK), .wp-block-cover h2:lang(mk-MK),
.wp-block-cover .wp-block-cover-text:lang(mk-MK), .wp-block-button .wp-block-button__link:lang(mk-MK), .wp-block-quote cite:lang(mk-MK),
.wp-block-quote footer:lang(mk-MK),
.wp-block-quote .wp-block-quote__citation:lang(mk-MK), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(mk-MK),
@@ -215,7 +215,7 @@ h3:lang(mn),
h4:lang(mn),
h5:lang(mn),
h6:lang(mn), figcaption:lang(mn),
.gallery-caption:lang(mn), .editor-post-title__block .editor-post-title__input:lang(mn), .editor-default-block-appender .editor-default-block-appender__content:lang(mn), .wp-block-paragraph.has-drop-cap:lang(mn):not(:focus)::first-letter, .wp-block-table:lang(mn), .wp-block-cover h2:lang(mn),
.gallery-caption:lang(mn), .editor-post-title__block .editor-post-title__input:lang(mn), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(mn), .wp-block-paragraph.has-drop-cap:lang(mn):not(:focus)::first-letter, .wp-block-table:lang(mn), .wp-block-cover h2:lang(mn),
.wp-block-cover .wp-block-cover-text:lang(mn), .wp-block-button .wp-block-button__link:lang(mn), .wp-block-quote cite:lang(mn),
.wp-block-quote footer:lang(mn),
.wp-block-quote .wp-block-quote__citation:lang(mn), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(mn),
@@ -232,7 +232,7 @@ h3:lang(ru-RU),
h4:lang(ru-RU),
h5:lang(ru-RU),
h6:lang(ru-RU), figcaption:lang(ru-RU),
.gallery-caption:lang(ru-RU), .editor-post-title__block .editor-post-title__input:lang(ru-RU), .editor-default-block-appender .editor-default-block-appender__content:lang(ru-RU), .wp-block-paragraph.has-drop-cap:lang(ru-RU):not(:focus)::first-letter, .wp-block-table:lang(ru-RU), .wp-block-cover h2:lang(ru-RU),
.gallery-caption:lang(ru-RU), .editor-post-title__block .editor-post-title__input:lang(ru-RU), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ru-RU), .wp-block-paragraph.has-drop-cap:lang(ru-RU):not(:focus)::first-letter, .wp-block-table:lang(ru-RU), .wp-block-cover h2:lang(ru-RU),
.wp-block-cover .wp-block-cover-text:lang(ru-RU), .wp-block-button .wp-block-button__link:lang(ru-RU), .wp-block-quote cite:lang(ru-RU),
.wp-block-quote footer:lang(ru-RU),
.wp-block-quote .wp-block-quote__citation:lang(ru-RU), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ru-RU),
@@ -249,7 +249,7 @@ h3:lang(sah),
h4:lang(sah),
h5:lang(sah),
h6:lang(sah), figcaption:lang(sah),
.gallery-caption:lang(sah), .editor-post-title__block .editor-post-title__input:lang(sah), .editor-default-block-appender .editor-default-block-appender__content:lang(sah), .wp-block-paragraph.has-drop-cap:lang(sah):not(:focus)::first-letter, .wp-block-table:lang(sah), .wp-block-cover h2:lang(sah),
.gallery-caption:lang(sah), .editor-post-title__block .editor-post-title__input:lang(sah), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(sah), .wp-block-paragraph.has-drop-cap:lang(sah):not(:focus)::first-letter, .wp-block-table:lang(sah), .wp-block-cover h2:lang(sah),
.wp-block-cover .wp-block-cover-text:lang(sah), .wp-block-button .wp-block-button__link:lang(sah), .wp-block-quote cite:lang(sah),
.wp-block-quote footer:lang(sah),
.wp-block-quote .wp-block-quote__citation:lang(sah), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(sah),
@@ -266,7 +266,7 @@ h3:lang(sr-RS),
h4:lang(sr-RS),
h5:lang(sr-RS),
h6:lang(sr-RS), figcaption:lang(sr-RS),
.gallery-caption:lang(sr-RS), .editor-post-title__block .editor-post-title__input:lang(sr-RS), .editor-default-block-appender .editor-default-block-appender__content:lang(sr-RS), .wp-block-paragraph.has-drop-cap:lang(sr-RS):not(:focus)::first-letter, .wp-block-table:lang(sr-RS), .wp-block-cover h2:lang(sr-RS),
.gallery-caption:lang(sr-RS), .editor-post-title__block .editor-post-title__input:lang(sr-RS), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(sr-RS), .wp-block-paragraph.has-drop-cap:lang(sr-RS):not(:focus)::first-letter, .wp-block-table:lang(sr-RS), .wp-block-cover h2:lang(sr-RS),
.wp-block-cover .wp-block-cover-text:lang(sr-RS), .wp-block-button .wp-block-button__link:lang(sr-RS), .wp-block-quote cite:lang(sr-RS),
.wp-block-quote footer:lang(sr-RS),
.wp-block-quote .wp-block-quote__citation:lang(sr-RS), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(sr-RS),
@@ -283,7 +283,7 @@ h3:lang(tt-RU),
h4:lang(tt-RU),
h5:lang(tt-RU),
h6:lang(tt-RU), figcaption:lang(tt-RU),
.gallery-caption:lang(tt-RU), .editor-post-title__block .editor-post-title__input:lang(tt-RU), .editor-default-block-appender .editor-default-block-appender__content:lang(tt-RU), .wp-block-paragraph.has-drop-cap:lang(tt-RU):not(:focus)::first-letter, .wp-block-table:lang(tt-RU), .wp-block-cover h2:lang(tt-RU),
.gallery-caption:lang(tt-RU), .editor-post-title__block .editor-post-title__input:lang(tt-RU), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(tt-RU), .wp-block-paragraph.has-drop-cap:lang(tt-RU):not(:focus)::first-letter, .wp-block-table:lang(tt-RU), .wp-block-cover h2:lang(tt-RU),
.wp-block-cover .wp-block-cover-text:lang(tt-RU), .wp-block-button .wp-block-button__link:lang(tt-RU), .wp-block-quote cite:lang(tt-RU),
.wp-block-quote footer:lang(tt-RU),
.wp-block-quote .wp-block-quote__citation:lang(tt-RU), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(tt-RU),
@@ -300,7 +300,7 @@ h3:lang(uk),
h4:lang(uk),
h5:lang(uk),
h6:lang(uk), figcaption:lang(uk),
.gallery-caption:lang(uk), .editor-post-title__block .editor-post-title__input:lang(uk), .editor-default-block-appender .editor-default-block-appender__content:lang(uk), .wp-block-paragraph.has-drop-cap:lang(uk):not(:focus)::first-letter, .wp-block-table:lang(uk), .wp-block-cover h2:lang(uk),
.gallery-caption:lang(uk), .editor-post-title__block .editor-post-title__input:lang(uk), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(uk), .wp-block-paragraph.has-drop-cap:lang(uk):not(:focus)::first-letter, .wp-block-table:lang(uk), .wp-block-cover h2:lang(uk),
.wp-block-cover .wp-block-cover-text:lang(uk), .wp-block-button .wp-block-button__link:lang(uk), .wp-block-quote cite:lang(uk),
.wp-block-quote footer:lang(uk),
.wp-block-quote .wp-block-quote__citation:lang(uk), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(uk),
@@ -317,7 +317,7 @@ h3:lang(zh-HK),
h4:lang(zh-HK),
h5:lang(zh-HK),
h6:lang(zh-HK), figcaption:lang(zh-HK),
.gallery-caption:lang(zh-HK), .editor-post-title__block .editor-post-title__input:lang(zh-HK), .editor-default-block-appender .editor-default-block-appender__content:lang(zh-HK), .wp-block-paragraph.has-drop-cap:lang(zh-HK):not(:focus)::first-letter, .wp-block-table:lang(zh-HK), .wp-block-cover h2:lang(zh-HK),
.gallery-caption:lang(zh-HK), .editor-post-title__block .editor-post-title__input:lang(zh-HK), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(zh-HK), .wp-block-paragraph.has-drop-cap:lang(zh-HK):not(:focus)::first-letter, .wp-block-table:lang(zh-HK), .wp-block-cover h2:lang(zh-HK),
.wp-block-cover .wp-block-cover-text:lang(zh-HK), .wp-block-button .wp-block-button__link:lang(zh-HK), .wp-block-quote cite:lang(zh-HK),
.wp-block-quote footer:lang(zh-HK),
.wp-block-quote .wp-block-quote__citation:lang(zh-HK), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(zh-HK),
@@ -334,7 +334,7 @@ h3:lang(zh-TW),
h4:lang(zh-TW),
h5:lang(zh-TW),
h6:lang(zh-TW), figcaption:lang(zh-TW),
.gallery-caption:lang(zh-TW), .editor-post-title__block .editor-post-title__input:lang(zh-TW), .editor-default-block-appender .editor-default-block-appender__content:lang(zh-TW), .wp-block-paragraph.has-drop-cap:lang(zh-TW):not(:focus)::first-letter, .wp-block-table:lang(zh-TW), .wp-block-cover h2:lang(zh-TW),
.gallery-caption:lang(zh-TW), .editor-post-title__block .editor-post-title__input:lang(zh-TW), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(zh-TW), .wp-block-paragraph.has-drop-cap:lang(zh-TW):not(:focus)::first-letter, .wp-block-table:lang(zh-TW), .wp-block-cover h2:lang(zh-TW),
.wp-block-cover .wp-block-cover-text:lang(zh-TW), .wp-block-button .wp-block-button__link:lang(zh-TW), .wp-block-quote cite:lang(zh-TW),
.wp-block-quote footer:lang(zh-TW),
.wp-block-quote .wp-block-quote__citation:lang(zh-TW), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(zh-TW),
@@ -351,7 +351,7 @@ h3:lang(zh-CN),
h4:lang(zh-CN),
h5:lang(zh-CN),
h6:lang(zh-CN), figcaption:lang(zh-CN),
.gallery-caption:lang(zh-CN), .editor-post-title__block .editor-post-title__input:lang(zh-CN), .editor-default-block-appender .editor-default-block-appender__content:lang(zh-CN), .wp-block-paragraph.has-drop-cap:lang(zh-CN):not(:focus)::first-letter, .wp-block-table:lang(zh-CN), .wp-block-cover h2:lang(zh-CN),
.gallery-caption:lang(zh-CN), .editor-post-title__block .editor-post-title__input:lang(zh-CN), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(zh-CN), .wp-block-paragraph.has-drop-cap:lang(zh-CN):not(:focus)::first-letter, .wp-block-table:lang(zh-CN), .wp-block-cover h2:lang(zh-CN),
.wp-block-cover .wp-block-cover-text:lang(zh-CN), .wp-block-button .wp-block-button__link:lang(zh-CN), .wp-block-quote cite:lang(zh-CN),
.wp-block-quote footer:lang(zh-CN),
.wp-block-quote .wp-block-quote__citation:lang(zh-CN), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(zh-CN),
@@ -368,7 +368,7 @@ h3:lang(bn-BD),
h4:lang(bn-BD),
h5:lang(bn-BD),
h6:lang(bn-BD), figcaption:lang(bn-BD),
.gallery-caption:lang(bn-BD), .editor-post-title__block .editor-post-title__input:lang(bn-BD), .editor-default-block-appender .editor-default-block-appender__content:lang(bn-BD), .wp-block-paragraph.has-drop-cap:lang(bn-BD):not(:focus)::first-letter, .wp-block-table:lang(bn-BD), .wp-block-cover h2:lang(bn-BD),
.gallery-caption:lang(bn-BD), .editor-post-title__block .editor-post-title__input:lang(bn-BD), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(bn-BD), .wp-block-paragraph.has-drop-cap:lang(bn-BD):not(:focus)::first-letter, .wp-block-table:lang(bn-BD), .wp-block-cover h2:lang(bn-BD),
.wp-block-cover .wp-block-cover-text:lang(bn-BD), .wp-block-button .wp-block-button__link:lang(bn-BD), .wp-block-quote cite:lang(bn-BD),
.wp-block-quote footer:lang(bn-BD),
.wp-block-quote .wp-block-quote__citation:lang(bn-BD), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(bn-BD),
@@ -385,7 +385,7 @@ h3:lang(hi-IN),
h4:lang(hi-IN),
h5:lang(hi-IN),
h6:lang(hi-IN), figcaption:lang(hi-IN),
.gallery-caption:lang(hi-IN), .editor-post-title__block .editor-post-title__input:lang(hi-IN), .editor-default-block-appender .editor-default-block-appender__content:lang(hi-IN), .wp-block-paragraph.has-drop-cap:lang(hi-IN):not(:focus)::first-letter, .wp-block-table:lang(hi-IN), .wp-block-cover h2:lang(hi-IN),
.gallery-caption:lang(hi-IN), .editor-post-title__block .editor-post-title__input:lang(hi-IN), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(hi-IN), .wp-block-paragraph.has-drop-cap:lang(hi-IN):not(:focus)::first-letter, .wp-block-table:lang(hi-IN), .wp-block-cover h2:lang(hi-IN),
.wp-block-cover .wp-block-cover-text:lang(hi-IN), .wp-block-button .wp-block-button__link:lang(hi-IN), .wp-block-quote cite:lang(hi-IN),
.wp-block-quote footer:lang(hi-IN),
.wp-block-quote .wp-block-quote__citation:lang(hi-IN), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(hi-IN),
@@ -402,7 +402,7 @@ h3:lang(mr),
h4:lang(mr),
h5:lang(mr),
h6:lang(mr), figcaption:lang(mr),
.gallery-caption:lang(mr), .editor-post-title__block .editor-post-title__input:lang(mr), .editor-default-block-appender .editor-default-block-appender__content:lang(mr), .wp-block-paragraph.has-drop-cap:lang(mr):not(:focus)::first-letter, .wp-block-table:lang(mr), .wp-block-cover h2:lang(mr),
.gallery-caption:lang(mr), .editor-post-title__block .editor-post-title__input:lang(mr), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(mr), .wp-block-paragraph.has-drop-cap:lang(mr):not(:focus)::first-letter, .wp-block-table:lang(mr), .wp-block-cover h2:lang(mr),
.wp-block-cover .wp-block-cover-text:lang(mr), .wp-block-button .wp-block-button__link:lang(mr), .wp-block-quote cite:lang(mr),
.wp-block-quote footer:lang(mr),
.wp-block-quote .wp-block-quote__citation:lang(mr), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(mr),
@@ -419,7 +419,7 @@ h3:lang(ne-NP),
h4:lang(ne-NP),
h5:lang(ne-NP),
h6:lang(ne-NP), figcaption:lang(ne-NP),
.gallery-caption:lang(ne-NP), .editor-post-title__block .editor-post-title__input:lang(ne-NP), .editor-default-block-appender .editor-default-block-appender__content:lang(ne-NP), .wp-block-paragraph.has-drop-cap:lang(ne-NP):not(:focus)::first-letter, .wp-block-table:lang(ne-NP), .wp-block-cover h2:lang(ne-NP),
.gallery-caption:lang(ne-NP), .editor-post-title__block .editor-post-title__input:lang(ne-NP), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ne-NP), .wp-block-paragraph.has-drop-cap:lang(ne-NP):not(:focus)::first-letter, .wp-block-table:lang(ne-NP), .wp-block-cover h2:lang(ne-NP),
.wp-block-cover .wp-block-cover-text:lang(ne-NP), .wp-block-button .wp-block-button__link:lang(ne-NP), .wp-block-quote cite:lang(ne-NP),
.wp-block-quote footer:lang(ne-NP),
.wp-block-quote .wp-block-quote__citation:lang(ne-NP), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ne-NP),
@@ -436,7 +436,7 @@ h3:lang(el),
h4:lang(el),
h5:lang(el),
h6:lang(el), figcaption:lang(el),
.gallery-caption:lang(el), .editor-post-title__block .editor-post-title__input:lang(el), .editor-default-block-appender .editor-default-block-appender__content:lang(el), .wp-block-paragraph.has-drop-cap:lang(el):not(:focus)::first-letter, .wp-block-table:lang(el), .wp-block-cover h2:lang(el),
.gallery-caption:lang(el), .editor-post-title__block .editor-post-title__input:lang(el), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(el), .wp-block-paragraph.has-drop-cap:lang(el):not(:focus)::first-letter, .wp-block-table:lang(el), .wp-block-cover h2:lang(el),
.wp-block-cover .wp-block-cover-text:lang(el), .wp-block-button .wp-block-button__link:lang(el), .wp-block-quote cite:lang(el),
.wp-block-quote footer:lang(el),
.wp-block-quote .wp-block-quote__citation:lang(el), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(el),
@@ -453,7 +453,7 @@ h3:lang(gu),
h4:lang(gu),
h5:lang(gu),
h6:lang(gu), figcaption:lang(gu),
.gallery-caption:lang(gu), .editor-post-title__block .editor-post-title__input:lang(gu), .editor-default-block-appender .editor-default-block-appender__content:lang(gu), .wp-block-paragraph.has-drop-cap:lang(gu):not(:focus)::first-letter, .wp-block-table:lang(gu), .wp-block-cover h2:lang(gu),
.gallery-caption:lang(gu), .editor-post-title__block .editor-post-title__input:lang(gu), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(gu), .wp-block-paragraph.has-drop-cap:lang(gu):not(:focus)::first-letter, .wp-block-table:lang(gu), .wp-block-cover h2:lang(gu),
.wp-block-cover .wp-block-cover-text:lang(gu), .wp-block-button .wp-block-button__link:lang(gu), .wp-block-quote cite:lang(gu),
.wp-block-quote footer:lang(gu),
.wp-block-quote .wp-block-quote__citation:lang(gu), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(gu),
@@ -470,7 +470,7 @@ h3:lang(he-IL),
h4:lang(he-IL),
h5:lang(he-IL),
h6:lang(he-IL), figcaption:lang(he-IL),
.gallery-caption:lang(he-IL), .editor-post-title__block .editor-post-title__input:lang(he-IL), .editor-default-block-appender .editor-default-block-appender__content:lang(he-IL), .wp-block-paragraph.has-drop-cap:lang(he-IL):not(:focus)::first-letter, .wp-block-table:lang(he-IL), .wp-block-cover h2:lang(he-IL),
.gallery-caption:lang(he-IL), .editor-post-title__block .editor-post-title__input:lang(he-IL), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(he-IL), .wp-block-paragraph.has-drop-cap:lang(he-IL):not(:focus)::first-letter, .wp-block-table:lang(he-IL), .wp-block-cover h2:lang(he-IL),
.wp-block-cover .wp-block-cover-text:lang(he-IL), .wp-block-button .wp-block-button__link:lang(he-IL), .wp-block-quote cite:lang(he-IL),
.wp-block-quote footer:lang(he-IL),
.wp-block-quote .wp-block-quote__citation:lang(he-IL), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(he-IL),
@@ -487,7 +487,7 @@ h3:lang(ja),
h4:lang(ja),
h5:lang(ja),
h6:lang(ja), figcaption:lang(ja),
.gallery-caption:lang(ja), .editor-post-title__block .editor-post-title__input:lang(ja), .editor-default-block-appender .editor-default-block-appender__content:lang(ja), .wp-block-paragraph.has-drop-cap:lang(ja):not(:focus)::first-letter, .wp-block-table:lang(ja), .wp-block-cover h2:lang(ja),
.gallery-caption:lang(ja), .editor-post-title__block .editor-post-title__input:lang(ja), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ja), .wp-block-paragraph.has-drop-cap:lang(ja):not(:focus)::first-letter, .wp-block-table:lang(ja), .wp-block-cover h2:lang(ja),
.wp-block-cover .wp-block-cover-text:lang(ja), .wp-block-button .wp-block-button__link:lang(ja), .wp-block-quote cite:lang(ja),
.wp-block-quote footer:lang(ja),
.wp-block-quote .wp-block-quote__citation:lang(ja), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ja),
@@ -504,7 +504,7 @@ h3:lang(ko-KR),
h4:lang(ko-KR),
h5:lang(ko-KR),
h6:lang(ko-KR), figcaption:lang(ko-KR),
.gallery-caption:lang(ko-KR), .editor-post-title__block .editor-post-title__input:lang(ko-KR), .editor-default-block-appender .editor-default-block-appender__content:lang(ko-KR), .wp-block-paragraph.has-drop-cap:lang(ko-KR):not(:focus)::first-letter, .wp-block-table:lang(ko-KR), .wp-block-cover h2:lang(ko-KR),
.gallery-caption:lang(ko-KR), .editor-post-title__block .editor-post-title__input:lang(ko-KR), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(ko-KR), .wp-block-paragraph.has-drop-cap:lang(ko-KR):not(:focus)::first-letter, .wp-block-table:lang(ko-KR), .wp-block-cover h2:lang(ko-KR),
.wp-block-cover .wp-block-cover-text:lang(ko-KR), .wp-block-button .wp-block-button__link:lang(ko-KR), .wp-block-quote cite:lang(ko-KR),
.wp-block-quote footer:lang(ko-KR),
.wp-block-quote .wp-block-quote__citation:lang(ko-KR), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(ko-KR),
@@ -521,7 +521,7 @@ h3:lang(th),
h4:lang(th),
h5:lang(th),
h6:lang(th), figcaption:lang(th),
.gallery-caption:lang(th), .editor-post-title__block .editor-post-title__input:lang(th), .editor-default-block-appender .editor-default-block-appender__content:lang(th), .wp-block-paragraph.has-drop-cap:lang(th):not(:focus)::first-letter, .wp-block-table:lang(th), .wp-block-cover h2:lang(th),
.gallery-caption:lang(th), .editor-post-title__block .editor-post-title__input:lang(th), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(th), .wp-block-paragraph.has-drop-cap:lang(th):not(:focus)::first-letter, .wp-block-table:lang(th), .wp-block-cover h2:lang(th),
.wp-block-cover .wp-block-cover-text:lang(th), .wp-block-button .wp-block-button__link:lang(th), .wp-block-quote cite:lang(th),
.wp-block-quote footer:lang(th),
.wp-block-quote .wp-block-quote__citation:lang(th), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(th),
@@ -538,7 +538,7 @@ h3:lang(vi),
h4:lang(vi),
h5:lang(vi),
h6:lang(vi), figcaption:lang(vi),
.gallery-caption:lang(vi), .editor-post-title__block .editor-post-title__input:lang(vi), .editor-default-block-appender .editor-default-block-appender__content:lang(vi), .wp-block-paragraph.has-drop-cap:lang(vi):not(:focus)::first-letter, .wp-block-table:lang(vi), .wp-block-cover h2:lang(vi),
.gallery-caption:lang(vi), .editor-post-title__block .editor-post-title__input:lang(vi), .block-editor-default-block-appender textarea.block-editor-default-block-appender__content:lang(vi), .wp-block-paragraph.has-drop-cap:lang(vi):not(:focus)::first-letter, .wp-block-table:lang(vi), .wp-block-cover h2:lang(vi),
.wp-block-cover .wp-block-cover-text:lang(vi), .wp-block-button .wp-block-button__link:lang(vi), .wp-block-quote cite:lang(vi),
.wp-block-quote footer:lang(vi),
.wp-block-quote .wp-block-quote__citation:lang(vi), .wp-block[data-type="core/pullquote"] .wp-block-pullquote__citation:lang(vi),
@@ -636,6 +636,15 @@ h1:before {
width: 1em;
}
h1.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
h1.has-text-align-right:before {
margin-left: auto;
}
@media only screen and (min-width: 768px) {
h1 {
font-size: 2.8125em;
@@ -655,6 +664,15 @@ h2:before {
width: 1em;
}
h2.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
h2.has-text-align-right:before {
margin-left: auto;
}
@media only screen and (min-width: 768px) {
h2 {
font-size: 2.25em;
@@ -768,6 +786,15 @@ figcaption,
width: 1em;
}
.editor-post-title__block.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
.editor-post-title__block.has-text-align-right:before {
margin-left: auto;
}
.editor-post-title__block:before {
width: 2.8125em;
margin-top: 0;

View File

@@ -7,7 +7,7 @@ Author URI: https://wordpress.org/
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether youre running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 1.4
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen
@@ -2527,6 +2527,17 @@ h2:before {
width: 1em;
}
h1:not(.site-title).has-text-align-center:before,
h2.has-text-align-center:before {
margin-right: auto;
margin-left: auto;
}
h1:not(.site-title).has-text-align-right:before,
h2.has-text-align-right:before {
margin-right: auto;
}
hr {
background-color: #767676;
border: 0;
@@ -4209,6 +4220,15 @@ body.page .main-navigation {
width: 1em;
}
.entry .entry-title.has-text-align-center:before {
margin-right: auto;
margin-left: auto;
}
.entry .entry-title.has-text-align-right:before {
margin-right: auto;
}
.entry .entry-title a {
color: inherit;
}
@@ -4493,6 +4513,15 @@ body.page .main-navigation {
width: 1em;
}
.author-bio .author-title.has-text-align-center:before {
margin-right: auto;
margin-left: auto;
}
.author-bio .author-title.has-text-align-right:before {
margin-right: auto;
}
.author-bio .author-description {
display: inline;
color: #767676;
@@ -4587,6 +4616,15 @@ body.page .main-navigation {
width: 1em;
}
.comments-area .comments-title-wrap .comments-title.has-text-align-center:before {
margin-right: auto;
margin-left: auto;
}
.comments-area .comments-title-wrap .comments-title.has-text-align-right:before {
margin-right: auto;
}
@media only screen and (min-width: 768px) {
.comments-area .comments-title-wrap .comments-title {
flex: 1 0 calc(3 * (100vw / 12));
@@ -5071,6 +5109,10 @@ body.page .main-navigation {
/* Make sure select elements fit in widgets. */
}
.widget .widget-title {
font-size: 1.6875em;
}
.widget select {
max-width: 100%;
}
@@ -5186,6 +5228,11 @@ body.page .main-navigation {
padding: 0.5em;
}
.widget_calendar .calendar_wrap .wp-calendar-nav-prev,
.widget_calendar .calendar_wrap .wp-calendar-nav-next {
width: 40%;
}
/* Blocks */
/* !Block styles */
.entry .entry-content > *,
@@ -6299,12 +6346,14 @@ body.page .main-navigation {
}
.entry .entry-content .has-primary-color,
.entry .entry-content .wp-block-pullquote blockquote.has-primary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color > p {
color: #0073aa;
}
.entry .entry-content .has-secondary-color,
.entry .entry-content .wp-block-pullquote blockquote.has-secondary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color > p {
color: #005177;
@@ -6317,12 +6366,14 @@ body.page .main-navigation {
}
.entry .entry-content .has-light-gray-color,
.entry .entry-content .wp-block-pullquote blockquote.has-light-gray-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color > p {
color: #767676;
}
.entry .entry-content .has-white-color,
.entry .entry-content .wp-block-pullquote blockquote.has-white-color,
.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-white-color {
color: #FFF;
}

View File

@@ -7,7 +7,7 @@ Author URI: https://wordpress.org/
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether youre running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 1.4
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen
@@ -2527,6 +2527,17 @@ h2:before {
width: 1em;
}
h1:not(.site-title).has-text-align-center:before,
h2.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
h1:not(.site-title).has-text-align-right:before,
h2.has-text-align-right:before {
margin-left: auto;
}
hr {
background-color: #767676;
border: 0;
@@ -4215,6 +4226,15 @@ body.page .main-navigation {
width: 1em;
}
.entry .entry-title.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
.entry .entry-title.has-text-align-right:before {
margin-left: auto;
}
.entry .entry-title a {
color: inherit;
}
@@ -4499,6 +4519,15 @@ body.page .main-navigation {
width: 1em;
}
.author-bio .author-title.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
.author-bio .author-title.has-text-align-right:before {
margin-left: auto;
}
.author-bio .author-description {
display: inline;
color: #767676;
@@ -4593,6 +4622,15 @@ body.page .main-navigation {
width: 1em;
}
.comments-area .comments-title-wrap .comments-title.has-text-align-center:before {
margin-left: auto;
margin-right: auto;
}
.comments-area .comments-title-wrap .comments-title.has-text-align-right:before {
margin-left: auto;
}
@media only screen and (min-width: 768px) {
.comments-area .comments-title-wrap .comments-title {
flex: 1 0 calc(3 * (100vw / 12));
@@ -5077,6 +5115,10 @@ body.page .main-navigation {
/* Make sure select elements fit in widgets. */
}
.widget .widget-title {
font-size: 1.6875em;
}
.widget select {
max-width: 100%;
}
@@ -5192,6 +5234,11 @@ body.page .main-navigation {
padding: 0.5em;
}
.widget_calendar .calendar_wrap .wp-calendar-nav-prev,
.widget_calendar .calendar_wrap .wp-calendar-nav-next {
width: 40%;
}
/* Blocks */
/* !Block styles */
.entry .entry-content > *,

View File

@@ -6,7 +6,7 @@ Author URI: https://wordpress.org/
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether youre running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 1.4
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen

View File

@@ -1,7 +1,7 @@
=== Twenty Seventeen ===
Contributors: wordpressdotorg
Tested up to: 5.0
Version: 2.2
Version: 2.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
@@ -59,6 +59,11 @@ Source: https://unsplash.com/@englr?photo=bIhpiQA009k
== Changelog ==
= 2.3 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_2.3
= 2.2 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyseventeen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Version: 2.2
Version: 2.3
Requires at least: 4.7
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
@@ -2819,8 +2819,9 @@ h2.widget-title {
display: table-cell;
}
.widget_calendar .wp-calendar-nav .pad {
width: 15%;
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar th,

View File

@@ -1,7 +1,7 @@
=== Twenty Sixteen ===
Contributors: wordpressdotorg
Tested up to: 5.0
Version: 2.0
Version: 2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
@@ -55,6 +55,11 @@ Image used in screenshot.png: A photo by Austin Schmid (https://unsplash.com/sch
== Changelog ==
= 2.1 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Sixteen_Theme_Changelog#Version_2.1
= 2.0 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentysixteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
Version: 2.0
Version: 2.1
Requires at least: 4.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
@@ -1449,8 +1449,9 @@ blockquote:after,
display: table-cell;
}
.widget_calendar .wp-calendar-nav .pad {
width: 15%;
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar td,

View File

@@ -1,7 +1,7 @@
=== Twenty Ten ===
Contributors: wordpressdotorg
Tested up to: 5.0
Stable tag: 2.9
Stable tag: 3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header, featured-images, footer-widgets, featured-image-header
@@ -36,6 +36,11 @@ GNU General Public License for more details.
== Changelog ==
= 3.0 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Ten_Theme_Changelog#Version_3.0
= 2.9 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyten/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: the WordPress team
Author URI: https://wordpress.org/
Version: 2.9
Version: 3.0
Requires at least: 3.0
Requires PHP: 5.2.4
License: GNU General Public License v2 or later

View File

@@ -1,7 +1,7 @@
=== Twenty Thirteen ===
Contributors: wordpressdotorg
Tested up to: 5.0
Stable tag: 2.9
Stable tag: 3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, translation-ready, accessibility-ready
@@ -46,6 +46,11 @@ Source: http://www.genericons.com
== Changelog ==
= 3.0 =
* Released: March, 2020
https://codex.wordpress.org/Twenty_Thirteen_Theme_Changelog#Version_3.0
= 2.9 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentythirteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 2.9
Version: 3.0
Requires at least: 3.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
@@ -2599,6 +2599,11 @@ footer.entry-meta {
text-align: center;
}
.wp-calendar-nav-prev,
.wp-calendar-nav-next {
width: 40%;
}
/* Text widget */
.widget_text ul,
.widget_text ol {

View File

@@ -1,7 +1,7 @@
=== Twenty Twelve ===
Contributors: wordpressdotorg
Tested up to: 5.0
Stable tag: 3.0
Stable tag: 3.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
@@ -42,6 +42,11 @@ Source: https://github.com/aFarkas/html5shiv
== Changelog ==
= 3.1 =
* Released: March 31, 2020
https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_3.1
= 3.0 =
* Released: May 7, 2019

View File

@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 3.0
Version: 3.1
Requires at least: 3.5
Requires PHP: 5.2.4
License: GNU General Public License v2 or later
@@ -1417,6 +1417,9 @@ a.comment-edit-link:hover {
/* =Widgets
-------------------------------------------------------------- */
.widget select {
max-width: 100%;
}
.widget-area .widget ul ul {
margin-left: 12px;
margin-left: 0.857142857rem;

View File

@@ -137,6 +137,17 @@ twentytwenty.coverModals = {
var target = event.target;
var modal = document.querySelector( '.cover-modal.active' );
// if target onclick is <a> with # within the href attribute
if ( event.target.tagName.toLowerCase() === 'a' && event.target.hash.includes( '#' ) && modal !== null ) {
// untoggle the modal
this.untoggleModal( modal );
// wait 550 and scroll to the anchor
setTimeout( function() {
var anchor = document.getElementById( event.target.hash.slice( 1 ) );
anchor.scrollIntoView();
}, 550 );
}
if ( target === modal ) {
this.untoggleModal( target );
}

View File

@@ -152,6 +152,9 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) {
'feed' => array(
'feed',
),
'google' => array(
'g.page',
),
'lastfm' => array(
'last.fm',
),
@@ -238,6 +241,8 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) {
'tumblr' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M16.749,17.396c-0.357,0.17-1.041,0.319-1.551,0.332c-1.539,0.041-1.837-1.081-1.85-1.896V9.847h3.861V6.937h-3.847V2.039 c0,0-2.77,0-2.817,0c-0.046,0-0.127,0.041-0.138,0.144c-0.165,1.499-0.867,4.13-3.783,5.181v2.484h1.945v6.282 c0,2.151,1.587,5.206,5.775,5.135c1.413-0.024,2.982-0.616,3.329-1.126L16.749,17.396z"></path></svg>',
'tiktok' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M22.601273,3.99398422 C22.3543419,3.81786432 22.035286,3.77722295 21.7519316,3.88579503 C20.7673827,4.3053476 19.6367473,4.19781761 18.749359,3.60023293 C17.8619707,3.00264826 17.3390468,1.99663905 17.3606558,0.92862387 C17.366873,0.687165991 17.2757319,0.453316101 17.1076605,0.279488738 C16.937965,0.101864383 16.7030375,0.000936521363 16.4571011,0 L12.8428824,0 C12.343863,0 11.9393277,0.403649581 11.9393277,0.901576573 L11.9393277,16.3365675 C11.9393277,17.581385 10.9279897,18.5905089 9.68044104,18.5905089 C8.43289237,18.5905089 7.42155434,17.581385 7.42155434,16.3365675 C7.42155434,15.09175 8.43289237,14.0826261 9.68044104,14.0826261 C10.1794605,14.0826261 10.5839957,13.6789765 10.5839957,13.1810495 L10.5839957,9.57474321 C10.5839957,9.07681622 10.1794605,8.67316663 9.68044104,8.67316663 C5.44083962,8.67813472 2.00520525,12.1062476 2.00022626,16.3365675 C1.98771579,17.9546233 2.49430163,19.5342383 3.44591375,20.8444504 C3.61458557,21.0808398 5.05966461,19.9481604 4.91870788,19.7535427 C4.19555103,18.760421 3.80646351,17.5641499 3.80733562,16.3365675 C3.81165144,13.4484211 5.91803869,10.991254 8.77688636,10.5394301 L8.77688636,12.3425833 C6.70706914,12.8134053 5.34862709,14.7938709 5.65804701,16.8895228 C5.96746693,18.9851748 7.84059425,20.4905907 9.95854931,20.3457987 C12.0765044,20.2010067 13.7263573,18.4547454 13.7464371,16.3365675 L13.7464371,1.80315315 L15.6167953,1.80315315 C16.0103639,4.20249558 18.0864975,5.96506252 20.5230972,5.96843692 C20.7496837,5.96688212 20.975975,5.95182905 21.2007632,5.92335809 L21.2007632,7.67241664 C19.7293748,7.92650626 18.2152284,7.66195137 16.917914,6.92410808 C16.6383532,6.76305694 16.2939201,6.76305694 16.0143593,6.92410808 C15.7336844,7.0857977 15.5612953,7.38509793 15.562582,7.7084797 L15.562582,16.3365675 C15.5580692,18.2941869 14.5756972,20.1206948 12.9432814,21.2065896 C11.9060301,21.8965766 10.6930991,22.229824 9.48148608,22.189012 C8.78627447,22.1655944 8.08246121,22.0477035 7.42155434,21.774707 C7.12504167,21.5395062 5.484375,20.8444504 4.91870788,19.7535427 C4.66351437,19.2613936 3.0238563,20.6306805 3.44591375,20.8444504 C4.91870788,23.1351563 7.99726562,23.9999684 9.69851213,23.9999684 C13.7074483,23.9999684 17.0406982,20.9190082 17.3606558,16.931608 C17.3657425,16.8836579 17.3657425,16.8353059 17.3606558,16.7873558 L17.3606558,9.10592339 C18.9684136,9.66657941 20.7106733,9.71696914 22.3482777,9.25017564 C22.7469793,9.13449784 23.0153499,8.76257691 22.998837,8.34859907 L22.998837,4.7873716 C23.0148813,4.47165088 22.8640303,4.17060935 22.601273,3.99398422 Z" /></svg>',
'twitch' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"></path></svg>',
'twitter' => '<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"></path></svg>',

View File

@@ -338,7 +338,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
do_action( 'twentytwenty_start_of_post_meta_list', $post_id, $post_meta, $location );
// Author.
if ( in_array( 'author', $post_meta, true ) ) {
if ( post_type_supports( get_post_type( $post_id ), 'author' ) && in_array( 'author', $post_meta, true ) ) {
$has_meta = true;
?>

View File

@@ -1,7 +1,7 @@
=== Twenty Twenty ===
Contributors: the WordPress team
Tested up to: 5.3
Stable tag: 1.1
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -22,10 +22,15 @@ you pick, ensuring a high, accessible color contrast for your visitors.
== Changelog ==
= 1.2 =
* Released: March 31, 2020
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.2
= 1.1 =
* Released: December 12, 2019
https://wordpress.org/support/article/twenty-twenty-changelog/
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_1.1
= 1.0 =
* Released: November 12, 2019
@@ -52,7 +57,7 @@ Chaplin Theme is distributed under the terms of the GNU GPL version 2.0
Twenty Twenty bundles the following third-party resources:
Illustrations in screenshot.png by Tammie Lister
Illustrations by Tammie Lister
License: Creative Commons Zero (CC0), https://creativecommons.org/publicdomain/zero/1.0/
Inter Font
@@ -72,6 +77,11 @@ License: MIT License, https://opensource.org/licenses/MIT
Source: https://feathericons.com
Used for post meta icons, and the link icon in the social menu.
TikTok Icon
License: GPLv2
Source: Émilie Lebrun - @Emlebrun
Used for TikTok social icon.
Social Icons
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

View File

@@ -1,7 +1,7 @@
/*
Theme Name: Twenty Twenty
Text Domain: twentytwenty
Version: 1.1
Version: 1.2
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
@@ -3484,6 +3484,10 @@ figure.wp-block-table.is-style-stripes {
line-height: 1.4;
}
.entry-content li img {
display: inline-block;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
@@ -3504,6 +3508,11 @@ figure.wp-block-table.is-style-stripes {
margin: 4rem auto;
}
.post-inner .entry-content > .wp-block-cover.alignwide:first-child,
.post-inner .entry-content > .wp-block-cover.alignfull:first-child {
margin-top: 0;
}
/* Font Families ----------------------------- */
.entry-content {
@@ -3511,17 +3520,35 @@ figure.wp-block-table.is-style-stripes {
letter-spacing: normal;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content .wp-caption-text {
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}
@supports ( font-variation-settings: normal ) {
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content .wp-caption-text {
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}
}
@@ -5324,6 +5351,11 @@ a.to-the-top > * {
margin-right: 4rem;
}
.entry-content > .alignwide:first-child,
.entry-content > .alignfull:first-child {
margin-bottom: 8rem;
}
/* ENTRY MEDIA */
.alignfull > figcaption,
@@ -5576,7 +5608,7 @@ a.to-the-top > * {
/* Site Header --------------------------- */
#site-header {
z-index: 1;
z-index: 2;
}
.header-inner {
@@ -5825,6 +5857,10 @@ a.to-the-top > * {
.wp-block-image .alignright {
margin-left: 0;
}
.wp-block-image .aligncenter figcaption {
text-align: center;
}
/* BLOCK: SEPARATOR */

View File

@@ -1,7 +1,7 @@
/*
Theme Name: Twenty Twenty
Text Domain: twentytwenty
Version: 1.1
Version: 1.2
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
@@ -3506,6 +3506,10 @@ figure.wp-block-table.is-style-stripes {
line-height: 1.4;
}
.entry-content li img {
display: inline-block;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
@@ -3526,6 +3530,11 @@ figure.wp-block-table.is-style-stripes {
margin: 4rem auto;
}
.post-inner .entry-content > .wp-block-cover.alignwide:first-child,
.post-inner .entry-content > .wp-block-cover.alignfull:first-child {
margin-top: 0;
}
/* Font Families ----------------------------- */
.entry-content {
@@ -3533,17 +3542,35 @@ figure.wp-block-table.is-style-stripes {
letter-spacing: normal;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content .wp-caption-text {
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}
@supports ( font-variation-settings: normal ) {
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content .wp-caption-text {
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file {
font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}
}
@@ -5386,6 +5413,11 @@ a.to-the-top > * {
margin-right: 4rem;
}
.entry-content > .alignwide:first-child,
.entry-content > .alignfull:first-child {
margin-bottom: 8rem;
}
/* ENTRY MEDIA */
.alignfull > figcaption,
@@ -5638,7 +5670,7 @@ a.to-the-top > * {
/* Site Header --------------------------- */
#site-header {
z-index: 1;
z-index: 2;
}
.header-inner {
@@ -5895,6 +5927,10 @@ a.to-the-top > * {
/*rtl:ignore*/
margin-left: 0;
}
.wp-block-image .aligncenter figcaption {
text-align: center;
}
/* BLOCK: SEPARATOR */

View File

@@ -146,7 +146,7 @@
// Single bottom post meta.
twentytwenty_the_post_meta( get_the_ID(), 'single-bottom' );
if ( is_single() ) {
if ( post_type_supports( get_post_type( get_the_ID() ), 'author' ) && is_single() ) {
get_template_part( 'template-parts/entry-author-bio' );

View File

@@ -57,7 +57,7 @@
// Single bottom post meta.
twentytwenty_the_post_meta( get_the_ID(), 'single-bottom' );
if ( is_single() ) {
if ( post_type_supports( get_post_type( get_the_ID() ), 'author' ) && is_single() ) {
get_template_part( 'template-parts/entry-author-bio' );

View File

@@ -55,8 +55,11 @@ function _wp_admin_bar_init() {
/**
* Renders the admin bar to the page based on the $wp_admin_bar->menu member var.
*
* This is called very late on the footer actions so that it will render after
* anything else being added to the footer.
* This is called very early on the {@see 'wp_body_open'} action so that it will render
* before anything else being added to the page body.
*
* For backward compatibility with themes not using the 'wp_body_open' action,
* the function is also called late on {@see 'wp_footer'}.
*
* It includes the {@see 'admin_bar_menu'} action which should be used to hook in and
* add new menus to the admin bar. That way you can be sure that you are adding at most
@@ -64,11 +67,19 @@ function _wp_admin_bar_init() {
* the `$post` global, among others.
*
* @since 3.1.0
* @since 5.4.0 Called on 'wp_body_open' action first, with 'wp_footer' as a fallback.
*
* @global WP_Admin_Bar $wp_admin_bar
*
* @staticvar bool $rendered
*/
function wp_admin_bar_render() {
global $wp_admin_bar;
static $rendered = false;
if ( $rendered ) {
return;
}
if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) ) {
return;
@@ -100,6 +111,8 @@ function wp_admin_bar_render() {
* @since 3.1.0
*/
do_action( 'wp_after_admin_bar_render' );
$rendered = true;
}
/**

File diff suppressed because one or more lines are too long

View File

@@ -92,7 +92,7 @@ function render_block_core_rss( $attributes ) {
$class .= ' ' . $attributes['className'];
}
return "<ul class='{$class}'>{$list_items}</ul>";
return sprintf( "<ul class='%s'>%s</ul>", esc_attr( $class ), $list_items );
}
/**

View File

@@ -57,7 +57,7 @@ function render_block_core_search( $attributes ) {
return sprintf(
'<form class="%s" role="search" method="get" action="%s">%s</form>',
$class,
esc_attr( $class ),
esc_url( home_url( '/' ) ),
$label_markup . $input_markup . $button_markup
);

View File

@@ -19,6 +19,7 @@ function render_block_core_social_link( $attributes ) {
$attributes['label'] :
/* translators: %s: Social Link service name */
sprintf( __( 'Link to %s' ), block_core_social_link_get_name( $service ) );
$class_name = isset( $attributes['className'] ) ? ' ' . $attributes['className'] : false;
// Don't render a link if there is no URL set.
if ( ! $url ) {
@@ -26,7 +27,7 @@ function render_block_core_social_link( $attributes ) {
}
$icon = block_core_social_link_get_icon( $service );
return '<li class="wp-social-link wp-social-link-' . esc_attr( $service ) . '"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '"> ' . $icon . '</a></li>';
return '<li class="wp-social-link wp-social-link-' . esc_attr( $service ) . esc_attr( $class_name ) . '"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '"> ' . $icon . '</a></li>';
}
/**

View File

@@ -181,6 +181,10 @@ class Walker_Comment extends Walker {
return;
}
if ( 'comment' === $comment->comment_type ) {
add_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 );
}
if ( ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) && $args['short_ping'] ) {
ob_start();
$this->ping( $comment, $depth, $args );
@@ -194,6 +198,10 @@ class Walker_Comment extends Walker {
$this->comment( $comment, $depth, $args );
$output .= ob_get_clean();
}
if ( 'comment' === $comment->comment_type ) {
remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 );
}
}
/**
@@ -244,6 +252,29 @@ class Walker_Comment extends Walker {
<?php
}
/**
* Filters the comment text.
*
* Removes links from the pending comment's text if the commenter did not consent
* to the comment cookies.
*
* @since 5.4.2
*
* @param string $comment_text Text of the current comment.
* @param WP_Comment|null $comment The comment object. Null if not found.
* @return string Filtered text of the current comment.
*/
public function filter_comment_text( $comment_text, $comment ) {
$commenter = wp_get_current_commenter();
$show_pending_links = ! empty( $commenter['comment_author'] );
if ( $comment && '0' == $comment->comment_approved && ! $show_pending_links ) {
$comment_text = wp_kses( $comment_text, array() );
}
return $comment_text;
}
/**
* Outputs a single comment.
*
@@ -264,13 +295,14 @@ class Walker_Comment extends Walker {
$add_below = 'div-comment';
}
$commenter = wp_get_current_commenter();
$commenter = wp_get_current_commenter();
$show_pending_links = isset( $commenter['comment_author'] ) && $commenter['comment_author'];
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.' );
}
?>
<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
<?php if ( 'div' != $args['style'] ) : ?>
@@ -279,14 +311,21 @@ class Walker_Comment extends Walker {
<div class="comment-author vcard">
<?php
if ( 0 != $args['avatar_size'] ) {
echo get_avatar( $comment, $args['avatar_size'] );}
echo get_avatar( $comment, $args['avatar_size'] );
}
?>
<?php
printf(
/* translators: %s: Comment author link. */
__( '%s <span class="says">says:</span>' ),
sprintf( '<cite class="fn">%s</cite>', get_comment_author_link( $comment ) )
);
$comment_author = get_comment_author_link( $comment );
if ( '0' == $comment->comment_approved && ! $show_pending_links ) {
$comment_author = get_comment_author( $comment );
}
printf(
/* translators: %s: Comment author link. */
__( '%s <span class="says">says:</span>' ),
sprintf( '<cite class="fn">%s</cite>', $comment_author )
);
?>
</div>
<?php if ( '0' == $comment->comment_approved ) : ?>
@@ -354,13 +393,14 @@ class Walker_Comment extends Walker {
protected function html5_comment( $comment, $depth, $args ) {
$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';
$commenter = wp_get_current_commenter();
$commenter = wp_get_current_commenter();
$show_pending_links = ! empty( $commenter['comment_author'] );
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.' );
}
?>
<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
@@ -372,11 +412,17 @@ class Walker_Comment extends Walker {
}
?>
<?php
printf(
/* translators: %s: Comment author link. */
__( '%s <span class="says">says:</span>' ),
sprintf( '<b class="fn">%s</b>', get_comment_author_link( $comment ) )
);
$comment_author = get_comment_author_link( $comment );
if ( '0' == $comment->comment_approved && ! $show_pending_links ) {
$comment_author = get_comment_author( $comment );
}
printf(
/* translators: %s: Comment author link. */
__( '%s <span class="says">says:</span>' ),
sprintf( '<b class="fn">%s</b>', $comment_author )
);
?>
</div><!-- .comment-author -->
@@ -402,18 +448,20 @@ class Walker_Comment extends Walker {
</div><!-- .comment-content -->
<?php
comment_reply_link(
array_merge(
$args,
array(
'add_below' => 'div-comment',
'depth' => $depth,
'max_depth' => $args['max_depth'],
'before' => '<div class="reply">',
'after' => '</div>',
if ( '1' == $comment->comment_approved || $show_pending_links ) {
comment_reply_link(
array_merge(
$args,
array(
'add_below' => 'div-comment',
'depth' => $depth,
'max_depth' => $args['max_depth'],
'before' => '<div class="reply">',
'after' => '</div>',
)
)
)
);
);
}
?>
</article><!-- .comment-body -->
<?php

View File

@@ -553,10 +553,15 @@ class WP_Comment_Query {
// Numeric values are assumed to be user ids.
if ( is_numeric( $unapproved_identifier ) ) {
$approved_clauses[] = $wpdb->prepare( "( user_id = %d AND comment_approved = '0' )", $unapproved_identifier );
// Otherwise we match against email addresses.
} else {
$approved_clauses[] = $wpdb->prepare( "( comment_author_email = %s AND comment_approved = '0' )", $unapproved_identifier );
// Otherwise we match against email addresses.
if ( ! empty( $_GET['unapproved'] ) && ! empty( $_GET['moderation-hash'] ) ) {
// Only include requested comment.
$approved_clauses[] = $wpdb->prepare( "( comment_author_email = %s AND comment_approved = '0' AND comment_ID = %d )", $unapproved_identifier, (int) $_GET['unapproved'] );
} else {
// Include all of the author's unapproved comments.
$approved_clauses[] = $wpdb->prepare( "( comment_author_email = %s AND comment_approved = '0' )", $unapproved_identifier );
}
}
}
}

View File

@@ -2923,22 +2923,11 @@ final class WP_Customize_Manager {
add_filter( 'wp_save_post_revision_post_has_changed', array( $this, '_filter_revision_post_has_changed' ), 5, 3 );
/*
* Update the changeset post. The publish_customize_changeset action
* will cause the settings in the changeset to be saved via
* WP_Customize_Setting::save().
* Update the changeset post. The publish_customize_changeset action will cause the settings in the
* changeset to be saved via WP_Customize_Setting::save(). Updating a post with publish status will
* trigger WP_Customize_Manager::publish_changeset_values().
*/
// Prevent content filters from corrupting JSON in post_content.
$has_kses = ( false !== has_filter( 'content_save_pre', 'wp_filter_post_kses' ) );
if ( $has_kses ) {
kses_remove_filters();
}
$has_targeted_link_rel_filters = ( false !== has_filter( 'content_save_pre', 'wp_targeted_link_rel' ) );
if ( $has_targeted_link_rel_filters ) {
wp_remove_targeted_link_rel_filters();
}
// Note that updating a post with publish status will trigger WP_Customize_Manager::publish_changeset_values().
add_filter( 'wp_insert_post_data', array( $this, 'preserve_insert_changeset_post_content' ), 5, 3 );
if ( $changeset_post_id ) {
if ( $args['autosave'] && 'auto-draft' !== get_post_status( $changeset_post_id ) ) {
// See _wp_translate_postdata() for why this is required as it will use the edit_post meta capability.
@@ -2969,14 +2958,7 @@ final class WP_Customize_Manager {
$this->_changeset_post_id = $r; // Update cached post ID for the loaded changeset.
}
}
// Restore removed content filters.
if ( $has_kses ) {
kses_init_filters();
}
if ( $has_targeted_link_rel_filters ) {
wp_init_targeted_link_rel_filters();
}
remove_filter( 'wp_insert_post_data', array( $this, 'preserve_insert_changeset_post_content' ), 5 );
$this->_changeset_data = null; // Reset so WP_Customize_Manager::changeset_data() will re-populate with updated contents.
@@ -2994,6 +2976,51 @@ final class WP_Customize_Manager {
return $response;
}
/**
* Preserve the initial JSON post_content passed to save into the post.
*
* This is needed to prevent KSES and other {@see 'content_save_pre'} filters
* from corrupting JSON data.
*
* Note that WP_Customize_Manager::validate_setting_values() have already
* run on the setting values being serialized as JSON into the post content
* so it is pre-sanitized.
*
* Also, the sanitization logic is re-run through the respective
* WP_Customize_Setting::sanitize() method when being read out of the
* changeset, via WP_Customize_Manager::post_value(), and this sanitized
* value will also be sent into WP_Customize_Setting::update() for
* persisting to the DB.
*
* Multiple users can collaborate on a single changeset, where one user may
* have the unfiltered_html capability but another may not. A user with
* unfiltered_html may add a script tag to some field which needs to be kept
* intact even when another user updates the changeset to modify another field
* when they do not have unfiltered_html.
*
* @since 5.4.1
*
* @param array $data An array of slashed and processed post data.
* @param array $postarr An array of sanitized (and slashed) but otherwise unmodified post data.
* @param array $unsanitized_postarr An array of slashed yet *unsanitized* and unprocessed post data as originally passed to wp_insert_post().
* @return array Filtered post data.
*/
public function preserve_insert_changeset_post_content( $data, $postarr, $unsanitized_postarr ) {
if (
isset( $data['post_type'] ) &&
isset( $unsanitized_postarr['post_content'] ) &&
'customize_changeset' === $data['post_type'] ||
(
'revision' === $data['post_type'] &&
! empty( $data['post_parent'] ) &&
'customize_changeset' === get_post_type( $data['post_parent'] )
)
) {
$data['post_content'] = $unsanitized_postarr['post_content'];
}
return $data;
}
/**
* Trash or delete a changeset post.
*

View File

@@ -187,7 +187,7 @@ class WP_Fatal_Error_Handler {
'<p>%s</p><p><a href="%s">%s</a></p>',
$message,
/* translators: Documentation explaining debugging in WordPress. */
esc_url( __( 'https://wordpress.org/support/article/debugging-in-wordpress/' ) ),
__( 'https://wordpress.org/support/article/debugging-in-wordpress/' ),
__( 'Learn more about debugging in WordPress.' )
);

View File

@@ -441,7 +441,7 @@ class WP_Object_Cache {
echo '</p>';
echo '<ul>';
foreach ( $this->cache as $group => $cache ) {
echo "<li><strong>Group:</strong> $group - ( " . number_format( strlen( serialize( $cache ) ) / KB_IN_BYTES, 2 ) . 'k )</li>';
echo '<li><strong>Group:</strong> ' . esc_html( $group ) . ' - ( ' . number_format( strlen( serialize( $cache ) ) / KB_IN_BYTES, 2 ) . 'k )</li>';
}
echo '</ul>';
}

View File

@@ -811,10 +811,6 @@ class WP_Query {
$this->is_single = true;
} elseif ( $qv['p'] ) {
$this->is_single = true;
} elseif ( ( '' !== $qv['hour'] ) && ( '' !== $qv['minute'] ) && ( '' !== $qv['second'] ) && ( '' != $qv['year'] ) && ( '' != $qv['monthnum'] ) && ( '' != $qv['day'] ) ) {
// If year, month, day, hour, minute, and second are set,
// a single post is being queried.
$this->is_single = true;
} elseif ( '' != $qv['pagename'] || ! empty( $qv['page_id'] ) ) {
$this->is_page = true;
$this->is_single = false;

View File

@@ -404,6 +404,10 @@ class WP {
if ( is_user_logged_in() ) {
$headers = array_merge( $headers, wp_get_nocache_headers() );
} elseif ( ! empty( $_GET['unapproved'] ) && ! empty( $_GET['moderation-hash'] ) ) {
// Unmoderated comments are only visible for one minute via the moderation hash.
$headers['Expires'] = gmdate( 'D, d M Y H:i:s', time() + MINUTE_IN_SECONDS );
$headers['Cache-Control'] = 'max-age=60, must-revalidate';
}
if ( ! empty( $this->query_vars['error'] ) ) {
$status = (int) $this->query_vars['error'];

View File

@@ -246,7 +246,7 @@ class WP_Dependencies {
*
* @param string $handle Name of the item. Should be unique.
* @param string $key The data key.
* @param string $value The data value.
* @param mixed $value The data value.
* @return bool True on success, false on failure.
*/
public function add_data( $handle, $key, $value ) {
@@ -266,7 +266,7 @@ class WP_Dependencies {
*
* @param string $handle Name of the item. Should be unique.
* @param string $key The data key.
* @return string|false Extra item data (string), false otherwise.
* @return mixed Extra item data (string), false otherwise.
*/
public function get_data( $handle, $key ) {
if ( ! isset( $this->registered[ $handle ] ) ) {

View File

@@ -594,8 +594,13 @@ function comment_date( $format = '', $comment_ID = 0 ) {
* @return string The possibly truncated comment excerpt.
*/
function get_comment_excerpt( $comment_ID = 0 ) {
$comment = get_comment( $comment_ID );
$comment_text = strip_tags( str_replace( array( "\n", "\r" ), ' ', $comment->comment_content ) );
$comment = get_comment( $comment_ID );
if ( ! post_password_required( $comment->comment_post_ID ) ) {
$comment_text = strip_tags( str_replace( array( "\n", "\r" ), ' ', $comment->comment_content ) );
} else {
$comment_text = __( 'Password protected' );
}
/* translators: Maximum number of words used in a comment excerpt. */
$comment_excerpt_length = intval( _x( '20', 'comment_excerpt_length' ) );
@@ -1016,7 +1021,7 @@ function comment_text( $comment_ID = 0, $args = array() ) {
* @see Walker_Comment::comment()
*
* @param string $comment_text Text of the current comment.
* @param WP_Comment|null $comment The comment object.
* @param WP_Comment|null $comment The comment object. Null if not found.
* @param array $args An array of arguments.
*/
echo apply_filters( 'comment_text', $comment_text, $comment, $args );

View File

@@ -1837,7 +1837,12 @@ function wp_get_unapproved_comment_author_email() {
$comment = get_comment( $comment_id );
if ( $comment && hash_equals( $_GET['moderation-hash'], wp_hash( $comment->comment_date_gmt ) ) ) {
$commenter_email = $comment->comment_author_email;
// The comment will only be viewable by the comment author for 1 minute.
$comment_preview_expires = strtotime( $comment->comment_date_gmt . '+1 minute' );
if ( time() < $comment_preview_expires ) {
$commenter_email = $comment->comment_author_email;
}
}
}

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -205,7 +209,6 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -1176,23 +1179,24 @@ body.admin-color-light .block-list-appender.is-drop-target > div::before {
min-height: 28px;
line-height: 1.8; }
.block-editor-block-list__empty-block-inserter,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
position: absolute;
top: 0; }
.block-editor-block-list__empty-block-inserter .components-button.has-icon,
top: 0;
height: 28px; }
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .components-button.has-icon,
.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon {
width: 28px;
height: 28px;
padding: 0; }
.block-editor-block-list__empty-block-inserter .components-button svg,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .components-button svg,
.block-editor-default-block-appender .block-editor-inserter .components-button svg {
display: block;
margin: auto; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle {
margin-left: 0; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
box-shadow: none; }

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -205,7 +209,6 @@
.block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -1180,23 +1183,24 @@ body.admin-color-light .block-list-appender.is-drop-target > div::before {
min-height: 28px;
line-height: 1.8; }
.block-editor-block-list__empty-block-inserter,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
position: absolute;
top: 0; }
.block-editor-block-list__empty-block-inserter .components-button.has-icon,
top: 0;
height: 28px; }
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .components-button.has-icon,
.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon {
width: 28px;
height: 28px;
padding: 0; }
.block-editor-block-list__empty-block-inserter .components-button svg,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .components-button svg,
.block-editor-default-block-appender .block-editor-inserter .components-button svg {
display: block;
margin: auto; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle {
margin-right: 0; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover,
.block-editor-block-list__empty-block-inserter.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
box-shadow: none; }

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -946,16 +950,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
.wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
max-width: unset; }
figure.block-library-media-text__media-container {
margin: 0;
height: 100%;
width: 100%; }
.wp-block-media-text .block-library-media-text__media-container img,
.wp-block-media-text .block-library-media-text__media-container video {
vertical-align: middle;
width: 100%; }
.editor-media-container__resizer .components-resizable-box__handle {
display: none; }

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -951,16 +955,6 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
.wp-block-media-text > .block-editor-inner-blocks > .block-editor-block-list__layout > .block-editor-block-list__block {
max-width: unset; }
figure.block-library-media-text__media-container {
margin: 0;
height: 100%;
width: 100%; }
.wp-block-media-text .block-library-media-text__media-container img,
.wp-block-media-text .block-library-media-text__media-container video {
vertical-align: middle;
width: 100%; }
.editor-media-container__resizer .components-resizable-box__handle {
display: none; }

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -87,7 +91,12 @@
.wp-block-buttons .wp-block-button {
display: inline-block;
margin: 4px; }
margin-left: 8px;
margin-bottom: 8px; }
.wp-block-buttons.alignright .wp-block-button {
margin-left: none;
margin-right: 8px; }
.wp-block-buttons.aligncenter {
text-align: center; }
@@ -336,8 +345,7 @@
width: 100%;
height: 100%;
z-index: 0;
-o-object-fit: cover;
object-fit: cover; }
object-fit: cover; }
section.wp-block-cover-image h2,
.wp-block-cover-image-text,
@@ -565,8 +573,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
height: 100%;
flex: 1;
-o-object-fit: cover;
object-fit: cover; } }
object-fit: cover; } }
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item,
.blocks-gallery-grid .blocks-gallery-image,
@@ -1068,7 +1075,6 @@ section.wp-block-cover-image > h2,
.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__content {
display: flex;
align-items: center;
width: -webkit-max-content;
width: max-content;
padding: 6px 16px; }
.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link:first-child:not(:only-child) .wp-block-navigation-link__content {
@@ -1672,8 +1678,7 @@ p.wp-block-subhead {
max-width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
.wp-block-video [poster] {
-o-object-fit: cover;
object-fit: cover; } }
object-fit: cover; } }
.wp-block-video.aligncenter {
text-align: center; }
.wp-block-video figcaption {

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -88,7 +92,12 @@
.wp-block-buttons .wp-block-button {
display: inline-block;
margin: 4px; }
margin-right: 8px;
margin-bottom: 8px; }
.wp-block-buttons.alignright .wp-block-button {
margin-right: none;
margin-left: 8px; }
.wp-block-buttons.aligncenter {
text-align: center; }
@@ -339,8 +348,7 @@
width: 100%;
height: 100%;
z-index: 0;
-o-object-fit: cover;
object-fit: cover; }
object-fit: cover; }
section.wp-block-cover-image h2,
.wp-block-cover-image-text,
@@ -569,8 +577,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
height: 100%;
flex: 1;
-o-object-fit: cover;
object-fit: cover; } }
object-fit: cover; } }
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item,
.blocks-gallery-grid .blocks-gallery-image,
@@ -1090,7 +1097,6 @@ section.wp-block-cover-image > h2,
.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__content {
display: flex;
align-items: center;
width: -webkit-max-content;
width: max-content;
padding: 6px 16px; }
.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link:first-child:not(:only-child) .wp-block-navigation-link__content {
@@ -1696,8 +1702,7 @@ p.wp-block-subhead {
max-width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
.wp-block-video [poster] {
-o-object-fit: cover;
object-fit: cover; } }
object-fit: cover; } }
.wp-block-video.aligncenter {
text-align: center; }
.wp-block-video figcaption {

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/

View File

@@ -659,7 +659,6 @@ svg.components-checkbox-control__checked {
width: 31px;
height: 31px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none; }
@@ -997,13 +996,18 @@ svg.components-checkbox-control__checked {
border-radius: 50%;
background: #fff;
padding: 2px;
min-width: 24px;
width: 24px;
height: 24px;
position: relative; }
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point svg {
height: 100%;
width: 100%; }
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {
border: 2px solid #fff;
border-radius: 50%;
height: 18px;
padding: 0;
position: absolute;
width: 18px;
top: 3px; }
@@ -1011,7 +1015,7 @@ svg.components-checkbox-control__checked {
background: #fafafa;
color: #23282d;
border-color: #999;
box-shadow: inset 0 -1px 0 #999, 0 0 0 1px #fff, 0 0 0 3px #007cba; }
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; }
.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point {
margin-right: auto;
@@ -1460,7 +1464,6 @@ svg.dashicon {
text-align: center;
vertical-align: top;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -1536,7 +1539,6 @@ svg.dashicon {
.DayPickerNavigation_button {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 0;
@@ -1733,7 +1735,6 @@ svg.dashicon {
.DateInput_input__readOnly {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -2309,7 +2310,6 @@ body.is-dragging-components-draggable {
max-width: 100%;
width: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -3680,7 +3680,8 @@ body.admin-color-light .components-resizable-box__side-handle::before {
bottom: 0;
right: 0;
width: 100%;
height: 100%; }
height: 100%;
margin: auto; }
.components-sandbox {
overflow: hidden; }
@@ -3723,7 +3724,6 @@ body.lockscroll {
cursor: pointer; }
@media (min-width: 600px) {
.components-snackbar {
width: -webkit-fit-content;
width: fit-content; } }
.components-snackbar:hover {
background-color: #191e23; }

File diff suppressed because one or more lines are too long

View File

@@ -659,7 +659,6 @@ svg.components-checkbox-control__checked {
width: 31px;
height: 31px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none; }
@@ -1001,13 +1000,18 @@ svg.components-checkbox-control__checked {
border-radius: 50%;
background: #fff;
padding: 2px;
min-width: 24px;
width: 24px;
height: 24px;
position: relative; }
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point svg {
height: 100%;
width: 100%; }
.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {
border: 2px solid #fff;
border-radius: 50%;
height: 18px;
padding: 0;
position: absolute;
width: 18px;
top: 3px; }
@@ -1015,7 +1019,7 @@ svg.components-checkbox-control__checked {
background: #fafafa;
color: #23282d;
border-color: #999;
box-shadow: inset 0 -1px 0 #999, 0 0 0 1px #fff, 0 0 0 3px #007cba; }
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; }
.components-custom-gradient-picker__color-picker-popover .components-custom-gradient-picker__remove-control-point {
margin-left: auto;
@@ -1466,7 +1470,6 @@ svg.dashicon {
text-align: center;
vertical-align: top;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -1542,7 +1545,6 @@ svg.dashicon {
.DayPickerNavigation_button {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 0;
@@ -1739,7 +1741,6 @@ svg.dashicon {
.DateInput_input__readOnly {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -2318,7 +2319,6 @@ body.is-dragging-components-draggable {
max-width: 100%;
width: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
@@ -3699,7 +3699,8 @@ body.admin-color-light .components-resizable-box__side-handle::before {
bottom: 0;
left: 0;
width: 100%;
height: 100%; }
height: 100%;
margin: auto; }
.components-sandbox {
overflow: hidden; }
@@ -3742,7 +3743,6 @@ body.lockscroll {
cursor: pointer; }
@media (min-width: 600px) {
.components-snackbar {
width: -webkit-fit-content;
width: fit-content; } }
.components-snackbar:hover {
background-color: #191e23; }

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -67,19 +71,14 @@
.edit-post-header {
height: 56px;
padding: 4px 2px;
background: #fff;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
max-width: 100vw; }
@media (min-width: 280px) {
.edit-post-header {
flex-wrap: nowrap; } }
@media (min-width: 600px) {
.edit-post-header {
padding: 8px; } }
.edit-post-header > .edit-post-header__settings {
order: 1; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@@ -87,12 +86,15 @@
order: initial; } }
.edit-post-header__toolbar {
display: flex; }
display: flex;
flex-grow: 1;
padding-right: 16px; }
.edit-post-header__settings {
display: inline-flex;
align-items: center;
flex-wrap: wrap; }
flex-wrap: wrap;
padding-left: 8px; }
.edit-post-header .components-button.is-pressed {
color: #fff;
@@ -127,16 +129,28 @@
.edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle {
margin: 0 3px 0 12px; } }
.edit-post-fullscreen-mode-close__toolbar {
.edit-post-fullscreen-mode-close.has-icon {
display: none; }
@media (min-width: 782px) {
.edit-post-fullscreen-mode-close__toolbar {
.edit-post-fullscreen-mode-close.has-icon {
display: flex;
border-top: 0;
border-bottom: 0;
border-right: 0;
margin: -9px -10px -8px 10px;
padding: 9px 10px; } }
align-items: center;
align-self: stretch;
border: none;
background: #23282e;
color: #fff;
border-radius: 0;
height: auto;
width: 56px; }
.edit-post-fullscreen-mode-close.has-icon:hover {
background: #32373d !important;
color: #fff !important;
box-shadow: none !important; }
.edit-post-fullscreen-mode-close.has-icon:active {
color: #fff; } }
.edit-post-fullscreen-mode-close.has-icon svg {
margin-right: auto;
margin-left: auto; }
.edit-post-header-toolbar {
display: inline-flex;

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -67,19 +71,14 @@
.edit-post-header {
height: 56px;
padding: 4px 2px;
background: #fff;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
max-width: 100vw; }
@media (min-width: 280px) {
.edit-post-header {
flex-wrap: nowrap; } }
@media (min-width: 600px) {
.edit-post-header {
padding: 8px; } }
.edit-post-header > .edit-post-header__settings {
order: 1; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@@ -87,12 +86,15 @@
order: initial; } }
.edit-post-header__toolbar {
display: flex; }
display: flex;
flex-grow: 1;
padding-left: 16px; }
.edit-post-header__settings {
display: inline-flex;
align-items: center;
flex-wrap: wrap; }
flex-wrap: wrap;
padding-right: 8px; }
.edit-post-header .components-button.is-pressed {
color: #fff;
@@ -127,16 +129,28 @@
.edit-post-header .components-button.editor-post-publish-button, .edit-post-header .components-button.editor-post-publish-panel__toggle {
margin: 0 12px 0 3px; } }
.edit-post-fullscreen-mode-close__toolbar {
.edit-post-fullscreen-mode-close.has-icon {
display: none; }
@media (min-width: 782px) {
.edit-post-fullscreen-mode-close__toolbar {
.edit-post-fullscreen-mode-close.has-icon {
display: flex;
border-top: 0;
border-bottom: 0;
border-left: 0;
margin: -9px 10px -8px -10px;
padding: 9px 10px; } }
align-items: center;
align-self: stretch;
border: none;
background: #23282e;
color: #fff;
border-radius: 0;
height: auto;
width: 56px; }
.edit-post-fullscreen-mode-close.has-icon:hover {
background: #32373d !important;
color: #fff !important;
box-shadow: none !important; }
.edit-post-fullscreen-mode-close.has-icon:active {
color: #fff; } }
.edit-post-fullscreen-mode-close.has-icon svg {
margin-left: auto;
margin-right: auto; }
.edit-post-header-toolbar {
display: inline-flex;

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/

View File

@@ -10,6 +10,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/

View File

@@ -11,6 +11,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -407,7 +411,6 @@
position: absolute;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;

File diff suppressed because one or more lines are too long

View File

@@ -11,6 +11,10 @@
/**
* Often re-used variables
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Breakpoint mixins
*/
@@ -409,7 +413,6 @@
position: absolute;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More