Compare commits

...

68 Commits

Author SHA1 Message Date
desrosj
6b1cabaea1 Tag 6.0.2
Built from https://develop.svn.wordpress.org/tags/6.0.2@54011


git-svn-id: http://core.svn.wordpress.org/tags/6.0.2@53570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:40:12 +00:00
desrosj
3eeab6c06b WordPress 6.0.2.
Built from https://develop.svn.wordpress.org/branches/6.0@53987


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:24:15 +00:00
Sergey Biryukov
e7a4fcd163 Plugins: Escape output in error messages.
Props tykoted, paulkevan, peterwilsoncc.
Merges [53960] to the 6.0 branch.
Built from https://develop.svn.wordpress.org/branches/6.0@53963


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:23:08 +00:00
Sergey Biryukov
29e2d8ff85 General: Ensure bookmark query limits are numeric.
Props paulkevan, xknown.
Merges [53959] to the 6.0 branch.
Built from https://develop.svn.wordpress.org/branches/6.0@53962


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:21:20 +00:00
Sergey Biryukov
24ccd7f9a3 Posts, Post Types: Escape output within the_meta().
Convert markup to entities when displaying on the front end. Deprecates `the_meta()` in favor of `get_post_meta()`.

Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.
Merges [53958] to the 6.0 branch.
Built from https://develop.svn.wordpress.org/branches/6.0@53961


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:20:12 +00:00
Sergey Biryukov
802c58df13 Post WordPress 6.0.2 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.0@53932


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 16:49:10 +00:00
Sergey Biryukov
1dfc0be4a7 WordPress 6.0.2 RC1.
Built from https://develop.svn.wordpress.org/branches/6.0@53931


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 16:24:09 +00:00
Sergey Biryukov
76684dfc4d Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC.
This brings a new version of the Gutenberg code from the [https://github.com/WordPress/gutenberg/tree/wp/6.0 wp/6.0 branch] into core.

- @wordpress/block-directory@3.4.14
- @wordpress/block-editor@8.5.10
- @wordpress/block-library@7.3.14
- @wordpress/customize-widgets@3.3.14
- @wordpress/edit-post@6.3.14
- @wordpress/edit-site@4.3.14
- @wordpress/edit-widgets@4.3.14
- @wordpress/editor@12.5.10
- @wordpress/format-library@3.4.10
- @wordpress/reusable-blocks@3.4.10
- @wordpress/widgets@2.4.10

Props gziolo, SergeyBiryukov.
Merges [53929] to the 6.0 branch.
Fixes #56414.
Built from https://develop.svn.wordpress.org/branches/6.0@53930


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 15:54:28 +00:00
Sergey Biryukov
bd2cb12160 Editor: Ensure get_block_templates() returns unique templates or template parts.
The function was using the `array_column()` PHP function on an array of objects, which works as expected on PHP 7 or later, but not on PHP 5.6.

This resulted in customized templates being listed multiple times on the Templates and Template Parts screens, and being repeatedly added between lists when switching between the screens.

The issue is now resolved by replacing `array_column()` with the `wp_list_pluck()` WordPress core function, which provides consistent behavior beetween PHP versions.

Reference: [https://github.com/php/php-src/blob/PHP-7.0.0/UPGRADING#L626 PHP 7.0 Upgrade Notes: array_column()].

Props uofaberdeendarren, antonvlasenko, ironprogrammer, jonmackintosh, costdev, hellofromTonya, swissspidy, rudlinkon.
Merges [53927] to the 6.0 branch.
Fixes #56271.
Built from https://develop.svn.wordpress.org/branches/6.0@53928


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 14:56:10 +00:00
Sergey Biryukov
40451dee2e External Libraries: Update the Moment library to version 2.29.4.
This is a minor bug fix release.

Props dilipbheda, desrosj, jkfoiztmcjeikfp, audrasjb.
Merges [53662] and [53725] to the 6.0 branch.
Fixes #56402. See #56031.
Built from https://develop.svn.wordpress.org/branches/6.0@53926


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 13:57:22 +00:00
Sergey Biryukov
4be05ba50f Help/About: Improve vertical alignment in the Additional Design Tools section.
This makes a transparent circle SVG smaller by removing empty space to match the height of other images in the same section, so that all three columns are aligned correctly.

Follow-up to [53339].

Props sabernhardt, weboccults, ironprogrammer, webcommsat, marybaum, oglekler.
Merges [53924] to the 6.0 branch.
Fixes #56210.
Built from https://develop.svn.wordpress.org/branches/6.0@53925


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 13:50:08 +00:00
Sergey Biryukov
774cac198a Editor: Fix register_block_type does not recognise ancestor block setting.
When registering block through PHP, using `register_block_type` function, newly introduced `ancestor` block setting in `block.json` was not recognised. It worked though, when block is registered from JavaScript.

Props lovor, annezazu, gziolo.
Merges [53718] to the 6.0 branch.
Fixes #56184.
Built from https://develop.svn.wordpress.org/branches/6.0@53923


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-23 13:32:12 +00:00
audrasjb
a3dd623395 Themes: Allow remote pattern registration in theme.json when core patterns are disabled.
In 6.0 there is now a functionality that allows to register selected remote patterns (from the Pattern Directory) via `theme.json`. However, it requires to fully enable all core and remote patterns. This can be a blocker for user adoption.

Many theme authors want to have all core and remote patterns disabled by default using `remove_theme_support( 'core-block-patterns' )`. This changeset ensures they are serving only patterns relevant to their theme.

It removes theme support check from the function that registers remote patterns specified in `theme.json`. This allows theme authors to disable core patterns but then selectively register the ones they want from the Pattern Directory. If a theme author intentionally specifies patterns in `theme.json`, they probably intend for them to be present in the pattern inserter and the check is not required.

This change will make the Pattern Directory more appealing/usable from a theme author's perspective.

Props ndiego, ryelle, audrasjb.
Merges [53793] to the 6.0 branch.
Fixes #56112.

Built from https://develop.svn.wordpress.org/branches/6.0@53903


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-17 21:14:11 +00:00
desrosj
90e6f5aed5 Build/Test Tools: Add tag pattern matching for the testing NPM workflow.
This workflow was missed in [50298].

Merges [53737] to the 6.0 branch.
See #55652.
Built from https://develop.svn.wordpress.org/branches/6.0@53738


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-20 18:56:11 +00:00
Sergey Biryukov
4200e71299 Docs: Correct @since tags introduced in WordPress 6.0.1.
The associated changes were backported to the 6.0 branch, so the version should be 6.0.1 instead of 6.1.0.

This affects:
* `@since` tag for the `block-templates` feature in `create_initial_theme_features()`.
* `@since` tag for the `show_on_front`, `page_on_front`, and `page_for_posts` options on the REST API settings endpoint.

Follow-up to [53590], [53661].

Props tommusrhodus, johnbillion.
Merges [53704] to the 6.0 branch.
Fixes #56225.
Built from https://develop.svn.wordpress.org/branches/6.0@53705


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-15 16:02:11 +00:00
Sergey Biryukov
2454a25f2b Post WordPress 6.0.1 version bump.
The 6.0 branch is now 6.0.2-alpha.
Built from https://develop.svn.wordpress.org/branches/6.0@53697


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-12 17:08:19 +00:00
Sergey Biryukov
a96422fca9 WordPress 6.0.1.
Built from https://develop.svn.wordpress.org/branches/6.0@53695


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-12 16:13:12 +00:00
Sergey Biryukov
7dfcfb4718 Help/About: Update the About page for WordPress 6.0.1.
Fixes #56200.
Built from https://develop.svn.wordpress.org/branches/6.0@53694


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-12 12:54:16 +00:00
Sergey Biryukov
bb5f476908 Editor: Include user's name in the wp_refresh_post_lock() response.
This ensures that the post lock data returned by the Heartbeat API is consistent.

Previously, `wp_check_locked_posts()` was updated to return the name of the user currently editing the post, but the `wp_refresh_post_lock()` response did not get a similar change.

Follow-up to [53070].

Props nathan.noom.
Merges [53692] to the 6.0 branch.
Fixes #56197.
Built from https://develop.svn.wordpress.org/branches/6.0@53693


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-11 18:22:22 +00:00
Sergey Biryukov
d6d3444b17 Post WordPress 6.0.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.0@53668


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 16:45:12 +00:00
Sergey Biryukov
c9dbe5b053 WordPress 6.0.1 RC1.
Built from https://develop.svn.wordpress.org/branches/6.0@53667


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 16:26:14 +00:00
Sergey Biryukov
bee2e5e52c Block Patterns: Update the value used for keywords.
Patterns on the [https://wordpress.org/patterns/ Pattern Directory] can have keywords for better discoverability while searching. The way these are stored [69548ff1f0 was changed from a taxonomy to meta value], but the `/wp/v2/pattern-directory/patterns` endpoint was still pulling from that old value.

The correct property to use for this field is `meta.wpop_keywords`, which returns a single string with comma-separated keywords.

Props ryelle, TimothyBlynJacobs.
Merges [53665] to the 6.0 branch.
See #56126.
Built from https://develop.svn.wordpress.org/branches/6.0@53666


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 16:05:11 +00:00
Sergey Biryukov
1579b5d2e0 Themes: Revert the change of theme preview width on Add Themes screen.
The intention was for the preview ratio to remain accurate for the user's screen size when the sidebar is open, but this appears to have caused unintended side effects to the preview alignment.

Follow-up to [52647].

Props superbthemescom, Presskopp.
Merges [53663] to the 6.0 branch.
Fixes #56097. See #54764.
Built from https://develop.svn.wordpress.org/branches/6.0@53664


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 15:38:12 +00:00
Sergey Biryukov
b6003661d6 Themes: Register the block-templates theme feature.
This ensures the feature is included in the `theme_supports` REST API data for the active theme.

Follow-up to [48171].

Props grantmkin, TimothyBlynJacobs, addiestavlo.
Merges [53659] to the 6.0 branch.
Fixes #55681.
Built from https://develop.svn.wordpress.org/branches/6.0@53661


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 15:04:12 +00:00
Sergey Biryukov
731b5c08bd Editor: Update block editor packages for WordPress 6.0.1.
This brings a new version of the Gutenberg code from the [https://github.com/WordPress/gutenberg/tree/wp/6.0 wp/6.0 branch] into core.

Original PR from Gutenberg repository:
* #GB42131 Post Comments Form: Fix warning i18n

The following packages were updated:
* `@wordpress/block-directory` to `3.4.13`
* `@wordpress/block-library` to `7.3.13`
* `@wordpress/customize-widgets` to `3.3.13`
* `@wordpress/edit-post` to `6.3.13`
* `@wordpress/edit-site` to `4.3.13`
* `@wordpress/edit-widgets` to `4.3.13`

Props zieladam, bernhard-reiter, tobifjellner.
Merges [53657] to the 6.0 branch.
See #56058.
Built from https://develop.svn.wordpress.org/branches/6.0@53658


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 14:40:30 +00:00
Peter Wilson
dcc970fc76 Taxonomy: Fix caching issues in WP_Term_Query class.
Introduced [52836] when passing `child_of` or `pad_counts` parameters to `get_terms` or `WP_Term_Query` class, the array 
of terms received by the query, was not correctly cached. This change simplifies the logic in `WP_Term_Query` and 
ensures terms are correctly cached. This change also, improves performance, by only caching an array of term ids where 
possible.  

Additionally, the database version bump included in this patch is also required for #55890 to initialize the user count 
on single sites.

Props denishua, spacedmonkey, oztaser, peterwilsoncc, SergeyBiryukov, georgestephanis, jnz31, knutsp, mukesh27, costdev, 
tharsheblows.
Merges [53496] to the 6.0 branch.
Fixes #55837, #55890.

 --This line, and those below, will be ignored--

_M   .
M    src/wp-includes/class-wp-term-query.php
M    src/wp-includes/version.php
M    tests/phpunit/tests/term/getTerms.php

Built from https://develop.svn.wordpress.org/branches/6.0@53650


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-05 00:09:13 +00:00
Sergey Biryukov
403a1ee7e7 Help/About: Add cache busting string to video thumbnail.
Append `?ver=6.0` to the image used for linking to the video to break the cache in browsers, proxy servers and on the CDN.

A new version of the image has been uploaded and replaced the file in the original location.

Props annezazu, critterverse, ryelle, costdev, ironprogrammer, dd32, peterwilsoncc.
Merges [53447] to the 6.0 branch.
Fixes #55808.
Built from https://develop.svn.wordpress.org/branches/6.0@53649


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-04 18:38:15 +00:00
Sergey Biryukov
4ac819aebb Bundled Themes: Revert the Twenty Ten theme version to 3.6.
No functional changes were made to Twenty Ten during the WordPress 6.0 release cycle so the theme version bump is not needed. The "Tested up to" header change is maintained.

Follow-up to and partial revert of [53418].

Props desrosj, ravipatel, costdev, peterwilsoncc.
Merges [53448] to the 6.0 branch.
See #55810, #55754.
Built from https://develop.svn.wordpress.org/branches/6.0@53648


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-04 18:31:13 +00:00
Sergey Biryukov
862dffa381 Embeds: Remove Meetup as an oEmbed source since the related endpoint has been deprecated.
This changeset removes Meetup as an oEmbed source, since Meetup.com have deprecated their oEmbed endpoint. The block has already been removed from the editor, see #GB35085.

Props peterwilsoncc, audrasjb, swissspidy, SergeyBiryukov.
Merges [53540] and [53646] to the 6.0 branch.
Fixes #55997.
Built from https://develop.svn.wordpress.org/branches/6.0@53647


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-04 18:26:14 +00:00
Sergey Biryukov
636debbcc4 Editor: Update block editor packages for WordPress 6.0.1.
This brings a new version of the Gutenberg code from the [https://github.com/WordPress/gutenberg/tree/wp/6.0 wp/6.0 branch] into core.

The following packages were updated:
* `@wordpress/block-directory` to `3.4.12`
* `@wordpress/block-editor` to `8.5.9`
* `@wordpress/block-library` to `7.3.12`
* `@wordpress/components` to `19.8.5`
* `@wordpress/customize-widgets` to `3.3.12`
* `@wordpress/edit-post` to `6.3.12`
* `@wordpress/edit-site` to `4.3.12`
* `@wordpress/edit-widgets` to `4.3.12`
* `@wordpress/editor` to `12.5.9`
* `@wordpress/format-library` to `3.4.9`
* `@wordpress/icons` to `8.2.3`
* `@wordpress/interface` to `4.5.6`
* `@wordpress/list-reusable-blocks` to `3.4.5`
* `@wordpress/nux` to `5.4.5`
* `@wordpress/plugins` to `4.4.3`
* `@wordpress/preferences` to `1.2.5`
* `@wordpress/reusable-blocks` to `3.4.9`
* `@wordpress/server-side-render` to `3.4.6`
* `@wordpress/widgets` to `2.4.9`

Props zieladam.
Merges [53644] to the 6.0 branch.
See #56058.
Built from https://develop.svn.wordpress.org/branches/6.0@53645


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-04 12:10:37 +00:00
Sergey Biryukov
898f1066c8 Editor: Register the Comments Query Loop block from metadata.
This ensures that the block title and description can be translated.

Follow-up to [53157].

Props cbravobernal, bernhard-reiter, adamziel, gziolo, peterwilsoncc, audrasjb, mukesh27, SergeyBiryukov.
Merges [53631] to the 6.0 branch.
Fixes #56093. See #55809.
Built from https://develop.svn.wordpress.org/branches/6.0@53632


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-02 14:40:12 +00:00
desrosj
9b5a6ac000 Build/Test Tools: Update 3rd party GitHub Actions.
This updates the following GitHub Actions to the latest versions:

- `actions/checkout`
- `actions/cache`
- `actions/github-script`
- `actions/setup-node`
- `codecov/codecov-action`
- `shivammathur/setup-php`
- `slackapi/slack-github-action`

Various inline documentation updates are also included.

Merges [53581-53582], and [53592] to the 6.0 branch.
See #55652.
Built from https://develop.svn.wordpress.org/branches/6.0@53595


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-30 16:26:12 +00:00
Sergey Biryukov
96f502bfaa Editor: Ensure only the main query is modified when resolving template for new posts.
This adds a check for the main query in `_resolve_template_for_new_post()` to fix a 404 response when resolving template for new posts or pages caused by the wrong query being modified.

Original PR from Gutenberg repository:
* [https://github.com/WordPress/gutenberg/pull/40799 #40799: Ensure only the main query is modified when resolving template for new posts]

Follow-up to [52316].

Props petitphp, zieladam, poena, ndiego, gziolo, kebbet, Mamaduka, manfcarlo.
Merges [53593] to the 6.0 branch.
See #56058.
Built from https://develop.svn.wordpress.org/branches/6.0@53594


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-30 15:50:12 +00:00
Sergey Biryukov
bdfebd0105 REST API: Add missing options to the settings endpoint.
This adds the `show_on_front`, `page_on_front`, and `page_for_posts` options to the settings endpoint that were missed during WP 6.0 backports.

Related PR from Gutenberg repository:
* [https://github.com/WordPress/gutenberg/pull/38607 #38607 Page for Posts: Display notice in template panel]

Props Mamaduka, spacedmonkey, gziolo, jameskoster, SergeyBiryukov.
Merges [53588] and [53589] to the 6.0 branch.
See #56058.
Built from https://develop.svn.wordpress.org/branches/6.0@53590


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-29 14:24:14 +00:00
Sergey Biryukov
f4df4293b4 Editor: Add utility classnames back to blocks that have layout attributes specified.
[https://github.com/WordPress/gutenberg/issues/38719 In 5.9 these utility classnames were removed], which removed the ability for theme/plugin authors to assign their own custom CSS related to specific layout selections. This was mostly related to the Button block.

This commit adds these classes dynamically based on attributes, rather than saving them to the serialized content.

Original PR from Gutenberg repository:
* [https://github.com/WordPress/gutenberg/pull/41487 #41487 Add utility classnames back to blocks that have layout attributes specified]

Props glendaviesnz, peterwilsoncc, andrewserong, zieladam, matveb, samikeijonen.
Merges [53568] to the 6.0 branch.
See #56058.
Built from https://develop.svn.wordpress.org/branches/6.0@53569


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-23 23:11:10 +00:00
Sergey Biryukov
ddc0b2434e Post WordPress 6.0 version bump.
The 6.0 branch is now 6.0.1-alpha.
Built from https://develop.svn.wordpress.org/branches/6.0@53446


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-24 20:19:12 +00:00
Sergey Biryukov
eeeaeb98bc WordPress 6.0.
Built from https://develop.svn.wordpress.org/branches/6.0@53444


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-24 18:59:15 +00:00
Peter Wilson
9e63e99a3d Help/About: Finalise links on about page.
Wrap up about page for 6.0 release.

Props ryelle, mukesh27, hellofromTonya, SergeyBiryukov, peterwilsoncc.
Merges [53442] to the 6.0 branch.
Fixes #55775.


Built from https://develop.svn.wordpress.org/branches/6.0@53443


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-24 00:19:18 +00:00
Sergey Biryukov
dce34573ae Upgrade/Install: Update $_old_files for 6.0.
Props hellofromTonya, JeffPaul, SergeyBiryukov.
Merges [53439] to the 6.0 branch.
Fixes #55794.
Built from https://develop.svn.wordpress.org/branches/6.0@53440


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-23 17:04:14 +00:00
ryelle
a826d9e50c Administration: Fix image overlap in Dashboard welcome panel.
Use longhand positioning properties (top, right, etc) so that the rtlcss build process can correctly adjust the layout for the RTL CSS.

Props ryelle, costdev, ironprogrammer, hellofromtonya.
Merges [53437] to the 6.0 branch.
Fixes #55793.


Built from https://develop.svn.wordpress.org/branches/6.0@53438


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-23 16:55:13 +00:00
hellofromTonya
6da9fd24e9 Build/Test Tools: Follow-up to r53432.
Removes comments global resets from base test case.

Follow-up to [53432].

See #54725,#55643.
Built from https://develop.svn.wordpress.org/branches/6.0@53434


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-23 14:12:08 +00:00
hellofromTonya
f09e937ad4 Build/Test Tools: Add tests and fix comments odd/even instabilities (test leaks).
[53353] Add unit test for Comment Template block.

[53353] The odd / even class attribute global variables are causing issues in comments tests when a new test is added or an existing test is modified. To stabilize the odd / even comment tests, the comment global variables are added to the base test class' tear_down() using the same patterns as the other global resets. This change ensures each comment test starts at the same state. In doing so, the expected odd / even class attributes are no longer affected by previous tests, i.e. test leaks.

Also moves the comment globals reset from the base test case to the test's `tear_down()`. Why? To avoid risks to extenders' tests as it's too late in the 6.0 cycle for a dev note.

Follow-up to [53298], [53172], [53138].

Props bernhard-reiter, darerodz, gziolo, hellofromTonya, zieladam, peterwilsoncc.
Merges [53353] and [53430] to the 6.0 branch.
Fixes #54725,#55643.
Built from https://develop.svn.wordpress.org/branches/6.0@53432


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-23 14:06:14 +00:00
Sergey Biryukov
48c2a75622 Post WordPress 6.0 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/6.0@53425


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-20 16:49:10 +00:00
Sergey Biryukov
795bcce594 WordPress 6.0 RC4
Built from https://develop.svn.wordpress.org/branches/6.0@53424


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-20 16:23:10 +00:00
Sergey Biryukov
f8001c5b1e Bundled themes: Bump versions for WordPress 6.0 release.
Bump bundled theme version numbers in preparation for the WordPress 6.0 release. Each theme's _tested up to_ file header has been increased to indicate WordPress 6.0 support.

The new version numbers are:

* Twenty Ten: 3.7
* Twenty Eleven: 4.1
* Twenty Twelve: 3.7
* Twenty Thirteen*: 3.7
* Twenty Fourteen: 3.4
* Twenty Fifteen*: 3.2
* Twenty Sixteen*: 2.7
* Twenty Seventeen*: 3.0
* Twenty Nineteen: 2.3
* Twenty Twenty: 2.0
* Twenty Twenty-One: 1.6

An asterisk indicates the theme includes assets requiring a manual version bump, this is set to the reverse date format of the release day: `20220524`.

Follow up to [53286] in which the Twenty Twenty-Two theme version was bumped to 1.2.

Props peterwilsoncc, desrosj, costdev, mehedi890.
Merges [53418] to the 6.0 branch.
Fixes #55754.
Built from https://develop.svn.wordpress.org/branches/6.0@53423


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-20 16:08:14 +00:00
gziolo
1d7e2f9bdf Editor: Update WordPress packages for 6.0 RC 4
[53419] Editor: Fix opinionated block styles loading in editor

[53420] Editor: Update WordPress packages for 6.0 RC 4

[53421] Docs: Add missing documentation for fallback_gap_value param

Props SergeyBiryukov, zieladam, jffng.
Merges [53419], [53420] and [53421] to the 6.0 branch.
Fixes #55567.




Built from https://develop.svn.wordpress.org/branches/6.0@53422


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-20 15:51:26 +00:00
Peter Wilson
2011bb9093 Themes: Accept valid block themes.
Updates theme validation to accept block themes. This replaces the requirement for an `index.php` with a requirement for either an `index.php`, `/templates/index.html` or the deprecated `/block-templates/index.html`.

Validation is updated for theme uploads, within `WP_Theme::__construct` and `validate_current_theme()`. 

A block theme using the deprecated file structure is now included in the unit tests.

Props peterwilsoncc, sergeybiryukov, hellofromtonya, costdev, azaozz, gziolo, FlorianBrinkmann, Boniu91, aristath, poena, audrasjb.
Merges [53416] to the 6.0 branch.
Fixes #55682.

Built from https://develop.svn.wordpress.org/branches/6.0@53417


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-20 01:01:14 +00:00
Peter Wilson
5541f90c38 Site Editor: Include style parameter in home template redirect.
When redirecting the site editor to the home template include the `style` querystring parameter if it is set. This ensures the style panel opens if the user expects it.

Props grantmkin, mamaduka, peterwilsoncc, gziolo.
Merges [53413] to the 6.0 branch.
Fixes #55752.


Built from https://develop.svn.wordpress.org/branches/6.0@53415


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-20 00:19:20 +00:00
ryelle
94a29bade1 Help/About: Ensure about page shows current header.
Add a query string parameter to the about page header images to ensure the cache is broken in browsers and CDNs.

Props ryelle.
Merges [53409] to the 6.0 branch.
Fixes #55750.


Built from https://develop.svn.wordpress.org/branches/6.0@53412


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-18 15:42:15 +00:00
Sergey Biryukov
acd0c4329f Post WordPress 6.0 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/6.0@53407


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-17 16:38:27 +00:00
Sergey Biryukov
829c54b81a WordPress 6.0 RC3
Built from https://develop.svn.wordpress.org/branches/6.0@53406


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-17 16:13:23 +00:00
gziolo
347a117b37 Editor: Update WordPress packages for 6.0 RC 3
[53402] Theme: Use a better method to determine the theme name during export

[53403] Editor: Update WordPress packages for 6.0 RC 3

[53404] Editor: Return additional block patterns to server-generated settings

Props SergeyBiryukov, scruffian, davidbaumwald, jeremyfelt, zieladam, ndiego, jsnajdr, peterwilsoncc, johnstonphilip.
Merges [53402], [53403] and [53404] to the 6.0 branch.
Fixes #55567.


Built from https://develop.svn.wordpress.org/branches/6.0@53405


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-17 15:43:41 +00:00
hellofromTonya
1af74a4629 Editor: Use stricter assertions in comment template tests.
Backport of the remaining Comment Template block tests from Gutenberg:

* `assertEquals()` replaced with `assertSameSetsWithIndex()`.
* assertion's argument order changed to ensure expected and then actual.

Follow-up to [53353], [53298], [53172], [53138].

Props bernhard-reiter.
Merges [53388] to the 6.0 branch.
Fixes #55708.
Built from https://develop.svn.wordpress.org/branches/6.0@53389


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 21:42:08 +00:00
Sergey Biryukov
c52fb4abf9 Post WordPress 6.0 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/6.0@53387


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 18:04:10 +00:00
Sergey Biryukov
d9b3f05bc0 WordPress 6.0 RC2
Built from https://develop.svn.wordpress.org/branches/6.0@53386


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 17:30:09 +00:00
ryelle
83ec312628 Administration: Update design of the Dashboard welcome panel.
This updates the panel to match the 6.0 About page styles, with the 6.0 graphic changing color based on the selected admin color scheme.

Props fcoveram, critterverse, joedolson, SergeyBiryukov.
Merges [53383] to the 6.0 branch.
Fixes #55532.


Built from https://develop.svn.wordpress.org/branches/6.0@53385


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 17:10:09 +00:00
ryelle
22a6198eb8 Help/About: Update the About section for 6.0.
Switch the images to use the s.w.org CDN. Update the font style and spacing on the About page. Update the header images for Credits, Freedoms, and Privacy.

Props fcoveram, peterwilsoncc, SergeyBiryukov.
Merges [53382] to the 6.0 branch.
Fixes #55434.


Built from https://develop.svn.wordpress.org/branches/6.0@53384


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 16:58:08 +00:00
hellofromTonya
b873fd1377 Editor: Update WordPress packages for 6.0 RC 2.
[53377] Included cherry-picked commits from the Gutenberg plugin that fix bugs discovered after WordPress 6.0 RC 1.

[53378] Includes cherry-picked commit from the Gutenberg plugin that fix a bug discovered just before WordPress 6.0 RC 2.

Props zieladam, ndiego, kebbet, hellofromTonya.
Merges [53377] and [53378] to the 6.0 branch.
Fixes #55567.

Built from https://develop.svn.wordpress.org/branches/6.0@53381


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 16:22:27 +00:00
Sergey Biryukov
0bb6a7c175 Media: Remove error suppression in wp_filesize().
Replace error suppressing in `wp_filesize()` with a `file_exists()` check before calling the native PHP `filesize()` function.

Follow up to [52837].

Props Cybr, johnbillion, spacedmonkey, antpb, azouamauriac, ironprogrammer, mukesh27, costdev, audrasjb, dlh, peterwilsoncc.
Merges [53372] to the 6.0 branch.
Fixes #55678.
See #49412.
Built from https://develop.svn.wordpress.org/branches/6.0@53380


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 16:12:08 +00:00
Sergey Biryukov
f7c8a72b6b Query: Restore late compact() call for the posts_clauses_request filter.
This addresses a backward compatibility break where `posts_join_request` and other filters were applied, but their results were subsequently discarded and earlier values were used instead.

Follow-up to [52974], [53175].

Props 5um17, johnbillion, peterwilsoncc, hellofromTonya, SergeyBiryukov.
Merges [53370] and [53375] to the 6.0 branch.
Fixes #55699.
Built from https://develop.svn.wordpress.org/branches/6.0@53379


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 16:09:11 +00:00
Peter Wilson
f5ddcf6c76 Users: Allow any DB field to be returned by WP_User_Query.
Restore behaviour of `fields` parameter in `WP_User_Query` to allow developers to specify any database field to be returned either individually or as part of a subset. Add these fields to the documentation.

When a subset of `fields` includes the `id` paramater, include it in the results in both upper and lowercase to maintain backward compatibility.

Follow up to [53327].

Props dd32, pbearne, kraftbj, peterwilsoncc, SergeyBiryukov.
Merges [53362,53373] to the 6.0 branch.
Fixes #53177.

Built from https://develop.svn.wordpress.org/branches/6.0@53374


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-10 05:53:10 +00:00
Peter Wilson
821cd18d54 Quick/Bulk Edit: Additional tests for showing taxonomies.
Additional tests to ensure taxonomies show in the quick/bulk edit froms based on the `show_in_quick_edit` setting rather than the the `show_ui` setting.

Follow up to [52841,31307].

Props figureone, costdev, audrasjb.
Merges [53368] to the 6.0 branch.
Fixes #49701.


Built from https://develop.svn.wordpress.org/branches/6.0@53369


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-09 00:53:09 +00:00
Peter Wilson
3ab07afe02 Script Loader: Fix i18n edge case breaking dependencies.
Prevent concatenation of scripts if the text domain is defined to ensure the dependency order is respected.

This accounts for an edge case in which replacing a core script via a plugin and a lack of translations (eg, for a US English site) could cause the JavaScript files to be ordered incorrectly.

Follow up to [52937].

Props audrasjb, boniu91, chaion07, costdev, hellofromtonya, jsnajdr, mukesh27, ndiego, ugyensupport, SergeyBiryukov.
Merges [53360,53366] to the 6.0 branch.
Fixes #55628.


Built from https://develop.svn.wordpress.org/branches/6.0@53367


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-09 00:03:18 +00:00
Peter Wilson
afa1841d32 Quick/Bulk Edit: Remove duplicate HTML IDs.
Rename `#inline-edit-legend` to avoid duplicate HTML IDs. These have been renamed `#quick-edit-legend` and `#bulk-edit-legend` for the quick and bulk editors respectively.

This HTML ID is not required by the quick editor duplicated via JavaScript so is removed as part of the duplication process.

Follow up to [53096].

Props azaozz, costdev, greglone, hellofromtonya, ironprogrammer, joedolson, sabernhardt, SergeyBiryukov, audrasjb.
Merges [53352] to the 6.0 branch.
Fixes #55575.
See #35483.

Built from https://develop.svn.wordpress.org/branches/6.0@53361


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-07 03:10:13 +00:00
John Blackbourn
25fc443da5 Build/Test Tools: Allow the local development environment to run on Apple M1 machines without requiring local configuration changes.
The `amd64/mysql` and `amd64/mariadb` official images from Docker are compatible with x86 running on the ARM64v8 architecture of M1 machines.

Merges [53358] to the 6.0 branch.

Fixes #52356

Built from https://develop.svn.wordpress.org/branches/6.0@53359


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-06 17:27:14 +00:00
audrasjb
974c591ce3 Help/About: Add link to 6.0 Field Guide, fix missing placeholder in string.
Follow-up to [53339].

Props audrasjb, ryelle.
Merges [53354] to the 6.0 branch.
See #55434.

Built from https://develop.svn.wordpress.org/branches/6.0@53356


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-05 22:03:13 +00:00
Sergey Biryukov
1aed9d14c0 Build/Test Tools: Pass GitHub Actions environment variables to the Docker container.
This ensures that `WP_UnitTestCase::skipOnAutomatedBranches()` has access to the `GITHUB_REF` and `GITHUB_EVENT_NAME` variables, so that some tests can be skipped when appropriate.

Additionally, account for renaming the `master` branch to `trunk` in November 2021.

Follow-up to [40241], [46999], [49264], [49267], [51868].

Merges [53349] to the 6.0 branch.
Fixes #55668.
Built from https://develop.svn.wordpress.org/branches/6.0@53350


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-04 11:44:55 +00:00
Sergey Biryukov
9a4ed53eca Branch 6.0
Built from https://develop.svn.wordpress.org/branches/6.0@53343


git-svn-id: http://core.svn.wordpress.org/branches/6.0@52932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-05-03 17:35:10 +00:00
208 changed files with 8748 additions and 7051 deletions

View File

@@ -37,7 +37,61 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</nav>
</div>
<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.',
17
),
'6.0.2',
number_format_i18n( 17 )
);
?>
<?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( '6.0.2' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
31
),
'6.0.1',
number_format_i18n( 31 )
);
?>
<?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( '6.0.1' )
)
);
?>
</p>
</div>
</div>
<div class="about__section">
<div class="column">
@@ -56,11 +110,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<hr />
<div class="about__section has-2-columns">
<div class="column about__image is-vertically-aligned-center">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-writing-improvements.png" alt="" />
<div class="column about__image is-vertically-aligned-top">
<img src="https://s.w.org/images/core/6.0/about-60-writing-improvements.png" alt="" />
</div>
<div class="column">
<h3>
@@ -88,16 +140,16 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php _e( 'Block themes now include the option to contain multiple style variations. This expands the new Style system even further and enables shortcuts to switch the look and feel of your site all within a single theme. You can change both the available settings, like the font weight, and the style options, like the default color palette. Change the look and feel of your site with just a few clicks.' ); ?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-style-switcher.gif" alt="" />
<div class="column about__image is-vertically-aligned-top">
<img src="https://s.w.org/images/core/6.0/about-60-style-switching.gif" alt="" />
</div>
</div>
<div class="about__section has-1-column">
<div class="column about__image is-vertically-aligned-center">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-templates.png" alt="" />
<div class="column about__image is-vertically-aligned-top">
<img src="https://s.w.org/images/core/6.0/about-60-templates.png" alt="" />
</div>
<div class="column">
<div class="column" style="padding-bottom:0">
<h3>
<?php _e( 'More Template Choices' ); ?>
</h3>
@@ -110,28 +162,28 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-sub-feature-1.png" alt="" />
<img src="https://s.w.org/images/core/6.0/about-60-sub-feature-1.png" alt="" />
</div>
<p><?php _e( 'Featured images can be used in the cover block.' ); ?></p>
<p><?php _e( 'New featured image sizing controls make it easier to get the results you want.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-sub-feature-2.png" alt="" />
<img src="https://s.w.org/images/core/6.0/about-60-sub-feature-2.png" alt="" />
</div>
<p><?php _e( 'While editing a template, at the root, or between blocks, the quick inserter shows you patterns and template parts to help you work faster and discover new layout options.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-sub-feature-3.png" alt="" />
<img src="https://s.w.org/images/core/6.0/about-60-sub-feature-3.png" alt="" />
</div>
<p><?php _e( 'The query block supports filtering on multiple authors, support for custom taxonomies, and support for customizing what is shown when there are no results.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column about__image is-vertically-aligned-center">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-integrated-patterns.png" alt="" />
<div class="column about__image is-vertically-aligned-top">
<img src="https://s.w.org/images/core/6.0/about-60-integrated-patterns.png" alt="" />
</div>
<div class="column">
<h3>
@@ -158,14 +210,14 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php _e( 'New keyboard shortcuts enable you to select multiple blocks from the list view, modify them in bulk, and drag-and-drop them within the list. List View can be opened and closed easily; it comes collapsed by default and it automatically expands to the current selection whenever you select a block.' ); ?>
</p>
</div>
<div class="column about__image is-vertically-aligned-center">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-list-view.png" alt="" />
<div class="column about__image is-vertically-aligned-top">
<img src="https://s.w.org/images/core/6.0/about-60-list-view.png" alt="" />
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column about__image is-vertically-aligned-center">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-block-locking-controls.png" alt="" />
<div class="column about__image is-vertically-aligned-top">
<img src="https://s.w.org/images/core/6.0/about-60-block-locking-controls.png" alt="" />
</div>
<div class="column">
<h3>
@@ -177,6 +229,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<hr class="is-large" />
<div class="about__section" style="margin-bottom:0;">
<div class="column">
<h2 class="aligncenter">
@@ -208,10 +262,10 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
<div class="column">
<div class="about__image aligncenter">
<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<circle cx="20.5" cy="20" r="12" fill="#fff"/>
<circle cx="20.5" cy="20" r="12" fill="url(#a)"/>
<circle cx="20.5" cy="20" r="12" stroke="#1E1E1E" stroke-width="2"/>
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<circle cx="16" cy="16" r="12" fill="#fff"/>
<circle cx="16" cy="16" r="12" fill="url(#a)"/>
<circle cx="16" cy="16" r="12" stroke="#1E1E1E" stroke-width="2"/>
<defs>
<pattern id="a" patternContentUnits="objectBoundingBox" width=".385" height=".385">
<use xlink:href="#b" transform="scale(.01923)"/>
@@ -256,9 +310,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<hr class="is-large" />
<div class="about__section has-2-columns is-wider-right">
<div class="column about__image is-vertically-aligned-center">
<a href="#">
<img src="https://make.wordpress.org/core/files/2022/05/about-60-video.png" alt="<?php echo esc_attr( __( 'Exploring WordPress 6.0 video' ) ); ?>" />
<div class="column about__image is-vertically-aligned-top">
<a href="https://www.youtube.com/watch?v=oe452WcY7fA">
<img src="https://s.w.org/images/core/6.0/about-60-video.png?ver=6.0" alt="<?php echo esc_attr( __( 'Exploring WordPress 6.0 video' ) ); ?>" />
</a>
</div>
<div class="column">
@@ -276,7 +330,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
printf(
/* translators: %s: 6.0 overview video link. */
__( 'See WordPress 6.0 in action! <a href="%s">Watch a brief overview video</a> highlighting some of the major features debuting in WordPress 6.0.' ),
'#'
'https://www.youtube.com/watch?v=oe452WcY7fA'
);
?>
</p>
@@ -284,7 +338,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="column" style="padding-top:0">
<p>
<?php
printf(
@@ -296,24 +350,28 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
?>
</p>
</div>
<div class="column">
<div class="column" style="padding-top:0">
<p>
<?php
printf(
/* translators: %s: WordPress 6.0 Field Guide link. */
__( 'Check out the latest version of the <a href="%s">WordPress Field Guide</a>. It is overflowing with detailed developer notes to help you build with WordPress.' ),
'#'
__( 'https://make.wordpress.org/core/2022/05/03/wordpress-6-0-field-guide/' )
);
?>
</p>
</div>
<div class="column">
<div class="column" style="padding-top:0">
<p>
<?php
printf(
/* translators: %s: WordPress 6.0 Release Notes link. */
__( '<a href="#">Read the WordPress 6.0 Release Notes</a> for more information on the included enhancements and issues fixed, installation information, developer notes and resources, release contributors, and the list of file changes in this release.' ),
'#'
__( '<a href="%s">Read the WordPress 6.0 Release Notes</a> for more information on the included enhancements and issues fixed, installation information, developer notes and resources, release contributors, and the list of file changes in this release.' ),
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
'6-0'
)
);
?>
</p>

View File

@@ -462,18 +462,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2em;
line-height: 1.2;
font-size: 2rem;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
}
.about__container p {
@@ -483,7 +483,9 @@
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5em;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
}
.about__section a {
@@ -513,6 +515,10 @@
margin-right: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.75rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -569,7 +575,8 @@
}
.about__section {
font-size: 1.2em;
font-size: 1.125rem;
line-height: 1.55;
}
.about__section.is-feature {
@@ -600,35 +607,36 @@
position: relative;
margin-bottom: var(--gap);
padding-top: 0;
background: var(--subtle-background) url('../images/about-header-about.svg') no-repeat;
background: var(--subtle-background) url('../images/about-header-about.svg?ver=6.0') no-repeat;
background-size: var(--about-header-bg-width) var(--about-header-bg-height);
background-position: left var(--about-header-bg-offset-inline) center;
}
.credits-php .about__header {
--about-header-image-width: 390px;
--about-header-image-height: 325px;
--about-header-bg-offset-inline: var(--gap);
--about-header-image-width: 477px;
--about-header-image-height: 470px;
--about-header-bg-offset-inline: calc(var(--gap) * -4);
background-image: url('../images/about-header-credits.svg');
background-image: url('../images/about-header-credits.svg?ver=6.0');
background-position: left var(--about-header-bg-offset-inline) top var(--gap);
}
.freedoms-php .about__header {
--about-header-image-width: 380px;
--about-header-image-height: 278px;
--about-header-image-width: 411px;
--about-header-image-height: 498px;
--about-header-bg-offset-inline: var(--gap);
background-image: url('../images/about-header-freedoms.svg');
background-position: left var(--about-header-bg-offset-inline) bottom;
background-image: url('../images/about-header-freedoms.svg?ver=6.0');
background-position: left var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
}
.privacy-php .about__header {
--about-header-image-width: 503px;
--about-header-image-height: 553px;
--about-header-bg-offset-inline: calc(var(--gap) * -2);
--about-header-image-width: 277px;
--about-header-image-height: 361px;
--about-header-bg-offset-inline: var(--gap);
background-image: url('../images/about-header-privacy.svg');
background-image: url('../images/about-header-privacy.svg?ver=6.0');
background-position: left var(--about-header-bg-offset-inline) top var(--gap);
}
.about__header-image {

File diff suppressed because one or more lines are too long

View File

@@ -461,18 +461,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2em;
line-height: 1.2;
font-size: 2rem;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
}
.about__container p {
@@ -482,7 +482,9 @@
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5em;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
}
.about__section a {
@@ -512,6 +514,10 @@
margin-left: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.75rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -568,7 +574,8 @@
}
.about__section {
font-size: 1.2em;
font-size: 1.125rem;
line-height: 1.55;
}
.about__section.is-feature {
@@ -599,35 +606,36 @@
position: relative;
margin-bottom: var(--gap);
padding-top: 0;
background: var(--subtle-background) url('../images/about-header-about.svg') no-repeat;
background: var(--subtle-background) url('../images/about-header-about.svg?ver=6.0') no-repeat;
background-size: var(--about-header-bg-width) var(--about-header-bg-height);
background-position: right var(--about-header-bg-offset-inline) center;
}
.credits-php .about__header {
--about-header-image-width: 390px;
--about-header-image-height: 325px;
--about-header-bg-offset-inline: var(--gap);
--about-header-image-width: 477px;
--about-header-image-height: 470px;
--about-header-bg-offset-inline: calc(var(--gap) * -4);
background-image: url('../images/about-header-credits.svg');
background-image: url('../images/about-header-credits.svg?ver=6.0');
background-position: right var(--about-header-bg-offset-inline) top var(--gap);
}
.freedoms-php .about__header {
--about-header-image-width: 380px;
--about-header-image-height: 278px;
--about-header-image-width: 411px;
--about-header-image-height: 498px;
--about-header-bg-offset-inline: var(--gap);
background-image: url('../images/about-header-freedoms.svg');
background-position: right var(--about-header-bg-offset-inline) bottom;
background-image: url('../images/about-header-freedoms.svg?ver=6.0');
background-position: right var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
}
.privacy-php .about__header {
--about-header-image-width: 503px;
--about-header-image-height: 553px;
--about-header-bg-offset-inline: calc(var(--gap) * -2);
--about-header-image-width: 277px;
--about-header-image-height: 361px;
--about-header-bg-offset-inline: var(--gap);
background-image: url('../images/about-header-privacy.svg');
background-image: url('../images/about-header-privacy.svg?ver=6.0');
background-position: right var(--about-header-bg-offset-inline) top var(--gap);
}
.about__header-image {

File diff suppressed because one or more lines are too long

View File

@@ -783,15 +783,18 @@ div#wp-responsive-toggle a:before {
}
/* Welcome Panel */
.welcome-panel {
background-color: $highlight-color;
background-color: mix($dashboard-accent-1, white, 12%);
}
.welcome-panel-header-image .about-six {
fill: $dashboard-accent-1;
}
.welcome-panel-header-image .about-zero {
fill: $dashboard-accent-2;
}
[class*="welcome-panel-icon"] {
@if ( $scheme-name == "light" ) {
background-color: $icon-color;
} @else {
background-color: $base-color;
}
background-color: $dashboard-icon-background;
}

View File

@@ -63,4 +63,10 @@ $adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-backg
$menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
// Dashboard Colors
$dashboard-accent-1: $highlight-color !default;
$dashboard-accent-2: $base-color !default;
$dashboard-icon-background: $dashboard-accent-2 !default;
$low-contrast-theme: "false" !default;

View File

@@ -706,9 +706,17 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #096484;
background-color: #e1ecf0;
}
.welcome-panel-header-image .about-six {
fill: #096484;
}
.welcome-panel-header-image .about-zero {
fill: #52accc;
}
[class*=welcome-panel-icon] {
background-color: #52accc;
background-color: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -706,9 +706,17 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #096484;
background-color: #e1ecf0;
}
.welcome-panel-header-image .about-six {
fill: #096484;
}
.welcome-panel-header-image .about-zero {
fill: #52accc;
}
[class*=welcome-panel-icon] {
background-color: #52accc;
background-color: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -9,4 +9,6 @@ $menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3;
$dashboard-icon-background: $highlight-color;
@import "../_admin.scss";

View File

@@ -673,7 +673,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #c7a589;
background-color: #f8f4f1;
}
.welcome-panel-header-image .about-six {
fill: #c7a589;
}
.welcome-panel-header-image .about-zero {
fill: #59524c;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -673,7 +673,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #c7a589;
background-color: #f8f4f1;
}
.welcome-panel-header-image .about-six {
fill: #c7a589;
}
.welcome-panel-header-image .about-zero {
fill: #59524c;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -706,7 +706,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #a3b745;
background-color: #f4f6e9;
}
.welcome-panel-header-image .about-six {
fill: #a3b745;
}
.welcome-panel-header-image .about-zero {
fill: #523f6d;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -706,7 +706,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #a3b745;
background-color: #f4f6e9;
}
.welcome-panel-header-image .about-six {
fill: #a3b745;
}
.welcome-panel-header-image .about-zero {
fill: #523f6d;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -706,11 +706,19 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #04a4cc;
background-color: #e1f4f9;
}
.welcome-panel-header-image .about-six {
fill: #04a4cc;
}
.welcome-panel-header-image .about-zero {
fill: #999;
}
[class*=welcome-panel-icon] {
background-color: #999;
background-color: #333;
}
/* Override the theme filter highlight color for this scheme */

File diff suppressed because one or more lines are too long

View File

@@ -706,11 +706,19 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #04a4cc;
background-color: #e1f4f9;
}
.welcome-panel-header-image .about-six {
fill: #04a4cc;
}
.welcome-panel-header-image .about-zero {
fill: #999;
}
[class*=welcome-panel-icon] {
background-color: #999;
background-color: #333;
}
/* Override the theme filter highlight color for this scheme */

File diff suppressed because one or more lines are too long

View File

@@ -18,6 +18,9 @@ $menu-submenu-background: #fff;
$menu-collapse-text: #777;
$menu-collapse-focus-icon: #555;
$dashboard-accent-2: $icon-color;
$dashboard-icon-background: $text-color;
@import "../_admin.scss";
/* Override the theme filter highlight color for this scheme */

View File

@@ -706,9 +706,17 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #e14d43;
background-color: #fbeae8;
}
.welcome-panel-header-image .about-six {
fill: #e14d43;
}
.welcome-panel-header-image .about-zero {
fill: #363b3f;
}
[class*=welcome-panel-icon] {
background-color: #363b3f;
background-color: #e14d43;
}

File diff suppressed because one or more lines are too long

View File

@@ -706,9 +706,17 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #e14d43;
background-color: #fbeae8;
}
.welcome-panel-header-image .about-six {
fill: #e14d43;
}
.welcome-panel-header-image .about-zero {
fill: #363b3f;
}
[class*=welcome-panel-icon] {
background-color: #363b3f;
background-color: #e14d43;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,4 +3,6 @@ $base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
$dashboard-icon-background: $highlight-color;
@import "../_admin.scss";

View File

@@ -706,9 +706,17 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #3858e9;
background-color: #e7ebfc;
}
.welcome-panel-header-image .about-six {
fill: #3858e9;
}
.welcome-panel-header-image .about-zero {
fill: #1b8362;
}
[class*=welcome-panel-icon] {
background-color: #1e1e1e;
background-color: #1d2327;
}

File diff suppressed because one or more lines are too long

View File

@@ -706,9 +706,17 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #3858e9;
background-color: #e7ebfc;
}
.welcome-panel-header-image .about-six {
fill: #3858e9;
}
.welcome-panel-header-image .about-zero {
fill: #1b8362;
}
[class*=welcome-panel-icon] {
background-color: #1e1e1e;
background-color: #1d2327;
}

File diff suppressed because one or more lines are too long

View File

@@ -7,4 +7,8 @@ $notification-color: $highlight-color;
$link: $highlight-color;
$link-focus: darken($highlight-color, 10%);
$dashboard-accent-1: #3858e9;
$dashboard-accent-2: #1b8362;
$dashboard-icon-background: #1d2327;
@import "../_admin.scss";

View File

@@ -673,7 +673,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #9ebaa0;
background-color: #f3f7f4;
}
.welcome-panel-header-image .about-six {
fill: #9ebaa0;
}
.welcome-panel-header-image .about-zero {
fill: #738e96;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -673,7 +673,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #9ebaa0;
background-color: #f3f7f4;
}
.welcome-panel-header-image .about-six {
fill: #9ebaa0;
}
.welcome-panel-header-image .about-zero {
fill: #738e96;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -706,7 +706,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #dd823b;
background-color: #fbf0e7;
}
.welcome-panel-header-image .about-six {
fill: #dd823b;
}
.welcome-panel-header-image .about-zero {
fill: #cf4944;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -706,7 +706,15 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #dd823b;
background-color: #fbf0e7;
}
.welcome-panel-header-image .about-six {
fill: #dd823b;
}
.welcome-panel-header-image .about-zero {
fill: #cf4944;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -121,32 +121,17 @@
position: relative;
overflow: auto;
margin: 16px 0;
background: #2271b1 url(../images/about-texture.png) center repeat;
background-size: 500px 500px;
background-blend-mode: overlay;
background-color: #e7ebfd;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
content: "";
position: absolute;
top: -16px;
left: 96px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.welcome-panel h3 {
@@ -162,16 +147,34 @@
}
.welcome-panel-header {
color: #fff;
--about-header-image-width: 521px;
--about-header-bg-width: calc(var(--about-header-image-width) * 0.55);
--about-header-bg-offset-inline: 2rem;
position: relative;
}
.welcome-panel-header-image {
position: absolute;
top: -1rem;
left: var(--about-header-bg-offset-inline);
bottom: 0;
width: var(--about-header-bg-width);
height: auto;
}
.welcome-panel-header-image svg {
width: 100%;
height: auto;
}
.welcome-panel-header a {
color: #fff;
color: inherit;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: #f5e6ab;
color: inherit;
text-decoration: none;
}
@@ -196,6 +199,7 @@
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -205,18 +209,18 @@
transition: all .1s ease-in-out;
content: '\f335';
font-size: 24px;
color: #fff;
color: #1d2327;
}
.welcome-panel .welcome-panel-close {
color: #fff;
color: #1d2327;
}
.welcome-panel .welcome-panel-close:hover,
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #f5e6ab;
color: #2271b1;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -241,8 +245,8 @@
margin-left: auto;
max-width: 1500px;
width: 100%;
/* 408px = 300px (balloon width) + 96px (offset from edge) + 16px (spacing). */
padding: 48px 48px 48px 408px;
padding: 48px 48px 80px 0;
padding-left: calc(var(--about-header-bg-width) + (var(--about-header-bg-offset-inline) * 2));
}
.welcome-panel .welcome-panel-column-container {
@@ -251,7 +255,6 @@
clear: both;
display: grid;
z-index: 1;
margin-top: 32px;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
@@ -1354,15 +1357,13 @@ a.rsswidget {
}
@media screen and (max-width: 782px) {
.welcome-panel::before {
width: 240px;
height: 305px;
left: 32px;
.welcome-panel-header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.4);
--about-header-bg-offset-inline: 1rem;
}
.welcome-panel-header {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding: 32px 32px 32px 288px;
.welcome-panel-header-image {
top: 2rem;
}
.welcome-panel .welcome-panel-column-container {
@@ -1435,12 +1436,12 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel::before {
display: none;
.welcome-panel-header {
padding: 32px 32px 64px;
}
.welcome-panel-header {
padding: 32px;
.welcome-panel-header-image {
display: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -120,32 +120,17 @@
position: relative;
overflow: auto;
margin: 16px 0;
background: #2271b1 url(../images/about-texture.png) center repeat;
background-size: 500px 500px;
background-blend-mode: overlay;
background-color: #e7ebfd;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
content: "";
position: absolute;
top: -16px;
right: 96px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.welcome-panel h3 {
@@ -161,16 +146,34 @@
}
.welcome-panel-header {
color: #fff;
--about-header-image-width: 521px;
--about-header-bg-width: calc(var(--about-header-image-width) * 0.55);
--about-header-bg-offset-inline: 2rem;
position: relative;
}
.welcome-panel-header-image {
position: absolute;
top: -1rem;
right: var(--about-header-bg-offset-inline);
bottom: 0;
width: var(--about-header-bg-width);
height: auto;
}
.welcome-panel-header-image svg {
width: 100%;
height: auto;
}
.welcome-panel-header a {
color: #fff;
color: inherit;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: #f5e6ab;
color: inherit;
text-decoration: none;
}
@@ -195,6 +198,7 @@
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -204,18 +208,18 @@
transition: all .1s ease-in-out;
content: '\f335';
font-size: 24px;
color: #fff;
color: #1d2327;
}
.welcome-panel .welcome-panel-close {
color: #fff;
color: #1d2327;
}
.welcome-panel .welcome-panel-close:hover,
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #f5e6ab;
color: #2271b1;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -240,8 +244,8 @@
margin-right: auto;
max-width: 1500px;
width: 100%;
/* 408px = 300px (balloon width) + 96px (offset from edge) + 16px (spacing). */
padding: 48px 408px 48px 48px;
padding: 48px 0 80px 48px;
padding-right: calc(var(--about-header-bg-width) + (var(--about-header-bg-offset-inline) * 2));
}
.welcome-panel .welcome-panel-column-container {
@@ -250,7 +254,6 @@
clear: both;
display: grid;
z-index: 1;
margin-top: 32px;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
@@ -1353,15 +1356,13 @@ a.rsswidget {
}
@media screen and (max-width: 782px) {
.welcome-panel::before {
width: 240px;
height: 305px;
right: 32px;
.welcome-panel-header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.4);
--about-header-bg-offset-inline: 1rem;
}
.welcome-panel-header {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding: 32px 288px 32px 32px;
.welcome-panel-header-image {
top: 2rem;
}
.welcome-panel .welcome-panel-column-container {
@@ -1434,12 +1435,12 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel::before {
display: none;
.welcome-panel-header {
padding: 32px 32px 64px;
}
.welcome-panel-header {
padding: 32px;
.welcome-panel-header-image {
display: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -1807,7 +1807,7 @@ body.full-overlay-active {
#customize-container iframe,
.theme-install-overlay iframe {
height: 100%;
width: 100vw;
width: 100%;
z-index: 20;
transition: opacity 0.3s;
}

File diff suppressed because one or more lines are too long

View File

@@ -1806,7 +1806,7 @@ body.full-overlay-active {
#customize-container iframe,
.theme-install-overlay iframe {
height: 100%;
width: 100vw;
width: 100%;
z-index: 20;
transition: opacity 0.3s;
}

File diff suppressed because one or more lines are too long

View File

@@ -209,6 +209,10 @@ $editor_settings = array(
'enableCustomFields' => (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ),
);
// Add additional back-compat patterns registered by `current_screen` et al.
$editor_settings['__experimentalAdditionalBlockPatterns'] = WP_Block_Patterns_Registry::get_instance()->get_all_registered( true );
$editor_settings['__experimentalAdditionalBlockPatternCategories'] = WP_Block_Pattern_Categories_Registry::get_instance()->get_all_registered( true );
$autosave = wp_get_post_autosave( $post->ID );
if ( $autosave ) {
if ( mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) {

View File

@@ -1,5 +1,5 @@
<svg width="521" height="504" viewBox="0 0 521 504" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M265.692 238.093c0 17.061-3.506 33.055-10.518 47.984-6.707 14.928-16.006 28.028-27.895 39.301-11.89 10.968-25.914 19.651-42.072 26.048-15.853 6.398-32.926 9.597-51.218 9.597-19.816 0-37.956-3.808-54.419-11.425-16.462-7.921-30.639-18.889-42.529-32.903-11.585-14.014-20.73-30.618-27.438-49.812C3.201 247.385 0 225.906 0 202.447c0-27.724 4.268-53.772 12.804-78.145 8.537-24.678 20.122-46.157 34.755-64.436 14.634-18.584 31.707-33.208 51.218-43.871C118.289 5.332 139.172 0 161.427 0c12.195 0 23.628 1.371 34.298 4.113 10.67 2.437 19.816 5.94 27.438 10.51 7.927 4.57 14.176 10.054 18.749 16.452 4.573 6.094 6.86 12.796 6.86 20.108 0 8.835-2.744 15.842-8.232 21.022-5.487 4.874-12.804 7.311-21.95 7.311-6.402 0-11.433-1.37-15.091-4.112-3.658-2.742-6.86-6.094-9.603-10.054-2.439-3.96-4.726-8.226-6.86-12.796-2.134-4.875-4.878-9.292-8.231-13.253-3.049-3.96-7.012-7.312-11.89-10.054-4.878-2.741-11.433-4.113-19.664-4.113-10.061 0-19.359 3.352-27.895 10.054-8.537 6.398-16.006 15.386-22.408 26.963-6.097 11.272-10.975 24.677-14.634 40.215-3.658 15.538-5.487 32.446-5.487 50.726l1.371.914c9.756-10.968 19.97-19.041 30.64-24.22 10.975-5.18 23.779-7.769 38.413-7.769 16.768 0 32.316 3.046 46.645 9.14 14.633 5.788 27.133 13.862 37.498 24.22 10.671 10.359 19.055 22.697 25.152 37.016 6.097 14.015 9.146 29.248 9.146 45.7Zm-189.78-10.968c0 35.95 5.03 63.065 15.09 81.344 10.366 18.28 25.305 27.42 44.816 27.42 19.207 0 33.383-7.769 42.529-23.307 9.146-15.538 13.719-39.758 13.719-72.661 0-29.857-4.42-52.402-13.261-67.635-8.537-15.538-21.189-23.307-37.956-23.307-13.414 0-25.152 4.265-35.212 12.796-10.061 8.53-19.97 22.088-29.725 40.672v24.678Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<svg width="521" height="504" viewBox="0 0 521 504" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<path class="about-six" d="M265.692 238.093c0 17.061-3.506 33.055-10.518 47.984-6.707 14.928-16.006 28.028-27.895 39.301-11.89 10.968-25.914 19.651-42.072 26.048-15.853 6.398-32.926 9.597-51.218 9.597-19.816 0-37.956-3.808-54.419-11.425-16.462-7.921-30.639-18.889-42.529-32.903-11.585-14.014-20.73-30.618-27.438-49.812C3.201 247.385 0 225.906 0 202.447c0-27.724 4.268-53.772 12.804-78.145 8.537-24.678 20.122-46.157 34.755-64.436 14.634-18.584 31.707-33.208 51.218-43.871C118.289 5.332 139.172 0 161.427 0c12.195 0 23.628 1.371 34.298 4.113 10.67 2.437 19.816 5.94 27.438 10.51 7.927 4.57 14.176 10.054 18.749 16.452 4.573 6.094 6.86 12.796 6.86 20.108 0 8.835-2.744 15.842-8.232 21.022-5.487 4.874-12.804 7.311-21.95 7.311-6.402 0-11.433-1.37-15.091-4.112-3.658-2.742-6.86-6.094-9.603-10.054-2.439-3.96-4.726-8.226-6.86-12.796-2.134-4.875-4.878-9.292-8.231-13.253-3.049-3.96-7.012-7.312-11.89-10.054-4.878-2.741-11.433-4.113-19.664-4.113-10.061 0-19.359 3.352-27.895 10.054-8.537 6.398-16.006 15.386-22.408 26.963-6.097 11.272-10.975 24.677-14.634 40.215-3.658 15.538-5.487 32.446-5.487 50.726l1.371.914c9.756-10.968 19.97-19.041 30.64-24.22 10.975-5.18 23.779-7.769 38.413-7.769 16.768 0 32.316 3.046 46.645 9.14 14.633 5.788 27.133 13.862 37.498 24.22 10.671 10.359 19.055 22.697 25.152 37.016 6.097 14.015 9.146 29.248 9.146 45.7Zm-189.78-10.968c0 35.95 5.03 63.065 15.09 81.344 10.366 18.28 25.305 27.42 44.816 27.42 19.207 0 33.383-7.769 42.529-23.307 9.146-15.538 13.719-39.758 13.719-72.661 0-29.857-4.42-52.402-13.261-67.635-8.537-15.538-21.189-23.307-37.956-23.307-13.414 0-25.152 4.265-35.212 12.796-10.061 8.53-19.97 22.088-29.725 40.672v24.678Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<path d="M156.25 398.381c0-8.068 2.648-14.877 7.943-20.424 5.547-5.799 12.355-8.699 20.424-8.699 8.321 0 15.255 2.9 20.803 8.699 5.547 5.547 8.321 12.356 8.321 20.424 0 7.817-2.774 14.499-8.321 20.047-5.548 5.295-12.482 7.942-20.803 7.942-8.069 0-14.877-2.647-20.424-7.942-5.295-5.548-7.943-12.23-7.943-20.047Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
<path d="M369.361 142.207c20.947 0 40.528 4.722 58.743 14.167 18.519 9.444 34.608 22.392 48.269 38.844 13.662 16.452 24.439 35.798 32.332 58.038 8.196 22.24 12.295 46.308 12.295 72.205 0 24.677-4.099 47.831-12.295 69.462-7.893 21.631-18.67 40.52-32.332 56.667-13.661 15.843-29.75 28.486-48.269 37.931-18.215 9.139-37.796 13.709-58.743 13.709-20.643 0-40.072-4.57-58.287-13.709-17.911-9.445-33.697-22.088-47.358-37.931-13.358-16.147-23.983-35.036-31.876-56.667-7.893-21.631-11.84-44.785-11.84-69.462 0-25.897 3.947-49.965 11.84-72.205 7.893-22.24 18.518-41.586 31.876-58.038 13.661-16.452 29.447-29.4 47.358-38.844 18.215-9.445 37.644-14.167 58.287-14.167Zm0 334.518c10.929 0 20.644-2.285 29.144-6.855 8.804-4.875 16.242-13.101 22.313-24.678 6.072-11.577 10.626-26.962 13.661-46.156 3.34-19.193 5.009-43.262 5.009-72.204 0-30.162-1.669-55.296-5.009-75.404-3.035-20.412-7.589-36.712-13.661-48.898-6.071-12.187-13.509-20.869-22.313-26.049-8.5-5.179-18.215-7.768-29.144-7.768-10.928 0-20.795 2.589-29.599 7.768-8.5 5.18-15.786 13.862-21.857 26.049-6.072 12.186-10.778 28.486-14.117 48.898-3.036 20.108-4.554 45.242-4.554 75.404 0 28.942 1.518 53.011 4.554 72.204 3.339 19.194 8.045 34.579 14.117 46.156 6.071 11.577 13.357 19.803 21.857 24.678 8.804 4.57 18.671 6.855 29.599 6.855Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
<path class="about-zero" d="M369.361 142.207c20.947 0 40.528 4.722 58.743 14.167 18.519 9.444 34.608 22.392 48.269 38.844 13.662 16.452 24.439 35.798 32.332 58.038 8.196 22.24 12.295 46.308 12.295 72.205 0 24.677-4.099 47.831-12.295 69.462-7.893 21.631-18.67 40.52-32.332 56.667-13.661 15.843-29.75 28.486-48.269 37.931-18.215 9.139-37.796 13.709-58.743 13.709-20.643 0-40.072-4.57-58.287-13.709-17.911-9.445-33.697-22.088-47.358-37.931-13.358-16.147-23.983-35.036-31.876-56.667-7.893-21.631-11.84-44.785-11.84-69.462 0-25.897 3.947-49.965 11.84-72.205 7.893-22.24 18.518-41.586 31.876-58.038 13.661-16.452 29.447-29.4 47.358-38.844 18.215-9.445 37.644-14.167 58.287-14.167Zm0 334.518c10.929 0 20.644-2.285 29.144-6.855 8.804-4.875 16.242-13.101 22.313-24.678 6.072-11.577 10.626-26.962 13.661-46.156 3.34-19.193 5.009-43.262 5.009-72.204 0-30.162-1.669-55.296-5.009-75.404-3.035-20.412-7.589-36.712-13.661-48.898-6.071-12.187-13.509-20.869-22.313-26.049-8.5-5.179-18.215-7.768-29.144-7.768-10.928 0-20.795 2.589-29.599 7.768-8.5 5.18-15.786 13.862-21.857 26.049-6.072 12.186-10.778 28.486-14.117 48.898-3.036 20.108-4.554 45.242-4.554 75.404 0 28.942 1.518 53.011 4.554 72.204 3.339 19.194 8.045 34.579 14.117 46.156 6.071 11.577 13.357 19.803 21.857 24.678 8.804 4.57 18.671 6.855 29.599 6.855Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,5 +1,9 @@
<svg width="390" height="325" viewBox="0 0 390 325" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M277 195.113c0-15.824 5.204-29.175 15.612-40.053 10.903-11.374 24.285-17.06 40.145-17.06 16.355 0 29.984 5.686 40.888 17.06C384.548 165.938 390 179.289 390 195.113c0 15.329-5.452 28.432-16.355 39.311C362.741 244.808 349.112 250 332.757 250c-15.86 0-29.242-5.192-40.145-15.576C282.204 223.545 277 210.442 277 195.113Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
<path d="M0 85.159c0-23.594 7.737-43.501 23.21-59.722C39.422 8.479 59.317 0 82.896 0c24.316 0 44.579 8.479 60.789 25.437C159.895 41.657 168 61.565 168 85.159c0 22.856-8.105 42.395-24.316 58.616C127.474 159.258 107.211 167 82.894 167c-23.578 0-43.473-7.742-59.683-23.225C7.737 127.554 0 108.015 0 85.159Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<path d="M57 196.113c0-37.157 12.204-68.508 36.612-94.054C119.182 75.353 150.564 62 187.757 62c38.355 0 70.318 13.353 95.888 40.059C309.215 127.605 322 158.956 322 196.113c0 35.995-12.785 66.766-38.355 92.311C258.075 312.808 226.112 325 187.757 325c-37.193 0-68.575-12.192-94.145-36.576C69.204 262.879 57 232.108 57 196.113Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
<svg width="477" height="470" viewBox="0 0 477 470" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<path d="M323.709 61.043c8.293-9.882 18.511-15.518 30.656-16.906 12.71-1.44 23.973 1.96 33.791 10.198 10.125 8.495 15.582 19.127 16.371 31.893 1.049 12.459-2.573 23.629-10.866 33.512-8.033 9.574-18.276 14.926-30.727 16.057-12.191.822-23.35-3.015-33.474-11.51-9.818-8.239-15.381-18.432-16.688-30.582-.742-12.2 2.904-23.088 10.937-32.662Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<path d="M414.825 156.402c12.705-2.241 24.155.011 34.351 6.753 10.662 7.067 17.105 16.912 19.331 29.533 2.295 13.016-.359 24.668-7.96 34.955-7.205 10.218-17.16 16.447-29.865 18.687-12.308 2.17-23.595-.313-33.859-7.45-9.868-7.208-15.949-17.319-18.245-30.335-2.225-12.622.066-24.006 6.874-34.153 7.274-9.824 17.065-15.82 29.373-17.99ZM423.332 288.021c11.173 6.45 18.497 15.535 21.973 27.254 3.625 12.267 2.233 23.95-4.175 35.049-6.609 11.446-16.131 18.666-28.567 21.66-12.086 3.196-23.716 1.569-34.889-4.882-10.823-6.249-17.873-15.406-21.149-27.471-2.926-11.864-1.085-23.519 5.523-34.965 6.408-11.099 15.481-18.348 27.219-21.745 11.886-2.849 23.241-1.149 34.065 5.1Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
<path d="M345.247 394.313c4.412 12.123 4.183 23.79-.686 35.002-5.109 11.727-13.685 19.782-25.728 24.165-12.42 4.521-24.355 3.931-35.806-1.769-11.313-5.321-19.176-14.043-23.589-26.166-4.274-11.744-3.789-23.291 1.458-34.639 5.384-10.969 14.286-18.714 26.705-23.234 12.044-4.384 23.653-4.104 34.828.838 10.937 5.458 18.543 14.059 22.818 25.803Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
<path d="M217.103 425.546c-4.413 12.123-12.087 20.914-23.024 26.372-11.451 5.7-23.199 6.358-35.242 1.975-12.42-4.521-21.184-12.644-26.292-24.372-5.246-11.348-5.663-23.083-1.251-35.206 4.275-11.745 12.069-20.277 23.382-25.598 11.176-4.942 22.973-5.153 35.393-.633 12.043 4.383 20.757 12.06 26.141 23.029 4.87 11.211 5.167 22.689.893 34.433Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<path d="M98.866 367.102c-11.172 6.451-22.702 8.251-34.588 5.402-12.436-2.994-21.858-10.041-28.267-21.14-6.608-11.446-8.1-23.302-4.475-35.569 3.276-12.066 10.5-21.324 21.673-27.774 10.823-6.249 22.278-7.776 34.365-4.58 11.738 3.397 20.911 10.819 27.519 22.265 6.408 11.099 8.149 22.581 5.223 34.445-3.476 11.718-10.626 20.702-21.45 26.951Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
<path d="M45.857 246.331c-12.705-2.24-22.694-8.272-29.969-18.095-7.601-10.287-10.29-21.742-8.064-34.363 2.295-13.016 8.774-23.058 19.435-30.125 10.265-7.137 21.75-9.585 34.455-7.345 12.308 2.17 22.065 8.364 29.27 18.581 6.807 10.148 9.063 21.729 6.768 34.745-2.225 12.622-8.272 22.536-18.14 29.743-10.195 6.743-21.446 9.029-33.755 6.859Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<path d="M82.88 119.74c-8.293-9.883-12.069-20.925-11.327-33.126.79-12.767 6.093-23.27 15.91-31.507 10.126-8.496 21.543-12.024 34.253-10.584 12.451 1.13 22.823 6.637 31.115 16.52 8.034 9.574 11.526 20.59 10.478 33.048-1.308 12.15-7.024 22.472-17.149 30.968-9.817 8.238-20.822 11.946-33.014 11.124-12.144-1.388-22.233-6.869-30.266-16.443ZM192.612 46.565c0-12.901 4.206-23.787 12.616-32.656C214.039 4.636 224.853 0 237.669 0c13.217 0 24.231 4.636 33.042 13.909 8.811 8.87 13.217 19.755 13.217 32.656 0 12.498-4.406 23.181-13.217 32.051-8.811 8.466-19.825 12.7-33.042 12.7-12.816 0-23.63-4.234-32.441-12.7-8.41-8.87-12.616-19.553-12.616-32.051Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -1,6 +1,6 @@
<svg width="380" height="278" viewBox="0 0 380 278" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M317.283 636.325 297.983.802l65.268 4.802 16.19 627.838-62.158 2.883Z" fill="#2F2F2F"/>
<path d="M237.772 636.803 211.16 9.443l66.772-4.323 26.612 633.123-66.772-1.44Z" fill="#1B8362"/>
<path d="M122.645 631.162V3.998l59.68 3.836-4.59 627.164-55.09-3.836Z" fill="#2F2F2F"/>
<path d="M.703 637.383 27.111 5.7l64.254-3.084-28.05 633.538-62.612 1.229Z" fill="#3858E9"/>
<svg width="411" height="498" viewBox="0 0 411 498" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<path d="M347.119 493.19L327.819 2.16856L393.087 5.87838L409.277 490.963L347.119 493.19Z" fill="#2F2F2F"/>
<path d="M247.608 493.559L220.996 8.84435L287.768 5.50391L314.38 494.672L247.608 493.559Z" fill="#1B8362"/>
<path d="M113.48 489.201L113.48 4.63739L173.161 7.60108L168.571 492.165L113.48 489.201Z" fill="#2F2F2F"/>
<path d="M0.539062 494.008L26.947 5.95283L91.2011 3.5701L63.1516 493.058L0.539062 494.008Z" fill="#3858E9"/>
</svg>

Before

Width:  |  Height:  |  Size: 487 B

After

Width:  |  Height:  |  Size: 578 B

View File

@@ -1,5 +1,4 @@
<svg width="503" height="553" viewBox="0 0 503 553" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M411.561 552.354 107 92.978l51.604-30.168 300.735 461.913-47.778 27.631Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
<path d="M40.197 400.356 257.575 0l51.119 30.927L87.281 429.092l-47.084-28.736Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
<path d="m5.588 287.13 496.646 21.253-5.589 59.496L.195 342.04l5.393-54.91Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
<svg width="396" height="515" viewBox="0 0 396 515" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<path d="M105.927 265.31V117.777C105.927 70.144 146.465 33 198.02 33c51.555 0 92.094 37.144 92.094 84.777V265.31" stroke="#3858E9" stroke-width="64.323"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.904 193.434c-9.427 0-17.068 7.642-17.068 17.068v303.643h395V210.502c0-9.426-7.642-17.068-17.068-17.068H17.904Zm217.11 141.097c0 16.284-10.545 30.106-25.18 35.007l23.361 33.29c2.107 3.002-.041 7.132-3.708 7.132h-63.205c-3.667 0-5.814-4.13-3.708-7.132l23.446-33.41c-14.451-5.005-24.827-18.734-24.827-34.887 0-20.385 16.526-36.911 36.911-36.911s36.91 16.526 36.91 36.911Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
</svg>

Before

Width:  |  Height:  |  Size: 498 B

After

Width:  |  Height:  |  Size: 773 B

View File

@@ -566,15 +566,28 @@ class Theme_Upgrader extends WP_Upgrader {
);
}
// If it's not a child theme, it must have at least an index.php to be legit.
if ( empty( $info['Template'] ) && ! file_exists( $working_directory . 'index.php' ) ) {
/*
* Parent themes must contain an index file:
* - classic themes require /index.php
* - block themes require /templates/index.html or block-templates/index.html (deprecated 5.9.0).
*/
if (
empty( $info['Template'] ) &&
! file_exists( $working_directory . 'index.php' ) &&
! file_exists( $working_directory . 'templates/index.html' ) &&
! file_exists( $working_directory . 'block-templates/index.html' )
) {
return new WP_Error(
'incompatible_archive_theme_no_index',
$this->strings['incompatible_archive'],
sprintf(
/* translators: %s: index.php */
__( 'The theme is missing the %s file.' ),
'<code>index.php</code>'
/* translators: 1: templates/index.html, 2: index.php, 3: Documentation URL, 4: Template, 5: style.css */
__( 'Template is missing. Standalone themes need to have a %1$s or %2$s template file. <a href="%3$s">Child themes</a> need to have a %4$s header in the %5$s stylesheet.' ),
'<code>templates/index.html</code>',
'<code>index.php</code>',
__( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ),
'<code>Template</code>',
'<code>style.css</code>'
)
);
}

View File

@@ -1611,9 +1611,9 @@ class WP_Posts_List_Table extends WP_List_Table {
?>
<tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="<?php echo $classes; ?>" style="display: none">
<td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
<div class="inline-edit-wrapper" role="region" aria-labelledby="inline-edit-legend">
<div class="inline-edit-wrapper" role="region" aria-labelledby="<?php echo $bulk ? 'bulk' : 'quick'; ?>-edit-legend">
<fieldset class="inline-edit-col-left">
<legend class="inline-edit-legend" id="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>
<legend class="inline-edit-legend" id="<?php echo $bulk ? 'bulk' : 'quick'; ?>-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>
<div class="inline-edit-col">
<?php if ( post_type_supports( $screen->post_type, 'title' ) ) : ?>

View File

@@ -1996,6 +1996,9 @@ function wp_welcome_panel() {
?>
<div class="welcome-panel-content">
<div class="welcome-panel-header">
<div class="welcome-panel-header-image">
<?php echo file_get_contents( dirname( __DIR__ ) . '/images/about-header-about.svg' ); ?>
</div>
<h2><?php _e( 'Welcome to WordPress!' ); ?></h2>
<p>
<a href="<?php echo esc_url( admin_url( 'about.php' ) ); ?>">

View File

@@ -1190,6 +1190,7 @@ function wp_refresh_post_lock( $response, $data, $screen_id ) {
if ( $user ) {
$error = array(
'name' => $user->display_name,
/* translators: %s: User's display name. */
'text' => sprintf( __( '%s has taken over and is currently editing.' ), $user->display_name ),
);

View File

@@ -843,6 +843,8 @@ $_old_files = array(
'wp-includes/blocks/tag-cloud/editor.min.css',
'wp-includes/blocks/tag-cloud/editor-rtl.css',
'wp-includes/blocks/tag-cloud/editor-rtl.min.css',
// 6.0
'wp-content/themes/twentytwentytwo/assets/fonts/LICENSE.md',
);
/**

View File

@@ -294,6 +294,10 @@ window.wp = window.wp || {};
editRow = $('#inline-edit').clone(true);
$( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length );
// Remove the ID from the copied row and let the `for` attribute reference the hidden ID.
$( 'td', editRow ).find('#quick-edit-legend').removeAttr('id');
$( 'td', editRow ).find('p[id^="quick-edit-"]').removeAttr('id');
$(t.what+id).removeClass('is-expanded').hide().after(editRow).after('<tr class="hidden"></tr>');
// Populate fields in the quick edit window.

File diff suppressed because one or more lines are too long

View File

@@ -612,7 +612,7 @@ if ( ! empty( $invalid ) ) {
/* translators: 1: Plugin file, 2: Error message. */
__( 'The plugin %1$s has been deactivated due to an error: %2$s' ),
'<code>' . esc_html( $plugin_file ) . '</code>',
$error->get_error_message()
esc_html( $error->get_error_message() )
);
echo '</p></div>';
}
@@ -676,7 +676,7 @@ elseif ( isset( $_GET['deleted'] ) ) :
printf(
/* translators: %s: Error message. */
__( 'Plugin could not be deleted due to an error: %s' ),
$delete_result->get_error_message()
esc_html( $delete_result->get_error_message() )
);
?>
</p>

View File

@@ -29,6 +29,9 @@ if ( ! wp_is_block_theme() ) {
*/
$home_template = _resolve_home_block_template();
if ( $home_template && empty( $_GET['postType'] ) && empty( $_GET['postId'] ) ) {
if ( ! empty( $_GET['styles'] ) ) {
$home_template['styles'] = sanitize_key( $_GET['styles'] );
}
$redirect_url = add_query_arg(
$home_template,
admin_url( 'site-editor.php' )
@@ -68,6 +71,11 @@ $custom_settings = array(
'defaultTemplatePartAreas' => get_allowed_block_template_part_areas(),
'__unstableHomeTemplate' => $home_template,
);
// Add additional back-compat patterns registered by `current_screen` et al.
$custom_settings['__experimentalAdditionalBlockPatterns'] = WP_Block_Patterns_Registry::get_instance()->get_all_registered( true );
$custom_settings['__experimentalAdditionalBlockPatternCategories'] = WP_Block_Pattern_Categories_Registry::get_instance()->get_all_registered( true );
$editor_settings = get_block_editor_settings( $custom_settings, $block_editor_context );
if ( isset( $_GET['postType'] ) && ! isset( $_GET['postId'] ) ) {

View File

@@ -1,8 +1,8 @@
=== Twenty Eleven ===
Contributors: wordpressdotorg
Requires at least: WordPress 3.2
Tested up to: 5.9
Stable tag: 4.0
Tested up to: 6.0
Stable tag: 4.1
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, block-patterns
@@ -47,6 +47,11 @@ Images
== Changelog ==
= 4.1 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_4.1
= 4.0 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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: 4.0
Tested up to: 5.9
Version: 4.1
Tested up to: 6.0
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

@@ -441,7 +441,7 @@ function twentyfifteen_scripts() {
wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri(), array(), '20201208' );
// Theme block stylesheet.
wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20190102' );
wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20220524' );
// Load the Internet Explorer specific stylesheet.
wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20170916' );
@@ -461,7 +461,7 @@ function twentyfifteen_scripts() {
wp_enqueue_script( 'twentyfifteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20141210' );
}
wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true );
wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20220524', true );
wp_localize_script(
'twentyfifteen-script',
'screenReaderText',

View File

@@ -1,8 +1,8 @@
=== Twenty Fifteen ===
Contributors: wordpressdotorg
Requires at least: WordPress 4.1
Tested up to: 5.9
Version: 3.1
Tested up to: 6.0
Version: 3.2
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, block-patterns
@@ -61,6 +61,11 @@ Source: https://stocksnap.io/photo/purple-yellow-ACF0693B9C
== Changelog ==
= 3.2 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_3.2
= 3.1 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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: 3.1
Tested up to: 5.9
Version: 3.2
Tested up to: 6.0
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

@@ -1,8 +1,8 @@
=== Twenty Fourteen ===
Contributors: wordpressdotorg
Requires at least: WordPress 3.6
Tested up to: 5.9
Stable tag: 3.3
Tested up to: 6.0
Stable tag: 3.4
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, block-patterns
@@ -58,6 +58,11 @@ Source: https://stocksnap.io/photo/fog-mountain-ZKN6UKFKEO
== Changelog ==
= 3.4 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_3.4
= 3.3 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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: 3.3
Tested up to: 5.9
Version: 3.4
Tested up to: 6.0
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

@@ -1,6 +1,6 @@
{
"name": "twentynineteen",
"version": "2.2.0",
"version": "2.3.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "twentynineteen",
"version": "2.2.0",
"version": "2.3.0",
"description": "Default WP Theme",
"bugs": {
"url": "https://core.trac.wordpress.org/"

View File

@@ -2,8 +2,8 @@
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, block-patterns
Requires at least: 4.9.6
Tested up to: 5.9
Stable tag: 2.2
Tested up to: 6.0
Stable tag: 2.3
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 ==
= 2.3 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Nineteen_Theme_Changelog#Version_2.3
= 2.2 =
* Released: January 25, 2022

View File

@@ -5,10 +5,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
Author: the WordPress team
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.
Tested up to: 5.9
Tested up to: 6.0
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 2.2
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen

View File

@@ -5,10 +5,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
Author: the WordPress team
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.
Tested up to: 5.9
Tested up to: 6.0
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 2.2
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen

View File

@@ -4,10 +4,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
Author: the WordPress team
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.
Tested up to: 5.9
Tested up to: 6.0
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 2.2
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen

View File

@@ -457,7 +457,7 @@ function twentyseventeen_scripts() {
wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri(), array(), '20201208' );
// Theme block stylesheet.
wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), '20190105' );
wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), '20220524' );
// Load the dark colorscheme.
if ( 'dark' === get_theme_mod( 'colorscheme', 'light' ) || is_customize_preview() ) {

View File

@@ -1,7 +1,7 @@
=== Twenty Seventeen ===
Contributors: wordpressdotorg
Tested up to: 5.9
Version: 2.9
Tested up to: 6.0
Version: 3.0
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, block-patterns
@@ -68,6 +68,11 @@ Source: https://stocksnap.io/photo/striped-fabric-9CBVWF2CDU
== Changelog ==
= 3.0 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_3.0
= 2.9 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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.9
Tested up to: 5.9
Version: 3.0
Tested up to: 6.0
Requires at least: 4.7
Requires PHP: 5.2.4
License: GNU General Public License v2 or later

View File

@@ -386,7 +386,7 @@ function twentysixteen_scripts() {
wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri(), array(), '20201208' );
// Theme block stylesheet.
wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20190102' );
wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20220524' );
// Load the Internet Explorer specific stylesheet.
wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), '20170530' );

View File

@@ -1,7 +1,7 @@
=== Twenty Sixteen ===
Contributors: wordpressdotorg
Tested up to: 5.9
Version: 2.6
Tested up to: 6.0
Version: 2.7
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, block-patterns
@@ -55,6 +55,11 @@ Image used in screenshot.png: A photo by Austin Schmid (https://unsplash.com/sch
== Changelog ==
= 2.7 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Sixteen_Theme_Changelog#Version_2.7
= 2.6 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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.6
Tested up to: 5.9
Version: 2.7
Tested up to: 6.0
Requires at least: 4.4
Requires PHP: 5.2.4
License: GNU General Public License v2 or later

View File

@@ -1,6 +1,6 @@
=== Twenty Ten ===
Contributors: wordpressdotorg
Tested up to: 5.9
Tested up to: 6.0
Stable tag: 3.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

View File

@@ -5,7 +5,7 @@ Description: The 2010 theme for WordPress is stylish, customizable, simple, and
Author: the WordPress team
Author URI: https://wordpress.org/
Version: 3.6
Tested up to: 5.9
Tested up to: 6.0
Requires at least: 3.0
Requires PHP: 5.2.4
License: GNU General Public License v2 or later

View File

@@ -319,7 +319,7 @@ function twentythirteen_scripts_styles() {
wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.3' );
// Loads our main stylesheet.
wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20201208' );
wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20220524' );
// Theme block stylesheet.
wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20190102' );

View File

@@ -1,6 +1,6 @@
=== Twenty Thirteen ===
Contributors: wordpressdotorg
Tested up to: 5.9
Tested up to: 6.0
Stable tag: 3.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -52,6 +52,11 @@ Toroidal Colony: https://www.flickr.com/photos/nasacommons/13889485757/in/album-
== Changelog ==
= 3.6 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Thirteen_Theme_Changelog#Version_3.6
= 3.5 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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: 3.5
Tested up to: 5.9
Version: 3.6
Tested up to: 6.0
Requires at least: 3.6
Requires PHP: 5.2.4
License: GNU General Public License v2 or later

View File

@@ -1,7 +1,7 @@
=== Twenty Twelve ===
Contributors: wordpressdotorg
Tested up to: 5.9
Stable tag: 3.6
Tested up to: 6.0
Stable tag: 3.7
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, block-patterns
@@ -46,6 +46,11 @@ Source: https://github.com/aFarkas/html5shiv
== Changelog ==
= 3.7 =
* Released: May 24, 2022
https://codex.wordpress.org/Twenty_Twelve_Theme_Changelog#Version_3.7
= 3.6 =
* Released: January 25, 2022

View File

@@ -4,8 +4,8 @@ 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.6
Tested up to: 5.9
Version: 3.7
Tested up to: 6.0
Requires at least: 3.5
Requires PHP: 5.2.4
License: GNU General Public License v2 or later

View File

@@ -1,6 +1,6 @@
{
"name": "twentytwenty",
"version": "1.9.0",
"version": "2.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "twentytwenty",
"version": "1.9.0",
"version": "2.0.0",
"description": "Default WP Theme",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",

View File

@@ -1,7 +1,7 @@
=== Twenty Twenty ===
Contributors: the WordPress team
Tested up to: 5.9
Stable tag: 1.9
Tested up to: 6.0
Stable tag: 2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -22,6 +22,11 @@ you pick, ensuring a high, accessible color contrast for your visitors.
== Changelog ==
= 2.0 =
* Released: May 24, 2022
https://wordpress.org/support/article/twenty-twenty-changelog/#Version_2.0
= 1.9 =
* Released: January 25, 2022

View File

@@ -1,8 +1,8 @@
/*
Theme Name: Twenty Twenty
Text Domain: twentytwenty
Version: 1.9
Tested up to: 5.9
Version: 2.0
Tested up to: 6.0
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.

View File

@@ -1,8 +1,8 @@
/*
Theme Name: Twenty Twenty
Text Domain: twentytwenty
Version: 1.9
Tested up to: 5.9
Version: 2.0
Tested up to: 6.0
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.

View File

@@ -7,9 +7,9 @@ Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this themes soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Version: 1.5
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone

View File

@@ -5,9 +5,9 @@ Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this themes soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Version: 1.5
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone

View File

@@ -1,6 +1,6 @@
{
"name": "twentytwentyone",
"version": "1.5.0",
"version": "1.6.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "twentytwentyone",
"version": "1.5.0",
"version": "1.6.0",
"description": "Default WP Theme",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",

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