Compare commits

..

100 Commits
6.4.1 ... 6.0.6

Author SHA1 Message Date
davidbaumwald
105fef7fbd Tag 6.0.6
Built from https://develop.svn.wordpress.org/tags/6.0.6@56902


git-svn-id: http://core.svn.wordpress.org/tags/6.0.6@56413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 19:08:42 +00:00
audrasjb
adbdf975bd WordPress 6.0.6.
Built from https://develop.svn.wordpress.org/branches/6.0@56892


git-svn-id: http://core.svn.wordpress.org/branches/6.0@56403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:39:14 +00:00
Joe McGill
173b1a5337 Grouped backports to the 6.0 branch.
- REST API: Limit `search_columns` for users without `list_users`.
- Comments: Prevent users who can not see a post from seeing comments on it.
- Application Passwords: Prevent the use of some pseudo protocols in application passwords.
- Restrict media shortcode ajax to certain type
- REST API: Ensure no-cache headers are sent when methods are overriden.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56833], [56834], [56835], [56836], [56837], and [56838] to the 6.0 branch.
Props xknown, jorbin, Vortfu, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, martinkrcho, paulkevan, dd32, antpb, rmccue.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@56381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:18:49 +00:00
desrosj
0dbb25a43d WordPress 6.0.5.
Built from https://develop.svn.wordpress.org/branches/6.0@55835


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-20 04:15:51 +00:00
desrosj
499d9012cf Editor: Restore shortcode support for block templates.
Follow up to [55761].

Props youknowriad, Clorith, desrosj, antpb, Otto42, johnbillion, jorbin, rmccue, timothyblynjacobs, mikeschroder, peterwilsoncc, audrasjb, matveb, noisysocks, xknown, ehtis, isabel_brison, talldanwp, gziolo, chriscct7, davidbaumwald.
Merges [55828] to the 6.0 branch.
See #58333.
Built from https://develop.svn.wordpress.org/branches/6.0@55831


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-20 04:07:08 +00:00
audrasjb
7a6bb60778 Grouped backports to the 6.0 branch.
- Media: Prevent CSRF setting attachment thumbnails.
- Embeds: Add protocol validation for WordPress Embed code.
- I18N: Introduce sanitization function for locale.
- Editor: Ensure block comments are of a valid form.
- Editor: Remove shortcode support from block templates.

Merges [55760-55764] to the 6.0 branch.
Props dd32, isabel_brison, martinkrcho, matveb, ocean90, paulkevan, peterwilsoncc, timothyblynjacobs, xknown, youknowriad.


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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-05-16 15:20:13 +00:00
Sergey Biryukov
c6419704d5 Tests: Adjust the expected mime type for WOFF fonts on PHP 8.1.12+.
As of PHP 8.1.12, which includes libmagic/file update to version 5.42, the expected mime type for WOFF files has changed to `font/woff`, so the type needs to be adjusted accordingly in `wp_check_filetype_and_ext()` tests.

References:
* [https://github.com/php/php-src/issues/8805 php-src: #8805: finfo returns wrong mime type for woff/woff2 files]
* [https://www.php.net/ChangeLog-8.php#8.1.12 PHP 8.1.12 changelog]

Follow-up to [40124], [54508], [54509], [54724].

Props desrosj, jrf, costdev, SergeyBiryukov.
Merges [55462] to the 6.0 branch.
Fixes #56817.
Built from https://develop.svn.wordpress.org/branches/6.0@55497


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-09 14:06:14 +00:00
desrosj
42de2a0fda Build/Test Tools: Update several GitHub Actions.
This updates three GitHub Actions to their latest versions:
- `shivammathur/setup-php`
- `actions/cache`
- `wow-actions/welcome`

The welcome action now uses the `GITHUB_TOKEN` by default, so it no longer needs to be passed manually.

Merges [54651] and [55487] to the 6.0 branch.
See #56793, #57572.
Built from https://develop.svn.wordpress.org/branches/6.0@55490


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-08 16:50:11 +00:00
desrosj
3e749cc72b General: Update SVN mergeinfo.
Missed in [55482].

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-07 20:18:11 +00:00
desrosj
cd5b78739a Build/Test Tools: Backport updates to GitHub Actions.
This backports several changesets to GitHub Actions workflows. These changesets:
- address the deprecated notices related to `save-output` and `set-output` to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- backports some Docker environment related tooling updates for the sake of consistency across branches.

Merges [53628], [53636], [53736], [53737], [53895], [53940], [53947], [54039], [54096], [54108], [54293], [54297], [54313], [54342], [54343], [54371], [54373], [54511], [54649], [54650], [54674], [54678], [54750], [54851], [54852], [54856], [54921], [55152] to the 6.0 branch.
See 55702, #52708, #55652, #55652, #55700, #55652, #56407, #56407, #56528, #55652, #55652, #55652, #54695, #55652, #55652, #55652, #55652, #56820, #56820, #56816, #55652, #55652, #56820, #56793, #56793, #53841, #57148, #57572, #56682.
Built from https://develop.svn.wordpress.org/branches/6.0@55482


git-svn-id: http://core.svn.wordpress.org/branches/6.0@55015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-07 19:38:13 +00:00
Peter Wilson
c084bac788 I18N: Add new strings to about.php for use with end-of-life updates.
This changeset adds two additional translation strings in the changelog file, for use when releasing the final version of WordPress on a particular branch.

Props peterwilsoncc, audrasjb, mukesh27.
Merges [55350] to the 6.0 branch.
Fixes #57216.


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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-21 02:39:12 +00:00
Peter Wilson
f06f809b94 Built/Test tools, HTTP API: Refactor test for multiple location headers.
Remove wordpress.org as an external dependency testing `WP_HTTP::handle_redirects()`.

This refactors and reenables an existing test to call the `WP_HTTP::handle_redirects()` method directly with a mocked array of HTTP headers containing multiple location headers.

The test is moved from the external-http group to the http test group as it no longer makes an HTTP request.

Follow up to [54955].

Props SergeyBiryukov, dd32, peterwilsoncc.
Merges [54968] to the 6.0 branch.
Fixes #57306.
See #56793.


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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-12-15 04:22:12 +00:00
Sergey Biryukov
03b75fa993 Coding Standards: Correct the deprecation version for _filter_query_attachment_filenames().
Follow-up to [54524], [54534].

Props jrf.
Merges [54878] to the 6.0 branch.
See #56791.
Built from https://develop.svn.wordpress.org/branches/6.0@54880


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-26 16:28:13 +00:00
Peter Wilson
95622d5d67 Media: Add object-fit to the allowed list of CSS properties.
This resolves a bug in Featured Image blocks where `object-fit` was being removed during the `render_callback`.

Props raduiason, pbiron, kebbet, SergeyBiryukov, bernhard-reiter, ironprogrammer, xknown, audrasjb, ckanderson22, ivanjeronimo, seriouslysenpai, davidbaumwald.
Merges [54675] to the 6.0 branch.
Fixes #56855.


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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-08 04:35:18 +00:00
Sergey Biryukov
26464b0f82 Post WordPress 6.0.3 version bump.
The 6.0 branch is now 6.0.4-alpha.
Built from https://develop.svn.wordpress.org/branches/6.0@54628


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 23:10:14 +00:00
Sergey Biryukov
4ecb2ec36b WordPress 6.0.3.
Built from https://develop.svn.wordpress.org/branches/6.0@54597


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 20:12:10 +00:00
audrasjb
558b045358 Help/About: Update the About page for WordPress 6.0.3.
Built from https://develop.svn.wordpress.org/branches/6.0@54577


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:40:26 +00:00
Sergey Biryukov
f562f4f147 Users: Revert use of shared objects for current user.
Reverts [50790].

Props oztaser, ravipatel, dd32, costdev, SergeyBiryukov, tykoted, cu121, xknown.
Merges [54397] to the 6.0 branch.
Fixes #54984.
Built from https://develop.svn.wordpress.org/branches/6.0@54544


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 16:55:09 +00:00
desrosj
b18094f7a8 Editor: Bump @wordpress packages for 6.0.3.
Package updates for bug fixes:

* @wordpress/block-directory: 3.4.15
* @wordpress/block-library: 7.3.15
* @wordpress/customize-widgets: 3.3.15
* @wordpress/edit-post: 6.3.15
* @wordpress/edit-site: 4.3.15
* @wordpress/edit-widgets: 4.3.15
* @wordpress/widgets: 2.4.11
Built from https://develop.svn.wordpress.org/branches/6.0@54543


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 16:24:32 +00:00
audrasjb
2466ee5c06 Widgets: Escape RSS error messages for display.
Props xknown, timothyblynjacobs, matveb, talldanwp.
Merges [54541] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:43:09 +00:00
audrasjb
2cd7afea5e Query: Validate relation in WP_Date_Query.
Props dd32, johnjamesjacoby, martinkrcho, ehtis, paulkevan, peterwilsoncc.
Merges [54530] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:39:09 +00:00
audrasjb
90ea336939 Mail: Reset PHPMailer properties between use.
Props xknown, martinkrcho, tykoted.
Merges [54529] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:37:09 +00:00
audrasjb
1143ae5afb REST API: Lockdown post parameter of the terms endpoint.
Props johnbillion, tykoted, timothyblynjacobs, peterwilsoncc, martinkrcho, ehtis.
Merges [54528] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:35:09 +00:00
audrasjb
40f6e7e89f Comments: Apply kses when editing comments.
Props davidbaumwald, xknown, peterwilsoncc, paulkevan.
Merges [54527] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:33:09 +00:00
audrasjb
b80afdcddf Customize: Escape blogname option in underscores templates.
Props xknown, martinkrcho.
Merges [54526] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:31:09 +00:00
audrasjb
c2b19edbdd Pings/trackbacks: Apply KSES to all trackbacks.
Props dd32, xknown, martinkrcho, peterwilsoncc.
Merges [54525] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:29:08 +00:00
audrasjb
2049ade675 Media: Refactor search by filename within the admin.
Props vortfu, xknown, peterwilsoncc, paulkevan.
Merges [54524] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:26:09 +00:00
audrasjb
4167f814bc Posts, Post types: Remove emails from post-by-email logs.
Props paulkevan, xknown, martinkrcho, peterwilsoncc.
Merges [54523] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:20:09 +00:00
audrasjb
84c1c0c7da General: Validate host on "Are you sure?" screen.
Props voldemortensen, xknown, peterwiloncc.

Merges [54522] to the 6.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:11:09 +00:00
audrasjb
cb9fadb9f3 Posts, Post types: Apply KSES to post-by-email content.
Props voldemortensen, johnbillion, paulkevan, peterwilsoncc, xknown, dd32, audrasjb.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 12:05:11 +00:00
Peter Wilson
8a85e9012a Tests: Replace the timezone used in date/time tests.
The `Europe/Kiev` timezone has been deprecated in PHP 8.2 and replaced with `Europe/Kyiv`.

The tests updated in this commit are testing the WordPress date/time functionality. They are **not** testing whether WP or PHP can handle deprecated timezone names correctly.

To ensure the tests follow the original purpose, the use of `Europe/Kiev` within these tests is now replaced with the `Europe/Helsinki` timezone, which is within the same timezone as `Europe/Kyiv`. This should ensure that these tests run without issue and test what they are supposed to be testing on every supported PHP version (unless at some point in the future `Europe/Helsinki` would be renamed, but that's a bridge to cross if and when).

Note: Separate tests should/will be added to ensure that relevant date/time related functions handle a deprecated timezone correctly, but that is not something ''these'' tests are supposed to be testing.

Follow-up to [45853], [45856], [45876], [45882], [45887], [45908], [45914], [46577], [46154], [46580], [46864], [46974], [54207].

Props jrf, costdev, SergeyBiryukov.
Merges [54217] to the 6.0 branch.
See #56468.

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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@54071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-14 06:00:13 +00:00
Peter Wilson
d1b6543d22 Security: Introduce strings to indicate support status.
Add strings for use in future maintenance/security releases to indicate the security support status of the version of WordPress.

Two strings are introduced:

* indicating the version of WordPress is not receiving security updates, and,
* indicating the version of WordPress will shortly stop receiving security updates.

This change does not make use of the strings, the purpose is to make them available to translators prior to dropping support of selected versions of WordPress.

Props costdev, chesio, robinwpdeveloper, desrosj, rudlinkon, mukesh27, sumitbagthariya16.
Merges [54322] to the 6.0 branch.
See #56532.


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


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 04:45:16 +00:00
desrosj
a9c0050f94 Post WordPress 6.0.2 version bump.
The `6.0` branch is now `6.0.3-alpha`.
Built from https://develop.svn.wordpress.org/branches/6.0@54035


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 19:45: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
2613 changed files with 251172 additions and 411759 deletions

View File

@@ -1,6 +1,6 @@
WordPress - Web publishing software
Copyright 2011-2023 by the contributors
Copyright 2011-2022 by the contributors
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -47,18 +47,18 @@
</ol>
<h2>Migrating from other systems</h2>
<p>WordPress can <a href="https://wordpress.org/documentation/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<h2>System Requirements</h2>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.0</strong> or greater.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or greater.</li>
</ul>
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.4</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.2</strong> or greater.</li>
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
@@ -67,8 +67,8 @@
<h2>Online Resources</h2>
<p>If you have any questions that are not addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
<dl>
<dt><a href="https://wordpress.org/documentation/">HelpHub</a></dt>
<dd>HelpHub is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://codex.wordpress.org/">The WordPress Codex</a></dt>
<dd>The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt>
<dd>This is where you&#8217;ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd>
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
@@ -88,7 +88,7 @@
<h2>Share the Love</h2>
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better&#8212;you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.</p>
<p>WordPress is the official continuation of <a href="https://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
<h2>License</h2>
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>

View File

@@ -87,7 +87,7 @@ do_action( 'activate_header' );
*/
function do_activate_header() {
/**
* Fires within the `<head>` section of the Site Activation page.
* Fires before the Site Activation page is loaded.
*
* Fires on the {@see 'wp_head'} action.
*
@@ -105,11 +105,10 @@ add_action( 'wp_head', 'do_activate_header' );
function wpmu_activate_stylesheet() {
?>
<style type="text/css">
.wp-activate-container { width: 90%; margin: 0 auto; }
.wp-activate-container form { margin-top: 2em; }
#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
#language { margin-top: 0.5em; }
.wp-activate-container .error { background: #f66; color: #333; }
form { margin-top: 2em; }
#submit, #key { width: 90%; font-size: 24px; }
#language { margin-top: .5em; }
.error { background: #f66; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
</style>
<?php
@@ -120,7 +119,7 @@ add_filter( 'wp_robots', 'wp_robots_sensitive_page' );
get_header( 'wp-activate' );
$blog_details = get_site();
$blog_details = get_blog_details();
?>
<div id="signup-content" class="widecolumn">
@@ -131,7 +130,7 @@ $blog_details = get_site();
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( $blog_details->path . 'wp-activate.php' ); ?>">
<p>
<label for="key"><?php _e( 'Activation Key:' ); ?></label>
<br /><input type="text" name="key" id="key" value="" size="50" autofocus="autofocus" />
<br /><input type="text" name="key" id="key" value="" size="50" />
</p>
<p class="submit">
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ); ?>" />
@@ -214,5 +213,9 @@ $blog_details = get_site();
?>
</div>
</div>
<script type="text/javascript">
var key_input = document.getElementById('key');
key_input && key_input.focus();
</script>
<?php
get_footer( 'wp-activate' );

View File

@@ -22,41 +22,30 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header">
<div class="about__header-title">
<h1>
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s' ),
$display_version
);
?>
<?php _e( 'WordPress' ); ?>
<span class="screen-reader-text"><?php echo $display_version; ?></span>
</h1>
</div>
<div class="about__header-text"></div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section changelog has-subtle-background-color">
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance Release' ); ?></h2>
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<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.',
10
),
'6.4.1',
'4'
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'6.0.6'
);
?>
<?php
@@ -66,7 +55,122 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '6.4.1' )
sanitize_title( '6.0.6' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
1
),
'6.0.5',
'1'
);
?>
<?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.5' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'6.0.4'
);
?>
<?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.4' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number. */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'6.0.3'
);
?>
<?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.3' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
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' )
)
);
?>
@@ -86,159 +190,217 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
?>
</h2>
<p class="is-subheading">
<?php _e( 'Every version of WordPress empowers your creative freedom, and WordPress 6.4 is no different. New features and upgrades to your site editing, design, and writing experience allow your ideas to take shape seamlessly. Elevate your site-building journey with the flexibility and power of WordPress 6.4.' ); ?>
</p>
</div>
</div>
<div class="about__section has-2-columns has-accent-4-background-color is-wider-right">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Say hello to<br>Twenty Twenty-Four' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Introduction to Twenty Twenty-Four link. */
__( 'Experience the latest advancements in site editing with <a href="%s">Twenty Twenty-Four</a>. Built with three distinct use cases in mind, the versatility of the new default theme makes it an ideal choice for almost any type of website. Dive into its collection of templates and patterns and unlock a world of creative possibilities with just a few tweaks.' ),
__( 'https://make.wordpress.org/core/2023/08/24/introducing-twenty-twenty-four/' )
);
?>
</p>
</div>
<div class="column is-vertically-aligned-bottom is-edge-to-edge">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/1-Twenty-Twenty-Four.webp" alt="" height="600" width="600" />
</div>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/2-image-lightbox.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Add a lightbox effect to images' ); ?></h3>
<p><?php _e( 'Turn lightbox functionality on for interactive, full-screen images with a simple click. Apply it globally or to specific images to customize the viewing experience.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/3-categorize-patterns.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Categorize and filter patterns' ); ?></h3>
<p><?php _e( 'Organize your synced and unsynced patterns with categories. Explore advanced filtering in the Patterns section of the inserter to find them all more intuitively.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/4-command-palette.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Get more done with the Command Palette' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Command palette improvement link. */
__( 'Enjoy <a href="%s">a refreshed design and more commands</a> to find what you\'re looking for, perform tasks efficiently, and save time as you create.' ),
__( 'https://make.wordpress.org/core/2023/09/12/core-editor-improvement-commanding-the-command-palette/' )
);
?>
</p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/5-renaming-groups.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Rename Group blocks' ); ?></h3>
<p><?php _e( 'Set custom names for Group blocks to easily organize and differentiate parts of your content. These names will be visible in List View.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/6-image-preview.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Image previews in List View' ); ?></h3>
<p><?php _e( 'New media previews for Gallery and Image blocks in List View let you visualize and locate at a glance where images on your content are.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/7-import-export-patterns.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Share patterns across sites' ); ?></h3>
<p><?php _e( 'Need to use your custom patterns on another site? It\'s simple! Import and export them as JSON files from the Site Editor\'s patterns view.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns has-subtle-background-color is-wider-left">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/8-captured-toolbar.webp" alt="" height="434" width="536" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Enjoy new writing improvements' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: New enhancements link. */
__( '<a href="%s">New enhancements</a> ensure your content creation journey is smooth. Find new keyboard shortcuts in List View, refined list merging, and enhanced control over link settings. A revamped and cohesive toolbar experience for Navigation, List, and Quote blocks lets you efficiently work with the tooling options you need.' ),
__( 'https://make.wordpress.org/core/2023/10/05/core-editor-improvement-ensuring-excellence-in-the-writing-experience/' )
);
?>
<?php _e( 'WordPress 6.0 includes more than 500 enhancements and 400 bug fixes. This page highlights several key advancements aimed at making your WordPress content-creating and site-building experience more feature-rich and intuitive. You will also find resources for developers and anyone wanting a deeper understanding of WordPress.' ); ?>
</p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Build your creative vision with more design tools' ); ?></h3>
<p><?php _e( 'Get creative with new background images in Group blocks and ensure consistent image dimensions with placeholder aspect ratios. Do you want to add buttons to your Navigation block? You can now do it conveniently without custom CSS. If you\'re working with synced patterns, alignment settings stay intact for a seamless pattern creation experience.' ); ?></p>
</div>
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/9-design-tools.webp" alt="" height="355" width="436" />
</div>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/10-block-hooks.webp" alt="" height="436" width="436" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Introducing Block Hooks' ); ?></h3>
<p><?php _e( 'Block Hooks is a new powerful feature that enables plugins to auto-insert blocks into content relative to another block. Think of it as recommendations to make your work with blocks more intuitive. A new "Plugins" panel gives you complete control to match them to your needs—add, dismiss, and rearrange Block Hooks as desired.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M25.7781 16.8569L25.8 22.8573L28.9984 22.8572C29.805 22.8572 30.2796 23.6339 29.8204 24.2024L23.8213 31.6292C23.2633 32.3201 22.2013 31.9819 22.2013 31.1416L22.2 25.1481H19.0016C18.1961 25.1481 17.7212 24.3733 18.1782 23.8047L24.1496 16.3722C24.7055 15.6804 25.7749 16.0169 25.7781 16.8569Z" fill="#151515"/>
</svg>
</div>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Performance' ); ?></h3>
<p><?php _e( 'WordPress 6.4 includes more than 100 performance updates for a faster and more efficient experience. Enhancements focus on template loading performance for Block Themes and Classic Themes, usage of the script loading strategies “defer” and “async” in core, blocks, and themes, and optimization of autoloaded options.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M24 18.285C23.55 18.285 23.1638 18.1237 22.8413 17.8012C22.5188 17.4788 22.3575 17.0925 22.3575 16.6425C22.3575 16.1925 22.5188 15.8062 22.8413 15.4837C23.1638 15.1612 23.55 15 24 15C24.45 15 24.8363 15.1612 25.1588 15.4837C25.4813 15.8062 25.6425 16.1925 25.6425 16.6425C25.6425 17.0925 25.4813 17.4788 25.1588 17.8012C24.8363 18.1237 24.45 18.285 24 18.285ZM21.5925 33V21.0075C20.5725 20.9325 19.5863 20.8275 18.6338 20.6925C17.6813 20.5575 16.77 20.385 15.9 20.175L16.2375 18.825C17.5125 19.125 18.78 19.3387 20.04 19.4662C21.3 19.5938 22.62 19.6575 24 19.6575C25.38 19.6575 26.7 19.5938 27.96 19.4662C29.22 19.3387 30.4875 19.125 31.7625 18.825L32.1 20.175C31.23 20.385 30.3187 20.5575 29.3663 20.6925C28.4137 20.8275 27.4275 20.9325 26.4075 21.0075V33H25.0575V27.15H22.9425V33H21.5925Z" fill="#151515"/>
</svg>
</div>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Accessibility' ); ?></h3>
<p><?php _e( 'Every release is committed to making WordPress accessible to everyone. 6.4 brings List View improvements and aria-label support for the Navigation block, among other highlights. The admin user interface (UI) includes enhancements to button placements, "Add New" menu items context, and Site Health spoken messages.' ); ?></p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column about__image is-vertically-aligned-top">
<img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.4' ) ); ?>" alt="" height="270" width="270" />
<img src="https://s.w.org/images/core/6.0/about-60-writing-improvements.png" alt="" />
</div>
<div class="column is-vertically-aligned-center" style="grid-column-end:span 2">
<div class="column">
<h3>
<?php _e( 'Enhanced Writing Experience' ); ?>
</h3>
<p>
<?php _e( 'Writing improvements abound, whether you&#8217;re writing a brand new post or adding elements to an existing page. Explore more ways to streamline your content creation process, including:' ); ?>
</p>
<ul>
<li><?php _e( 'Select text across multiple blocks and edit it all at once.' ); ?></li>
<li><?php _e( 'Type two open brackets <code>[[</code> to quickly access the link menu.' ); ?></li>
<li><?php _e( 'Keep existing styles when you transform some blocks from one kind to another—from a Paragraph block to a Code block, for instance.' ); ?></li>
<li><?php _e( 'Create customized buttons and any new buttons you make will retain the style customizations automatically.' ); ?></li>
<li><?php _e( 'Make tag clouds and social icons even more appealing with updated settings and controls, and a new outline style for the tag cloud.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<h3>
<?php _e( 'Style Switching' ); ?>
</h3>
<p>
<?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-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-top">
<img src="https://s.w.org/images/core/6.0/about-60-templates.png" alt="" />
</div>
<div class="column" style="padding-bottom:0">
<h3>
<?php _e( 'More Template Choices' ); ?>
</h3>
<p>
<?php _e( 'WordPress 6.0 includes five new template options: author, date, categories, tag, and taxonomy. These additional templates provide greater flexibility for content creators. Tailor each with the tools you already know or with the following new options in this release.' ); ?>
</p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<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://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://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-top">
<img src="https://s.w.org/images/core/6.0/about-60-integrated-patterns.png" alt="" />
</div>
<div class="column">
<h3>
<?php _e( 'Integrated Patterns' ); ?>
</h3>
<p>
<?php
printf(
/* translators: %s Working with Patterns dev note link. */
__( 'Patterns will now appear when you need them in even more places, like in the quick inserter or when creating a new header or footer. If you&#8217;re a block theme author, you can even <a href="%s">register patterns from the Pattern Directory using <code>theme.json</code></a>, enabling you to prioritize specific patterns that are most helpful to your theme&#8217;s users.' ),
'https://make.wordpress.org/core/2022/05/02/new-features-for-working-with-patterns-and-themes-in-wordpress-6-0/'
);
?>
</p>
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<h3>
<?php _e( 'Better List View' ); ?>
</h3>
<p>
<?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-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-top">
<img src="https://s.w.org/images/core/6.0/about-60-block-locking-controls.png" alt="" />
</div>
<div class="column">
<h3>
<?php _e( 'Block Locking Controls' ); ?>
</h3>
<p>
<?php _e( 'Now you can lock your blocks. Choose to disable the option to move a block, remove a block, or both. This simplifies project handover, allowing your clients to unleash their creativity without worrying about accidentally breaking their site in the process.' ); ?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section" style="margin-bottom:0;">
<div class="column">
<h2 class="aligncenter">
<?php _e( 'Additional Design Tools' ); ?>
</h2>
<p class="is-subheading aligncenter">
<?php _e( 'Design tools grow more powerful and intuitive with each release.' ); ?><br />
<?php _e( 'Some highlights for 6.0 include:' ); ?>
</p>
</div>
</div>
<div class="about__section has-3-columns" style="margin-bottom:0;">
<div class="column">
<div class="about__image aligncenter">
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.203 6.892c.776-.963 1.297-1.559 1.297-1.559s.521.596 1.297 1.559c2.266 2.81 6.703 8.75 6.703 12.155 0 4.572-3.18 7.62-8 7.62s-8-3.048-8-7.62c0-3.404 4.437-9.345 6.703-12.155Zm1.297 1.58a64.727 64.727 0 0 0-2.361 3.15c-.972 1.388-1.911 2.87-2.6 4.248-.72 1.44-1.039 2.52-1.039 3.177 0 1.805.616 3.164 1.573 4.077.965.921 2.441 1.542 4.427 1.542 1.986 0 3.462-.621 4.427-1.542.957-.913 1.573-2.272 1.573-4.077 0-.657-.32-1.738-1.039-3.177-.689-1.378-1.628-2.86-2.6-4.247A64.727 64.727 0 0 0 16.5 8.47Z" fill="#1E1E1E"/>
</svg>
</div>
<p><?php _e( 'A new color panel design saves space, but still shows your options at a glance.' ); ?></p>
</div>
<div class="column">
<div class="about__image aligncenter">
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.5 9.333v13.334h2.667V9.333H4.5ZM9.833 6.667V4h13.334v2.667H9.833ZM25.833 9.333v13.334H28.5V9.333h-2.667ZM23.167 28v-2.667H9.833V28h13.334Z" fill="#1E1E1E"/>
</svg>
</div>
<p><?php _e( 'New border controls offer a simpler way to set your border exactly as you like it.' ); ?></p>
</div>
<div class="column">
<div class="about__image aligncenter">
<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)"/>
</pattern>
<image id="b" width="20" height="20" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAfUlEQVQ4Ee2TSw6AMAhES4/C/a/EWTAuptFJR4m6MFE25dO88ikWEdkmkpnNzEbE3Yd+pHQV3MLUnZlfAmeXK74vAtdpPin96jRVEu8fimWxiRGx2xwuGZtVLvms14iXgZyRsn+g6oz28ye53UNMF0+WgZwJAHyWgZwJg2AvIbMZwqZwPC4AAAAASUVORK5CYII="/>
</defs>
</svg>
</div>
<p><?php _e( 'Transparency levels for your colors allow for even more creative color options.' ); ?></p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image aligncenter">
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.165 7.335h9.333c.369 0 .667.298.667.667v9.333a.667.667 0 0 1-.667.667h-4v-3.333a2.667 2.667 0 0 0-2.666-2.667h-3.334v-4c0-.369.299-.667.667-.667Zm-2.667 4.667v-4a2.667 2.667 0 0 1 2.667-2.667h9.333a2.667 2.667 0 0 1 2.667 2.667v9.333a2.667 2.667 0 0 1-2.667 2.667h-4v4a2.667 2.667 0 0 1-2.666 2.667H8.499a2.667 2.667 0 0 1-2.667-2.667V14.67a2.667 2.667 0 0 1 2.667-2.667h4Zm6 8v4a.667.667 0 0 1-.666.667H8.499a.667.667 0 0 1-.667-.667V14.67c0-.368.299-.667.667-.667h4v3.333a2.667 2.667 0 0 0 2.666 2.667H18.5Zm0-2h-3.333a.667.667 0 0 1-.667-.667v-3.333h3.334c.368 0 .667.299.667.667v3.333Z" fill="#1E1E1E"/>
</svg>
</div>
<p><?php _e( 'Control gaps, margins, typography, and more on a collection of blocks, all at once, in the Group block.' ); ?></p>
</div>
<div class="column">
<div class="about__image aligncenter">
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.833 8.667h-7v2h7c.368 0 .667.299.667.667v9.333a.667.667 0 0 1-.667.667h-7v2h7a2.667 2.667 0 0 0 2.667-2.667v-9.333a2.667 2.667 0 0 0-2.667-2.667ZM20.167 8.667h7v2h-7a.667.667 0 0 0-.667.667v9.333c0 .368.299.667.667.667h7v2h-7a2.667 2.667 0 0 1-2.667-2.667v-9.333a2.667 2.667 0 0 1 2.667-2.667Z" fill="#1E1E1E"/>
</svg>
</div>
<p><?php _e( 'Switch between stack, row, and group variations to position groups of blocks with more layout flexibility.' ); ?></p>
</div>
<div class="column">
<div class="about__image aligncenter">
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M28.5 10.667v14.667A2.665 2.665 0 0 1 25.835 28H8.5" stroke="#1E1E1E" stroke-width="2"/>
<rect x="5.5" y="5" width="18" height="18" rx="1.167" stroke="#1E1E1E" stroke-width="2"/>
<path d="M5.834 18.667 10.786 16l3.715 1.778 4.333-3.111 4.333 3.111" stroke="#1E1E1E" stroke-width="2" stroke-linejoin="round"/>
</svg>
</div>
<p><?php _e( 'Use the gap support functionality in the Gallery block to create different looksfrom adding spacing between all images, to removing spacing altogether.' ); ?></p>
</div>
</div>
<hr class="is-large" />
<div class="about__section has-2-columns is-wider-right">
<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">
<h3>
<?php
printf(
@@ -251,78 +413,65 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<p>
<?php
printf(
/* translators: 1: Learn WordPress link, 2: Workshops link. */
__( '<a href="%1$s">Learn WordPress</a> is a free resource for new and experienced WordPress users. Learn is stocked with how-to videos on using various features in WordPress, <a href="%2$s">interactive workshops</a> for exploring topics in-depth, and lesson plans for diving deep into specific areas of WordPress.' ),
'https://learn.wordpress.org/',
'https://learn.wordpress.org/online-workshops/'
/* 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>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M23 34v-4h-5l-2.293-2.293a1 1 0 0 1 0-1.414L18 24h5v-2h-7v-6h7v-2h2v2h5l2.293 2.293a1 1 0 0 1 0 1.414L30 22h-5v2h7v6h-7v4h-2Zm-5-14h11.175l.646-.646a.5.5 0 0 0 0-.708L29.175 18H18v2Zm.825 8H30v-2H18.825l-.646.646a.5.5 0 0 0 0 .708l.646.646Z" fill="#151515"/>
</svg>
</div>
<p style="margin-top:calc(var(--gap) / 2);">
<div class="about__section has-3-columns">
<div class="column" style="padding-top:0">
<p>
<?php
printf(
/* translators: %s: WordPress Field Guide link. */
__( 'Explore the <a href="%1$s">WordPress %2$s Field Guide</a>. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ),
__( 'https://make.wordpress.org/core/2023/10/23/wordpress-6-4-field-guide/' ),
'6.4'
/* translators: 1: Learn WordPress workshops link, 2: Learn WordPress social learning link. */
__( 'Explore <a href="%1$s">learn.wordpress.org/&#8203;workshops</a> for quick how-to videos and lots more on new features in WordPress. Or join a live <a href="%2$s">interactive online learning session</a> on a specific WordPress topic.' ),
'https://learn.wordpress.org/workshops/',
'https://learn.wordpress.org/social-learning/'
);
?>
</p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M28 19.75h-8v1.5h8v-1.5ZM20 23h8v1.5h-8V23ZM26 26.25h-6v1.5h6v-1.5Z" fill="#151515"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M29 16H19a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V18a2 2 0 0 0-2-2Zm-10 1.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H19a.5.5 0 0 1-.5-.5V18a.5.5 0 0 1 .5-.5Z" fill="#151515"/>
</svg>
</div>
<p style="margin-top:calc(var(--gap) / 2);">
<div class="column" style="padding-top:0">
<p>
<?php
printf(
/* translators: 1: WordPress Release Notes link, 2: WordPress version number. */
__( '<a href="%1$s">Read the WordPress %2$s Release Notes</a> for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ),
/* 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" style="padding-top:0">
<p>
<?php
printf(
/* translators: %s: WordPress 6.0 Release Notes link. */
__( '<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 number. */
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
'6-4'
),
'6.4'
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
'6-0'
)
);
?>
</p>
</div>
</div>
<hr class="is-large" />
<hr />
<div class="return-to-dashboard">
<?php
if ( isset( $_GET['updated'] ) && current_user_can( 'update_core' ) ) {
printf(
'<a href="%1$s">%2$s</a> | ',
esc_url( self_admin_url( 'update-core.php' ) ),
is_multisite() ? __( 'Go to Updates' ) : __( 'Go to Dashboard &rarr; Updates' )
);
}
printf(
'<a href="%1$s">%2$s</a>',
esc_url( self_admin_url() ),
is_blog_admin() ? __( 'Go to Dashboard &rarr; Home' ) : __( 'Go to Dashboard' )
);
?>
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
<?php is_multisite() ? _e( 'Go to Updates' ) : _e( 'Go to Dashboard &rarr; Updates' ); ?>
</a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>

View File

@@ -153,8 +153,7 @@ $core_actions_post_deprecated = array(
'health-check-background-updates',
'health-check-loopback-requests',
);
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
// Register core Ajax calls.
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get, true ) ) {

View File

@@ -109,7 +109,7 @@ var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?
<?php
/**
* Fires when enqueuing scripts for all admin pages.
* Enqueue scripts for all admin pages.
*
* @since 2.8.0
*
@@ -242,7 +242,7 @@ unset( $error_get_last );
$admin_body_classes = apply_filters( 'admin_body_class', '' );
$admin_body_classes = ltrim( $admin_body_classes . ' ' . $admin_body_class );
?>
<body class="wp-admin wp-core-ui no-js <?php echo esc_attr( $admin_body_classes ); ?>">
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes; ?>">
<script type="text/javascript">
document.body.className = document.body.className.replace('no-js','js');
</script>

View File

@@ -348,7 +348,7 @@ if ( isset( $plugin_page ) ) {
define( 'WP_IMPORTING', true );
/**
* Filters whether to filter imported data through kses on import.
* Whether to filter imported data through kses on import.
*
* Multisite uses this hook to filter all data through kses by default,
* as a super administrator may be assisting an untrusted user.

View File

@@ -113,8 +113,8 @@ if ( isset( $_REQUEST['post_id'] ) ) {
$id = media_handle_upload( 'async-upload', $post_id );
if ( is_wp_error( $id ) ) {
$message = sprintf(
'%s <strong>%s</strong><br />%s',
printf(
'<div class="error-div error">%s <strong>%s</strong><br />%s</div>',
sprintf(
'<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">%s</button>',
__( 'Dismiss' )
@@ -126,13 +126,6 @@ if ( is_wp_error( $id ) ) {
),
esc_html( $id->get_error_message() )
);
wp_admin_notice(
$message,
array(
'additional_classes' => array( 'error-div', 'error' ),
'paragraph_wrap' => false,
)
);
exit;
}

View File

@@ -137,16 +137,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<?php
if ( is_wp_error( $error ) ) {
wp_admin_notice(
$error->get_error_message(),
array(
'type' => 'error',
)
);
}
?>
<?php if ( is_wp_error( $error ) ) : ?>
<div class="notice notice-error"><p><?php echo $error->get_error_message(); ?></p></div>
<?php endif; ?>
<div class="card auth-app-card">
<h2 class="title"><?php _e( 'An application would like to connect to your account.' ); ?></h2>
@@ -201,25 +194,24 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
}
?>
<?php
if ( $new_password ) :
$message = '<p class="application-password-display">
<label for="new-application-password-value">' . sprintf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
) . '
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="' . esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ) . '" />
</p>
<p>' . __( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) . '</p>';
$args = array(
'type' => 'success',
'additional_classes' => array( 'notice-alt', 'below-h2' ),
'paragraph_wrap' => false,
);
wp_admin_notice( $message, $args );
<?php if ( $new_password ) : ?>
<div class="notice notice-success notice-alt below-h2">
<p class="application-password-display">
<label for="new-application-password-value">
<?php
printf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
);
?>
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="<?php esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ); ?>" />
</p>
<p><?php _e( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ); ?></p>
</div>
<?php
/**
* Fires in the Authorize Application Password new password section in the no-JS version.
*
@@ -234,8 +226,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* @param WP_User $user The user authorizing the application.
*/
do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user );
else :
?>
<?php else : ?>
<form action="<?php echo esc_url( admin_url( 'authorize-application.php' ) ); ?>" method="post" class="form-wrap">
<?php wp_nonce_field( 'authorize_application_password' ); ?>
<input type="hidden" name="action" value="authorize_application_password" />
@@ -258,8 +250,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* The array of request data. All arguments are optional and may be empty.
*
* @type string $app_name The suggested name of the application.
* @type string $success_url The URL the user will be redirected to after approving the application.
* @type string $reject_url The URL the user will be redirected to after rejecting the application.
* @type string $success_url The url the user will be redirected to after approving the application.
* @type string $reject_url The url the user will be redirected to after rejecting the application.
* }
* @param WP_User $user The user authorizing the application.
*/

View File

@@ -68,8 +68,8 @@ switch ( $action ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);
wp_enqueue_script( 'comment' );
@@ -161,23 +161,11 @@ switch ( $action ) {
break;
}
if ( $message ) {
wp_admin_notice(
$message,
array(
'type' => 'info',
'id' => 'message',
)
);
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
}
}
wp_admin_notice(
'<strong>' . __( 'Caution:' ) . '</strong> ' . $caution_msg,
array(
'type' => 'warning',
'id' => 'message',
)
);
?>
<div id="message" class="notice notice-warning"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo $caution_msg; ?></p></div>
<table class="form-table comment-ays">
<tr>
@@ -294,7 +282,7 @@ switch ( $action ) {
comment_footer_die( __( 'Sorry, you are not allowed to edit comments on this post.' ) );
}
if ( wp_get_referer() && ! $noredir && ! str_contains( wp_get_referer(), 'comment.php' ) ) {
if ( wp_get_referer() && ! $noredir && false === strpos( wp_get_referer(), 'comment.php' ) ) {
$redir = wp_get_referer();
} elseif ( wp_get_original_referer() && ! $noredir ) {
$redir = wp_get_original_referer();

View File

@@ -1,107 +0,0 @@
<?php
/**
* Contribute administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
// Used in the HTML title tag.
$title = __( 'Get Involved' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
<h1>
<?php _e( 'Get Involved' ); ?>
</h1>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-main.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<p><?php _e( 'Do you use WordPress for work, for personal projects, or even just for fun? You can help shape the long-term success of the open source project that powers millions of websites around the world.' ); ?></p>
<p><?php _e( 'Join the diverse WordPress contributor community and connect with other people who are passionate about maintaining a free and open web.' ); ?></p>
<ul>
<li><?php _e( 'Be part of a global open source community.' ); ?></li>
<li><?php _e( 'Apply your skills or learn new ones.' ); ?></li>
<li><?php _e( 'Grow your network and make friends.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'No-code contribution' ); ?></h3>
<p><?php _e( 'WordPress may thrive on technical contributions, but you don&#8217;t have to code to contribute. Here are some of the ways you can make an impact without writing a single line of code:' ); ?></p>
<ul>
<li><?php _e( '<strong>Share</strong> your knowledge in the WordPress support forums.' ); ?></li>
<li><?php _e( '<strong>Write</strong> or improve documentation for WordPress.' ); ?></li>
<li><?php _e( '<strong>Translate</strong> WordPress into your local language.' ); ?></li>
<li><?php _e( '<strong>Create</strong> and improve WordPress educational materials.' ); ?></li>
<li><?php _e( '<strong>Promote</strong> the WordPress project to your community.' ); ?></li>
<li><?php _e( '<strong>Curate</strong> submissions or take photos for the Photo Directory.' ); ?></li>
<li><?php _e( '<strong>Organize</strong> or participate in local Meetups and WordCamps.' ); ?></li>
<li><?php _e( '<strong>Lend</strong> your creative imagination to the WordPress UI design.' ); ?></li>
<li><?php _e( '<strong>Edit</strong> videos and add captions to WordPress.tv.' ); ?></li>
<li><?php _e( '<strong>Explore</strong> ways to reduce the environmental impact of websites.' ); ?></li>
</ul>
</div>
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-no-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Code-based contribution' ); ?></h3>
<p><?php _e( 'If you do code, or want to learn how, you can contribute technically in numerous ways:' ); ?></p>
<ul>
<li><?php _e( '<strong>Find</strong> and report bugs in the WordPress core software.' ); ?></li>
<li><?php _e( '<strong>Test</strong> new releases and proposed features for the Block Editor.' ); ?></li>
<li><?php _e( '<strong>Write</strong> and submit patches to fix bugs or help build new features.' ); ?></li>
<li><?php _e( '<strong>Contribute</strong> to the code, improve the UX, and test the WordPress app.' ); ?></li>
</ul>
<p><?php _e( 'WordPress embraces new technologies, while being committed to backward compatibility. The WordPress project uses the following languages and libraries:' ); ?></p>
<ul>
<li><?php _e( 'WordPress Core and Block Editor: HTML, CSS, PHP, SQL, JavaScript, and React.' ); ?></li>
<li><?php _e( 'WordPress app: Kotlin, Java, Swift, Objective-C, Vue, Python, and TypeScript.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section is-feature has-accent-4-background-color">
<div class="column">
<h2><?php _e( 'Shape the future of the web with WordPress' ); ?></h2>
<p><?php _e( 'Finding the area that aligns with your skills and interests is the first step toward meaningful contribution. With more than 20 Make WordPress teams working on different parts of the open source WordPress project, there&#8217;s a place for everyone, no matter what your skill set is.' ); ?></p>
<p><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
</div>
</div>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';

View File

@@ -28,18 +28,25 @@ $credits = wp_credits();
</h1>
</div>
<div class="about__header-text"></div>
<div class="about__header-text">
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s was created by a worldwide team of passionate individuals' ),
$display_version
);
?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section has-1-column has-gutters">
<div class="about__section has-1-column">
<div class="column aligncenter">
<?php if ( ! $credits ) : ?>
@@ -52,7 +59,7 @@ $credits = wp_credits();
);
?>
<br />
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php else : ?>
@@ -60,7 +67,7 @@ $credits = wp_credits();
<p>
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<br />
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php endif; ?>
@@ -75,7 +82,7 @@ if ( ! $credits ) {
}
?>
<hr class="is-large" />
<hr />
<div class="about__section">
<div class="column is-edge-to-edge">

View File

@@ -2,13 +2,12 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 Global: About, Credits, Freedoms, Privacy
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
4.0 Privacy Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
@@ -22,18 +21,16 @@
.about__container {
/* Section backgrounds */
--background: #EAE9E7;
--subtle-background: #EAE9E7;
--background: transparent;
--subtle-background: #f0f0f0;
/* Main text color */
--text: #1e1e1e;
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #3858e9; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -45,22 +42,20 @@
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 - Global: About, Credits, Freedoms, Privacy
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php,
.contribute-php {
.privacy-php {
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent,
.contribute-php #wpcontent {
.privacy-php #wpcontent {
background: #fff;
padding: 0 24px;
}
@@ -69,8 +64,7 @@
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
.privacy-php.auto-fold #wpcontent {
padding-right: 24px;
}
}
@@ -106,16 +100,17 @@
}
.about__section {
background: transparent;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: var(--accent-2);
background-color: var(--accent-1);
color: var(--text-light);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
.about__container .has-accent-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -123,7 +118,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -143,7 +138,7 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
@@ -154,9 +149,9 @@
padding-bottom: var(--gap);
}
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
.about__section .column[class*="background-color"],
.about__section:where([class*="background-color"]) .column,
.about__section .column.has-border {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
@@ -215,7 +210,7 @@
.about__section.has-gutters {
gap: var(--gap);
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) * 2);
}
.about__section.has-2-columns {
@@ -230,19 +225,76 @@
grid-template-columns: 3fr 2fr;
}
.about__section .is-section-header {
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
grid-column-end: -1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
@@ -253,11 +305,13 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
@@ -305,6 +359,29 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
@@ -312,8 +389,10 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
@@ -375,6 +454,7 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
@@ -396,14 +476,6 @@
line-height: 1.4;
}
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.6;
}
.about__container p {
font-size: inherit;
line-height: inherit;
@@ -417,14 +489,14 @@
}
.about__section a {
color: var(--text);
color: var(--accent-1);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--text);
color: var(--accent-1);
text-decoration: none;
}
@@ -444,7 +516,7 @@
}
.about__container li {
margin-bottom: 0.5rem;
margin-bottom: 0.75rem;
}
.about__container img {
@@ -473,28 +545,27 @@
margin-left: auto;
}
.about__container .about__image svg {
vertical-align: middle;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
.about__container .column .about__image {
margin-bottom: calc(var(--gap) / 2);
}
.about__container hr {
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-3);
}
.about__container hr.is-small {
margin-top: 0;
margin-bottom: 0;
height: calc(var(--gap) / 4);
}
.about__container hr.is-large {
margin: var(--gap) auto;
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
}
.about__container div.updated,
@@ -512,11 +583,6 @@
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
@@ -532,37 +598,45 @@
/* 1.3 - Header */
.about__header {
--about-header-image-width: 521px;
--about-header-image-height: 504px;
--about-header-bg-width: var(--about-header-image-width);
--about-header-bg-height: var(--about-header-image-height);
--about-header-bg-offset-inline: calc(var(--gap) * -2);
position: relative;
display: flex;
flex-direction: column;
align-items: start;
justify-content: end;
box-sizing: border-box;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
color: var(--text-light);
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: left 7% center, top right;
background-color: var(--background);
margin-bottom: var(--gap);
padding-top: 0;
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 {
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
--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?ver=6.0');
background-position: left var(--about-header-bg-offset-inline) top var(--gap);
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
--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?ver=6.0');
background-position: left var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
--about-header-image-width: 277px;
--about-header-image-height: 361px;
--about-header-bg-offset-inline: var(--gap);
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
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 {
@@ -571,37 +645,44 @@
.about__header-title {
box-sizing: border-box;
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
max-width: 55%;
margin: 0 var(--gap) 0 0;
padding: 8rem 0 0;
padding-left: calc(var(--about-header-bg-width) + var(--about-header-bg-offset-inline) + var(--gap));
}
.credits-php .about__header-title,
.privacy-php .about__header-title {
padding-top: 6rem;
}
.freedoms-php .about__header-title {
padding-top: 3rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 20vw - 9rem, 4rem);
font-size: clamp(3rem, 18.46vw - 8.08rem, 6rem);
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 10vw - 3rem, 4rem);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 26em;
margin: 0 auto;
padding: 0;
margin: 0 0 9rem;
padding: 0 2rem 0 0;
padding-left: calc(var(--about-header-bg-width) + var(--about-header-bg-offset-inline) + var(--gap));
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.credits-php .about__header-text,
.privacy-php .about__header-text {
margin-bottom: 7rem;
}
.freedoms-php .about__header-text {
margin-bottom: 6rem;
}
.about__header-navigation {
@@ -610,7 +691,6 @@
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
@@ -650,18 +730,14 @@
}
@media screen and (max-width: 960px) {
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
.about__header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.7);
--about-header-bg-height: calc(var(--about-header-image-height) * 0.7);
--about-header-bg-offset-inline: calc(var(--gap) * -1);
}
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
.about__header-title h1 {
font-size: clamp(3rem, 18.46vw - 5.08rem, 6rem);
}
}
@@ -682,6 +758,8 @@
.about__header-text {
margin-top: 0;
margin-left: 0;
padding-right: calc(var(--gap) / 2);
}
.about__header-navigation .nav-tab {
@@ -693,25 +771,34 @@
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
}
.about__header,
.credits-php .about__header,
.freedoms-php .about__header,
.privacy-php .about__header,
.contribute-php .about__header {
.freedoms-php .about__header {
background-image: none;
}
.about__header-title,
.about__header-text {
padding-left: calc(var(--gap) / 2) !important;
}
.about__header-title h1 {
font-size: clamp(2rem, 11.43vw - 0.29rem, 4rem);
}
}
@media screen and (max-width: 480px) {
.about__header-title p {
font-size: 2.4em;
}
.about__header-title {
padding-top: 2rem;
}
.about__header-text {
margin-right: calc(var(--gap) / 2);
margin-left: calc(var(--gap) / 2);
margin-bottom: 2rem;
}
.about__header-navigation {
@@ -738,7 +825,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2 - 10px);
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
@@ -753,7 +840,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: calc(var(--gap) - 10px);
margin-bottom: var(--gap);
width: 25%;
text-align: center;
}
@@ -770,12 +857,14 @@
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
@@ -785,10 +874,8 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
@@ -856,19 +943,7 @@
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-right: auto;
margin-left: auto;
max-width: 25rem;
max-height: 140px;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,13 +1,12 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 Global: About, Credits, Freedoms, Privacy
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
4.0 Privacy Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
@@ -21,18 +20,16 @@
.about__container {
/* Section backgrounds */
--background: #EAE9E7;
--subtle-background: #EAE9E7;
--background: transparent;
--subtle-background: #f0f0f0;
/* Main text color */
--text: #1e1e1e;
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #3858e9; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -44,22 +41,20 @@
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
1.0 - Global: About, Credits, Freedoms, Privacy
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php,
.contribute-php {
.privacy-php {
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent,
.contribute-php #wpcontent {
.privacy-php #wpcontent {
background: #fff;
padding: 0 24px;
}
@@ -68,8 +63,7 @@
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
.privacy-php.auto-fold #wpcontent {
padding-left: 24px;
}
}
@@ -105,16 +99,17 @@
}
.about__section {
background: transparent;
background: var(--background);
clear: both;
}
.about__container .has-accent-background-color {
background-color: var(--accent-2);
background-color: var(--accent-1);
color: var(--text-light);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
.about__container .has-accent-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -122,7 +117,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -142,7 +137,7 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
@@ -153,9 +148,9 @@
padding-bottom: var(--gap);
}
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
.about__section .column[class*="background-color"],
.about__section:where([class*="background-color"]) .column,
.about__section .column.has-border {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
@@ -214,7 +209,7 @@
.about__section.has-gutters {
gap: var(--gap);
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) * 2);
}
.about__section.has-2-columns {
@@ -229,19 +224,76 @@
grid-template-columns: 3fr 2fr;
}
.about__section .is-section-header {
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
grid-column-end: -1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
@@ -252,11 +304,13 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
@@ -304,6 +358,29 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
@@ -311,8 +388,10 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
@@ -374,6 +453,7 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
@@ -395,14 +475,6 @@
line-height: 1.4;
}
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 600;
line-height: 1.6;
}
.about__container p {
font-size: inherit;
line-height: inherit;
@@ -416,14 +488,14 @@
}
.about__section a {
color: var(--text);
color: var(--accent-1);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--text);
color: var(--accent-1);
text-decoration: none;
}
@@ -443,7 +515,7 @@
}
.about__container li {
margin-bottom: 0.5rem;
margin-bottom: 0.75rem;
}
.about__container img {
@@ -472,28 +544,27 @@
margin-right: auto;
}
.about__container .about__image svg {
vertical-align: middle;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
.about__container .column .about__image {
margin-bottom: calc(var(--gap) / 2);
}
.about__container hr {
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-3);
}
.about__container hr.is-small {
margin-top: 0;
margin-bottom: 0;
height: calc(var(--gap) / 4);
}
.about__container hr.is-large {
margin: var(--gap) auto;
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
}
.about__container div.updated,
@@ -511,11 +582,6 @@
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
@@ -531,37 +597,45 @@
/* 1.3 - Header */
.about__header {
--about-header-image-width: 521px;
--about-header-image-height: 504px;
--about-header-bg-width: var(--about-header-image-width);
--about-header-bg-height: var(--about-header-image-height);
--about-header-bg-offset-inline: calc(var(--gap) * -2);
position: relative;
display: flex;
flex-direction: column;
align-items: start;
justify-content: end;
box-sizing: border-box;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
color: var(--text-light);
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: right 7% center, top left;
background-color: var(--background);
margin-bottom: var(--gap);
padding-top: 0;
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 {
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
--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?ver=6.0');
background-position: right var(--about-header-bg-offset-inline) top var(--gap);
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
--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?ver=6.0');
background-position: right var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
--about-header-image-width: 277px;
--about-header-image-height: 361px;
--about-header-bg-offset-inline: var(--gap);
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
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 {
@@ -570,37 +644,44 @@
.about__header-title {
box-sizing: border-box;
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
max-width: 55%;
margin: 0 0 0 var(--gap);
padding: 8rem 0 0;
padding-right: calc(var(--about-header-bg-width) + var(--about-header-bg-offset-inline) + var(--gap));
}
.credits-php .about__header-title,
.privacy-php .about__header-title {
padding-top: 6rem;
}
.freedoms-php .about__header-title {
padding-top: 3rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 20vw - 9rem, 4rem);
font-size: clamp(3rem, 18.46vw - 8.08rem, 6rem);
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 10vw - 3rem, 4rem);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 26em;
margin: 0 auto;
padding: 0;
margin: 0 0 9rem;
padding: 0 0 0 2rem;
padding-right: calc(var(--about-header-bg-width) + var(--about-header-bg-offset-inline) + var(--gap));
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.credits-php .about__header-text,
.privacy-php .about__header-text {
margin-bottom: 7rem;
}
.freedoms-php .about__header-text {
margin-bottom: 6rem;
}
.about__header-navigation {
@@ -609,7 +690,6 @@
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
@@ -649,18 +729,14 @@
}
@media screen and (max-width: 960px) {
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
.about__header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.7);
--about-header-bg-height: calc(var(--about-header-image-height) * 0.7);
--about-header-bg-offset-inline: calc(var(--gap) * -1);
}
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
.about__header-title h1 {
font-size: clamp(3rem, 18.46vw - 5.08rem, 6rem);
}
}
@@ -681,6 +757,8 @@
.about__header-text {
margin-top: 0;
margin-right: 0;
padding-left: calc(var(--gap) / 2);
}
.about__header-navigation .nav-tab {
@@ -692,25 +770,34 @@
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
}
.about__header,
.credits-php .about__header,
.freedoms-php .about__header,
.privacy-php .about__header,
.contribute-php .about__header {
.freedoms-php .about__header {
background-image: none;
}
.about__header-title,
.about__header-text {
padding-right: calc(var(--gap) / 2) !important;
}
.about__header-title h1 {
font-size: clamp(2rem, 11.43vw - 0.29rem, 4rem);
}
}
@media screen and (max-width: 480px) {
.about__header-title p {
font-size: 2.4em;
}
.about__header-title {
padding-top: 2rem;
}
.about__header-text {
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
margin-bottom: 2rem;
}
.about__header-navigation {
@@ -737,7 +824,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2 - 10px);
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
@@ -752,7 +839,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: calc(var(--gap) - 10px);
margin-bottom: var(--gap);
width: 25%;
text-align: center;
}
@@ -769,12 +856,14 @@
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
@@ -784,10 +873,8 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
@@ -855,19 +942,7 @@
.about__section .column .freedom-image {
margin-bottom: var(--gap);
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 25rem;
max-height: 140px;
}

File diff suppressed because one or more lines are too long

View File

@@ -37,21 +37,108 @@
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px;
margin: -6px -8px 0 0;
float: right;
}
/* New Menu icons */
.icon16:before {
color: #8c8f94; /* same as new icons */
font: normal 20px/1 dashicons;
speak: never;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
@@ -428,7 +515,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;

File diff suppressed because one or more lines are too long

View File

@@ -36,21 +36,108 @@
width: 36px;
}
.icon16 {
height: 18px;
width: 18px;
padding: 6px;
margin: -6px 0 0 -8px;
float: left;
}
/* New Menu icons */
.icon16:before {
color: #8c8f94; /* same as new icons */
font: normal 20px/1 dashicons;
speak: never;
padding: 6px 0;
height: 34px;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all .1s ease-in-out;
}
.icon16.icon-dashboard:before {
content: "\f226";
}
.icon16.icon-post:before {
content: "\f109";
}
.icon16.icon-media:before {
content: "\f104";
}
.icon16.icon-links:before {
content: "\f103";
}
.icon16.icon-page:before {
content: "\f105";
}
.icon16.icon-comments:before {
content: "\f101";
margin-top: 1px;
}
.icon16.icon-appearance:before {
content: "\f100";
}
.icon16.icon-plugins:before {
content: "\f106";
}
.icon16.icon-users:before {
content: "\f110";
}
.icon16.icon-tools:before {
content: "\f107";
}
.icon16.icon-settings:before {
content: "\f108";
}
.icon16.icon-site:before {
content: "\f541";
}
.icon16.icon-generic:before {
content: "\f111";
}
/* hide background-image for icons above */
.icon16.icon-dashboard,
.menu-icon-dashboard div.wp-menu-image,
.icon16.icon-post,
.menu-icon-post div.wp-menu-image,
.icon16.icon-media,
.menu-icon-media div.wp-menu-image,
.icon16.icon-links,
.menu-icon-links div.wp-menu-image,
.icon16.icon-page,
.menu-icon-page div.wp-menu-image,
.icon16.icon-comments,
.menu-icon-comments div.wp-menu-image,
.icon16.icon-appearance,
.menu-icon-appearance div.wp-menu-image,
.icon16.icon-plugins,
.menu-icon-plugins div.wp-menu-image,
.icon16.icon-users,
.menu-icon-users div.wp-menu-image,
.icon16.icon-tools,
.menu-icon-tools div.wp-menu-image,
.icon16.icon-settings,
.menu-icon-settings div.wp-menu-image,
.icon16.icon-site,
.menu-icon-site div.wp-menu-image,
.icon16.icon-generic,
.menu-icon-generic div.wp-menu-image {
background-image: none !important;
}
@@ -427,7 +514,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
display: inline-block;

File diff suppressed because one or more lines are too long

View File

@@ -2,10 +2,6 @@
@import 'variables';
@import 'mixins';
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
@function url-friendly-colour( $color ) {
@return '%23' + str-slice( '#{ $color }', 2, -1 );
}
@@ -354,7 +350,6 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: $menu-bubble-text;
@@ -786,3 +781,20 @@ div#wp-responsive-toggle a:before {
color: $link;
}
}
/* Welcome Panel */
.welcome-panel {
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"] {
background-color: $dashboard-icon-background;
}

View File

@@ -65,9 +65,8 @@ $menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
// Dashboard Colors
$custom-welcome-panel: "true" !default;
$dashboard-accent-1: $menu-submenu-background !default;
$dashboard-accent-2: $menu-background !default;
$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

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e1a948;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
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: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e1a948;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
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: #096484;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -171,7 +167,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
/* List tables */
@@ -200,7 +196,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -313,7 +308,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#collapse-button:hover,
@@ -338,7 +333,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -382,7 +377,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -417,12 +412,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -558,7 +553,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -571,7 +566,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
/* TinyMCE */
@@ -674,4 +669,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #c7a589;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #f8f4f1;
}
.welcome-panel-header-image .about-six {
fill: #c7a589;
}
.welcome-panel-header-image .about-zero {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: #59524c;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -171,7 +167,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
/* List tables */
@@ -200,7 +196,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -313,7 +308,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#collapse-button:hover,
@@ -338,7 +333,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -382,7 +377,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -417,12 +412,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -558,7 +553,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -571,7 +566,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(27.6923076923, 7%, 95%);
color: hsl(27.6923076923deg, 7%, 95%);
}
/* TinyMCE */
@@ -674,4 +669,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #c7a589;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #f8f4f1;
}
.welcome-panel-header-image .about-six {
fill: #c7a589;
}
.welcome-panel-header-image .about-zero {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: #59524c;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #a3b745;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #f4f6e9;
}
.welcome-panel-header-image .about-six {
fill: #a3b745;
}
.welcome-panel-header-image .about-zero {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: #523f6d;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #a3b745;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #f4f6e9;
}
.welcome-panel-header-image .about-six {
fill: #a3b745;
}
.welcome-panel-header-image .about-zero {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: #523f6d;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f5f5f5;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -709,6 +704,23 @@ div#wp-responsive-toggle a:before {
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
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: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f5f5f5;
}
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -709,6 +704,23 @@ div#wp-responsive-toggle a:before {
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
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: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {

File diff suppressed because one or more lines are too long

View File

@@ -18,8 +18,7 @@ $menu-submenu-background: #fff;
$menu-collapse-text: #777;
$menu-collapse-focus-icon: #555;
$dashboard-accent-1: $highlight-color;
$dashboard-accent-2: desaturate( lighten( $highlight-color, 7% ), 15% );
$dashboard-accent-2: $icon-color;
$dashboard-icon-background: $text-color;
@import "../_admin.scss";

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
/* TinyMCE */
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e14d43;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
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: #e14d43;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(206.6666666667, 7%, 95%);
color: hsl(206.6666666667deg, 7%, 95%);
}
/* TinyMCE */
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #e14d43;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
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: #e14d43;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,6 @@ $base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
$dashboard-accent-2: mix($base-color, $notification-color, 90%);
$dashboard-icon-background: $highlight-color;
@import "../_admin.scss";

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #3858e9;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
/* TinyMCE */
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #3858e9;
color: #3858e9;
}
/* Welcome Panel */
.welcome-panel {
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: #1d2327;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #3858e9;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(0, 7%, 95%);
color: hsl(0deg, 7%, 95%);
}
/* TinyMCE */
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #3858e9;
color: #3858e9;
}
/* Welcome Panel */
.welcome-panel {
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: #1d2327;
}

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -674,4 +669,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #9ebaa0;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #f3f7f4;
}
.welcome-panel-header-image .about-six {
fill: #9ebaa0;
}
.welcome-panel-header-image .about-zero {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: #738e96;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -296,7 +292,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -674,4 +669,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #9ebaa0;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #f3f7f4;
}
.welcome-panel-header-image .about-six {
fill: #9ebaa0;
}
.welcome-panel-header-image .about-zero {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: #738e96;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
/* TinyMCE */
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #dd823b;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #fbf0e7;
}
.welcome-panel-header-image .about-six {
fill: #dd823b;
}
.welcome-panel-header-image .about-zero {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: #cf4944;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,10 +3,6 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
@@ -192,7 +188,7 @@ textarea:focus {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#adminmenu a:hover,
@@ -329,7 +325,6 @@ ul#adminmenu > li.current > a.current:after {
}
/* Admin Menu: bubble */
#adminmenu .menu-counter,
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
color: #fff;
@@ -346,7 +341,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#collapse-button:hover,
@@ -371,7 +366,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
@@ -415,7 +410,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
@@ -450,12 +445,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
@@ -591,7 +586,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
@@ -604,7 +599,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(2.1582733813, 7%, 95%);
color: hsl(2.1582733813deg, 7%, 95%);
}
/* TinyMCE */
@@ -707,4 +702,21 @@ div#wp-responsive-toggle a:before {
.wp-core-ui.wp-customizer .theme-overlay .theme-header .close:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .close:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .right:hover, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:focus, .wp-core-ui.wp-customizer .theme-overlay .theme-header .left:hover {
border-bottom-color: #dd823b;
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #fbf0e7;
}
.welcome-panel-header-image .about-six {
fill: #dd823b;
}
.welcome-panel-header-image .about-zero {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: #cf4944;
}

File diff suppressed because one or more lines are too long

View File

@@ -139,32 +139,24 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-right: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
right: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
@@ -197,6 +189,7 @@ p.popular-tags,
.wp-editor-container,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@@ -209,6 +202,7 @@ p.popular-tags,
.widgets-holder-wrap,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
background: #fff;
}
@@ -559,14 +553,6 @@ code {
margin-right: 0;
}
.js-update-details-toggle .dashicons {
text-decoration: none;
}
.js-update-details-toggle[aria-expanded="true"] .dashicons::before {
content: "\f142";
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
@@ -587,6 +573,10 @@ code {
margin: 10px 2px 0 20px;
}
.wrap.block-editor-no-js {
padding-right: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
@@ -625,26 +615,20 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
display: inline-block;
position: relative;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-shadow: none;
top: -3px;
margin-right: 4px;
padding: 4px 8px;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
font-weight: 400;
line-height: 2.15384615;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
background: #f6f7f7;
cursor: pointer;
}
.wrap .wp-heading-inline + .page-title-action {
@@ -966,7 +950,6 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
@@ -1097,6 +1080,7 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
@@ -1591,9 +1575,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-left: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -3046,17 +3027,11 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
@@ -4079,7 +4054,6 @@ img {
}
.wp-filter .search-form input[type="search"] {
width: 100%;
font-size: 1rem;
}
@@ -4133,16 +4107,9 @@ img {
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
}
@media screen and (max-width: 480px) {
.metabox-prefs-container {
display: grid;
}
.metabox-prefs-container > * {
display: inline-block;
padding: 2px;
.wp-filter .search-form input[type="search"] {
width: 100%;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -138,32 +138,24 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-left: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
left: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
@@ -196,6 +188,7 @@ p.popular-tags,
.wp-editor-container,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
@@ -208,6 +201,7 @@ p.popular-tags,
.widgets-holder-wrap,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
background: #fff;
}
@@ -558,14 +552,6 @@ code {
margin-left: 0;
}
.js-update-details-toggle .dashicons {
text-decoration: none;
}
.js-update-details-toggle[aria-expanded="true"] .dashicons::before {
content: "\f142";
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
@@ -586,6 +572,10 @@ code {
margin: 10px 20px 0 2px;
}
.wrap.block-editor-no-js {
padding-left: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
@@ -624,26 +614,20 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
display: inline-block;
position: relative;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-shadow: none;
top: -3px;
margin-left: 4px;
padding: 4px 8px;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
font-weight: 400;
line-height: 2.15384615;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
background: #f6f7f7;
cursor: pointer;
}
.wrap .wp-heading-inline + .page-title-action {
@@ -965,7 +949,6 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
@@ -1096,6 +1079,7 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
@@ -1590,9 +1574,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-right: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -3045,17 +3026,11 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
@@ -4078,7 +4053,6 @@ img {
}
.wp-filter .search-form input[type="search"] {
width: 100%;
font-size: 1rem;
}
@@ -4132,16 +4106,9 @@ img {
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
}
@media screen and (max-width: 480px) {
.metabox-prefs-container {
display: grid;
}
.metabox-prefs-container > * {
display: inline-block;
padding: 2px;
.wp-filter .search-form input[type="search"] {
width: 100%;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -473,6 +473,7 @@ body.trashing #publish-settings {
height: 20px;
cursor: pointer;
box-shadow: none;
-webkit-appearance: none;
background: transparent;
color: #50575e;
border: none;
@@ -2319,7 +2320,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: left; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px 5px;
padding: 10px 25px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
@@ -2328,6 +2329,13 @@ p.customize-section-description {
margin-right: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
right: 15px; /* these override themes.css on mobile */
left: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}

File diff suppressed because one or more lines are too long

View File

@@ -472,6 +472,7 @@ body.trashing #publish-settings {
height: 20px;
cursor: pointer;
box-shadow: none;
-webkit-appearance: none;
background: transparent;
color: #50575e;
border: none;
@@ -2318,7 +2319,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px 5px;
padding: 10px 25px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
@@ -2327,6 +2328,13 @@ p.customize-section-description {
margin-left: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
left: 15px; /* these override themes.css on mobile */
right: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}

File diff suppressed because one or more lines are too long

View File

@@ -121,7 +121,7 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #151515;
background-color: #e7ebfd;
font-size: 14px;
line-height: 1.3;
clear: both;
@@ -147,35 +147,29 @@
}
.welcome-panel-header {
--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;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
left: 0;
position: absolute;
top: -1rem;
left: var(--about-header-bg-offset-inline);
bottom: 0;
right: 0;
z-index: 0 !important;
overflow: hidden;
width: var(--about-header-bg-width);
height: auto;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
height: auto;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
.welcome-panel-header a {
color: inherit;
position: relative;
z-index: 1;
}
.welcome-panel-header a:focus,
@@ -215,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: #fff972;
color: #2271b1;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -252,6 +246,7 @@
max-width: 1500px;
width: 100%;
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 {
@@ -270,16 +265,13 @@
[class*="welcome-panel-icon"] {
height: 60px;
width: 60px;
background-color: #1d2327;
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
border-radius: 100%;
}
.welcome-panel-column > svg {
margin-top: 4px;
}
.welcome-panel-column {
display: grid;
grid-template-columns: min-content 1fr;
@@ -559,10 +551,6 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-left: 10px;
@@ -894,32 +882,31 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
margin: 8px -12px 0 -12px;
clear: both;
margin-bottom: 0;
}
#future-posts li,
#published-posts li {
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
margin-bottom: 8px;
}
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-left: 5px;
min-width: 150px;
color: #646970;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px 6px -12px;
margin: 0 -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {
@@ -1200,8 +1187,7 @@ a.rsswidget {
padding-left: 6px;
}
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #d63638;
}
@@ -1213,13 +1199,12 @@ a.rsswidget {
margin: 12px 0;
}
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
#dashboard_php_nag h3 {
font-weight: 600;
}
.bigger-bolder-text {
font-weight: 600;
font-size: 14px;
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
/* =Media Queries
@@ -1366,13 +1351,21 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}
@media screen and (max-width: 782px) {
.welcome-panel-header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.4);
--about-header-bg-offset-inline: 1rem;
}
.welcome-panel-header-image {
top: 2rem;
}
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
@@ -1463,8 +1456,7 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -120,7 +120,7 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #151515;
background-color: #e7ebfd;
font-size: 14px;
line-height: 1.3;
clear: both;
@@ -146,35 +146,29 @@
}
.welcome-panel-header {
--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;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
right: 0;
position: absolute;
top: -1rem;
right: var(--about-header-bg-offset-inline);
bottom: 0;
left: 0;
z-index: 0 !important;
overflow: hidden;
width: var(--about-header-bg-width);
height: auto;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
height: auto;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
.welcome-panel-header a {
color: inherit;
position: relative;
z-index: 1;
}
.welcome-panel-header a:focus,
@@ -214,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: #fff972;
color: #2271b1;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -251,6 +245,7 @@
max-width: 1500px;
width: 100%;
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 {
@@ -269,16 +264,13 @@
[class*="welcome-panel-icon"] {
height: 60px;
width: 60px;
background-color: #1d2327;
background-position: center;
background-size: 24px 24px;
background-repeat: no-repeat;
border-radius: 100%;
}
.welcome-panel-column > svg {
margin-top: 4px;
}
.welcome-panel-column {
display: grid;
grid-template-columns: min-content 1fr;
@@ -558,10 +550,6 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-right: 10px;
@@ -893,32 +881,31 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
margin: 8px -12px 0 -12px;
clear: both;
margin-bottom: 0;
}
#future-posts li,
#published-posts li {
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
margin-bottom: 8px;
}
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-right: 5px;
min-width: 150px;
color: #646970;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px 6px -12px;
margin: 0 -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {
@@ -1199,8 +1186,7 @@ a.rsswidget {
padding-right: 6px;
}
#dashboard_php_nag.php-no-security-updates .dashicons-warning,
#dashboard_php_nag.php-version-lower-than-future-minimum .dashicons-warning {
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #d63638;
}
@@ -1212,13 +1198,12 @@ a.rsswidget {
margin: 12px 0;
}
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
#dashboard_php_nag h3 {
font-weight: 600;
}
.bigger-bolder-text {
font-weight: 600;
font-size: 14px;
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
/* =Media Queries
@@ -1365,13 +1350,21 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}
@media screen and (max-width: 782px) {
.welcome-panel-header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.4);
--about-header-bg-offset-inline: 1rem;
}
.welcome-panel-header-image {
top: 2rem;
}
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
@@ -1462,8 +1455,7 @@ a.rsswidget {
grid-template-columns: 1fr;
}
[class*="welcome-panel-icon"],
.welcome-panel-column > svg {
[class*="welcome-panel-icon"] {
display: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -726,17 +726,6 @@ form#tags-filter {
padding-right: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 22px 15px 20px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
@@ -1069,10 +1058,6 @@ form#tags-filter {
padding: 0 8px 8px;
}
#postcustom #postcustomstuff .add-custom-field {
padding: 12px 8px 8px;
}
#side-sortables #postcustom #postcustomstuff .submit {
margin: 0;
padding: 0;
@@ -1123,8 +1108,7 @@ form#tags-filter {
width: auto;
}
#postcustomstuff #newmetaleft a,
#postcustomstuff #newmeta-button {
#postcustomstuff #newmetaleft a {
display: inline-block;
margin: 0 8px 8px;
text-decoration: none;

File diff suppressed because one or more lines are too long

View File

@@ -725,17 +725,6 @@ form#tags-filter {
padding-left: 0;
}
/* Better position for the WordPress admin notices. */
.privacy-settings .notice,
.site-health .notice {
margin: 25px 20px 15px 22px;
}
.privacy-settings .notice ~ .notice,
.site-health .notice ~ .notice {
margin-top: 5px;
}
/* Emulates .wrap h1 styling */
.privacy-settings-header h1,
.health-check-header h1 {
@@ -1068,10 +1057,6 @@ form#tags-filter {
padding: 0 8px 8px;
}
#postcustom #postcustomstuff .add-custom-field {
padding: 12px 8px 8px;
}
#side-sortables #postcustom #postcustomstuff .submit {
margin: 0;
padding: 0;
@@ -1122,8 +1107,7 @@ form#tags-filter {
width: auto;
}
#postcustomstuff #newmetaleft a,
#postcustomstuff #newmeta-button {
#postcustomstuff #newmetaleft a {
display: inline-block;
margin: 0 8px 8px;
text-decoration: none;

File diff suppressed because one or more lines are too long

View File

@@ -548,67 +548,10 @@ fieldset label,
.wp-generate-pw {
margin-top: 1em;
position: relative;
}
.wp-pwd button {
height: min-content;
}
.wp-pwd button.pwd-toggle .dashicons {
position: relative;
top: 0.25rem;
}
.wp-pwd {
margin-top: 1em;
position: relative;
}
.mailserver-pass-wrap .wp-pwd {
display: inline-block;
margin-top: 0;
}
/* rtl:ignore */
#mailserver_pass {
padding-right: 2.5rem;
}
/* rtl:ignore */
.mailserver-pass-wrap .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
box-shadow: none;
font-size: 14px;
line-height: 2;
width: 2.5rem;
min-width: 40px;
margin: 0;
padding: 0 9px;
position: absolute;
right: 0;
top: 0;
}
.mailserver-pass-wrap .button.wp-hide-pw:hover {
background: transparent;
border-color: transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:focus {
background: transparent;
border-color: #3582c4;
border-radius: 4px;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:active {
background: transparent;
box-shadow: none;
transform: none;
}
#misc-publishing-actions label {
@@ -651,10 +594,6 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper {
display: inline-block;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
@@ -733,7 +672,7 @@ input[type="text"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading {
background-image: url(../images/loading.gif);
background-repeat: no-repeat;
background-position: left 5px center;
background-position: left center;
visibility: visible;
}
@@ -838,12 +777,6 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@@ -953,7 +886,6 @@ table.form-table td .updated p {
#application-passwords-section .notice {
margin-top: 20px;
margin-bottom: 0;
word-wrap: break-word;
}
.application-password-display input.code {
@@ -1131,49 +1063,16 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
.options-general-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 6px 0 0 5px;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-left: 0;
}
.form-table.permalink-structure .structure-selection .row {
margin-bottom: 16px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 24px);
display: inline-flex;
flex-direction: column;
}
.form-table.permalink-structure .structure-selection .row label {
font-weight: 600;
}
.form-table.permalink-structure .structure-selection .row p {
margin-top: 0;
float: right;
margin-left: 5px;
}
/*------------------------------------------------------------------------------
@@ -1209,11 +1108,6 @@ table.form-table td .updated p {
max-width: 60%;
}
.configuration-rules-label {
font-weight: 600;
margin-bottom: 4px;
}
/*------------------------------------------------------------------------------
Credentials check dialog for Install and Updates
------------------------------------------------------------------------------*/
@@ -1645,15 +1539,13 @@ table.form-table td .updated p {
padding: 8px;
}
.password-input-wrapper {
display: block;
}
p.search-box {
float: none;
width: 100%;
position: absolute;
bottom: 0;
width: 98%;
height: 90px;
margin-bottom: 20px;
display: flex;
}
p.search-box input[name="s"] {
@@ -1685,20 +1577,14 @@ table.form-table td .updated p {
}
.form-table.permalink-structure td code {
margin-right: 32px;
display: inline-block;
}
.form-table.permalink-structure .structure-selection {
margin-top: 8px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 36px);
width: 100%;
}
.form-table.permalink-structure td input[type="text"] {
margin-right: 32px;
margin-top: 4px;
width: 96%;
}
.form-table input.regular-text {
@@ -1709,11 +1595,6 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}
@@ -1722,6 +1603,13 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}
@@ -1756,10 +1644,6 @@ table.form-table td .updated p {
left: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
left: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@@ -1781,24 +1665,10 @@ table.form-table td .updated p {
padding-left: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-left: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}
.mailserver-pass-wrap .wp-pwd {
display: block;
}
/* rtl:ignore */
#mailserver_pass {
padding-left: 10px;
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@@ -547,67 +547,10 @@ fieldset label,
.wp-generate-pw {
margin-top: 1em;
position: relative;
}
.wp-pwd button {
height: min-content;
}
.wp-pwd button.pwd-toggle .dashicons {
position: relative;
top: 0.25rem;
}
.wp-pwd {
margin-top: 1em;
position: relative;
}
.mailserver-pass-wrap .wp-pwd {
display: inline-block;
margin-top: 0;
}
/* rtl:ignore */
#mailserver_pass {
padding-right: 2.5rem;
}
/* rtl:ignore */
.mailserver-pass-wrap .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
box-shadow: none;
font-size: 14px;
line-height: 2;
width: 2.5rem;
min-width: 40px;
margin: 0;
padding: 0 9px;
position: absolute;
right: 0;
top: 0;
}
.mailserver-pass-wrap .button.wp-hide-pw:hover {
background: transparent;
border-color: transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:focus {
background: transparent;
border-color: #3582c4;
border-radius: 4px;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:active {
background: transparent;
box-shadow: none;
transform: none;
}
#misc-publishing-actions label {
@@ -650,10 +593,6 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper {
display: inline-block;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
@@ -732,7 +671,7 @@ input[type="text"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading {
background-image: url(../images/loading.gif);
background-repeat: no-repeat;
background-position: right 5px center;
background-position: right center;
visibility: visible;
}
@@ -837,12 +776,6 @@ ul#add-to-blog-users {
.form-table p.timezone-info {
margin: 1em 0;
display: flex;
flex-direction: column;
}
#local-time {
margin-top: 0.5em;
}
.form-table td fieldset label {
@@ -952,7 +885,6 @@ table.form-table td .updated p {
#application-passwords-section .notice {
margin-top: 20px;
margin-bottom: 0;
word-wrap: break-word;
}
.application-password-display input.code {
@@ -1130,49 +1062,16 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
.options-general-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
vertical-align: middle;
}
.form-table.permalink-structure .available-structure-tags {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
margin: 6px 5px 0 0;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-right: 0;
}
.form-table.permalink-structure .structure-selection .row {
margin-bottom: 16px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 24px);
display: inline-flex;
flex-direction: column;
}
.form-table.permalink-structure .structure-selection .row label {
font-weight: 600;
}
.form-table.permalink-structure .structure-selection .row p {
margin-top: 0;
float: left;
margin-right: 5px;
}
/*------------------------------------------------------------------------------
@@ -1208,11 +1107,6 @@ table.form-table td .updated p {
max-width: 60%;
}
.configuration-rules-label {
font-weight: 600;
margin-bottom: 4px;
}
/*------------------------------------------------------------------------------
Credentials check dialog for Install and Updates
------------------------------------------------------------------------------*/
@@ -1644,15 +1538,13 @@ table.form-table td .updated p {
padding: 8px;
}
.password-input-wrapper {
display: block;
}
p.search-box {
float: none;
width: 100%;
position: absolute;
bottom: 0;
width: 98%;
height: 90px;
margin-bottom: 20px;
display: flex;
}
p.search-box input[name="s"] {
@@ -1684,20 +1576,14 @@ table.form-table td .updated p {
}
.form-table.permalink-structure td code {
margin-left: 32px;
display: inline-block;
}
.form-table.permalink-structure .structure-selection {
margin-top: 8px;
}
.form-table.permalink-structure .structure-selection .row > div {
max-width: calc(100% - 36px);
width: 100%;
}
.form-table.permalink-structure td input[type="text"] {
margin-left: 32px;
margin-top: 4px;
width: 96%;
}
.form-table input.regular-text {
@@ -1708,11 +1594,6 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}
@@ -1721,6 +1602,13 @@ table.form-table td .updated p {
display: block;
}
#utc-time,
#local-time {
display: block;
float: none;
margin-top: 0.5em;
}
.form-field #domain {
max-width: none;
}
@@ -1755,10 +1643,6 @@ table.form-table td .updated p {
right: 2.5rem;
}
body.user-new-php .wp-pwd button.wp-hide-pw {
right: 0;
}
.wp-pwd button.button:hover,
.wp-pwd button.button:focus {
background: transparent;
@@ -1780,24 +1664,10 @@ table.form-table td .updated p {
padding-right: 5rem;
}
body.user-new-php .wp-pwd [type="text"],
body.user-new-php .wp-pwd [type="password"] {
padding-right: 2.5rem;
}
.wp-cancel-pw .dashicons-no {
display: inline-block;
}
.mailserver-pass-wrap .wp-pwd {
display: block;
}
/* rtl:ignore */
#mailserver_pass {
padding-left: 10px;
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
margin: 0;

File diff suppressed because one or more lines are too long

View File

@@ -132,7 +132,7 @@ textarea {
font-size: 14px;
text-align: right;
padding: 10px 0 10px 20px;
width: 115px;
width: 140px;
vertical-align: top;
}
@@ -146,30 +146,12 @@ textarea {
font-size: 11px;
}
.form-table .setup-description {
margin: 4px 0 0;
line-height: 1.6;
}
.form-table input {
line-height: 1.33333333;
font-size: 15px;
padding: 3px 5px;
}
.wp-pwd {
margin-top: 0;
}
.form-table .wp-pwd {
display: flex;
column-gap: 4px;
}
.form-table .password-input-wrapper {
width: 100%;
}
input,
submit {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -180,7 +162,7 @@ submit {
.form-table input[type=url],
.form-table input[type=password],
#pass-strength-result {
width: 100%;
width: 218px;
}
.form-table th p {
@@ -305,10 +287,6 @@ body.rtl,
box-sizing: border-box;
}
#pwd {
padding-left: 2.5rem;
}
.wp-pwd #pass1 {
padding-left: 50px;
}

File diff suppressed because one or more lines are too long

View File

@@ -131,7 +131,7 @@ textarea {
font-size: 14px;
text-align: left;
padding: 10px 20px 10px 0;
width: 115px;
width: 140px;
vertical-align: top;
}
@@ -145,30 +145,12 @@ textarea {
font-size: 11px;
}
.form-table .setup-description {
margin: 4px 0 0;
line-height: 1.6;
}
.form-table input {
line-height: 1.33333333;
font-size: 15px;
padding: 3px 5px;
}
.wp-pwd {
margin-top: 0;
}
.form-table .wp-pwd {
display: flex;
column-gap: 4px;
}
.form-table .password-input-wrapper {
width: 100%;
}
input,
submit {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -179,7 +161,7 @@ submit {
.form-table input[type=url],
.form-table input[type=password],
#pass-strength-result {
width: 100%;
width: 218px;
}
.form-table th p {
@@ -304,10 +286,6 @@ body.rtl,
box-sizing: border-box;
}
#pwd {
padding-right: 2.5rem;
}
.wp-pwd #pass1 {
padding-right: 50px;
}

File diff suppressed because one or more lines are too long

View File

@@ -462,64 +462,50 @@ table.media .column-title .filename {
width: 160px;
}
.sorting-indicators {
display: grid;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 4px;
margin-top: 8px;
margin-right: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
right: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #a7aaad;
color: #3c434a;
}
.sorting-indicator.asc:before {
.column-comments .sorting-indicator:before {
top: 0;
right: -10px;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
content: "\f142";
}
.sorting-indicator.desc:before {
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
content: "\f140";
}
th.sorted.desc .sorting-indicator.desc:before {
color: #1d2327;
}
th.sorted.asc .sorting-indicator.asc:before {
color: #1d2327;
}
th.sorted.asc a:focus .sorting-indicator.asc:before,
th.sorted.asc:hover .sorting-indicator.asc:before,
th.sorted.desc a:focus .sorting-indicator.desc:before,
th.sorted.desc:hover .sorting-indicator.desc:before {
color: #a7aaad;
}
th.sorted.asc a:focus .sorting-indicator.desc:before,
th.sorted.asc:hover .sorting-indicator.desc:before,
th.sorted.desc a:focus .sorting-indicator.asc:before,
th.sorted.desc:hover .sorting-indicator.asc:before {
color: #1d2327;
}
.wp-list-table .toggle-row {
position: absolute;
left: 8px;
@@ -567,35 +553,6 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
content: "\f142";
}
.check-column {
position: relative;
}
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
right: 0;
}
.check-column input {
position: relative;
z-index: 1;
}
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-right: 6px;
@@ -635,6 +592,10 @@ tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
@@ -662,6 +623,14 @@ th.sorted a span {
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 0 0 2px;
font-size: 13px;
@@ -1376,7 +1345,7 @@ ul.cat-checklist {
}
.plugins tr.paused th.check-column {
border-right: 4px solid #b32d2e;
border-right: 4px solid #d63638;
}
.plugins tr.paused th,
@@ -1386,7 +1355,7 @@ ul.cat-checklist {
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #b32d2e;
color: #d63638;
}
.plugins .paused .error-display p,
@@ -1396,7 +1365,7 @@ ul.cat-checklist {
}
.plugins .resume-link {
color: #b32d2e;
color: #d63638;
}
.plugin-card .update-now:before {
@@ -1404,11 +1373,11 @@ ul.cat-checklist {
content: "\f463";
display: inline-block;
font: normal 20px/1 dashicons;
margin: -3px -2px 0 5px;
margin: 3px -2px 0 5px;
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
vertical-align: top;
}
.plugin-card .updating-message:before {
@@ -1430,17 +1399,6 @@ ul.cat-checklist {
content: "\f147";
}
.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
}
.plugin-install-php .plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.plugin-install-php h2 {
clear: both;
}
@@ -1668,7 +1626,6 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
@@ -1796,15 +1753,6 @@ div.action-links,
display: none;
}
.tablenav.bottom .actions select {
margin-bottom: 5px;
}
.tablenav.bottom .actions.alignleft + .actions.alignleft {
clear: right;
margin-top: 10px;
}
.tablenav.bottom .tablenav-pages.one-page {
margin-top: 15px;
height: 0;

File diff suppressed because one or more lines are too long

View File

@@ -461,64 +461,50 @@ table.media .column-title .filename {
width: 160px;
}
.sorting-indicators {
display: grid;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 4px;
margin-top: 8px;
margin-left: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
left: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #a7aaad;
color: #3c434a;
}
.sorting-indicator.asc:before {
.column-comments .sorting-indicator:before {
top: 0;
left: -10px;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
content: "\f142";
}
.sorting-indicator.desc:before {
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
content: "\f140";
}
th.sorted.desc .sorting-indicator.desc:before {
color: #1d2327;
}
th.sorted.asc .sorting-indicator.asc:before {
color: #1d2327;
}
th.sorted.asc a:focus .sorting-indicator.asc:before,
th.sorted.asc:hover .sorting-indicator.asc:before,
th.sorted.desc a:focus .sorting-indicator.desc:before,
th.sorted.desc:hover .sorting-indicator.desc:before {
color: #a7aaad;
}
th.sorted.asc a:focus .sorting-indicator.desc:before,
th.sorted.asc:hover .sorting-indicator.desc:before,
th.sorted.desc a:focus .sorting-indicator.asc:before,
th.sorted.desc:hover .sorting-indicator.asc:before {
color: #1d2327;
}
.wp-list-table .toggle-row {
position: absolute;
right: 8px;
@@ -566,35 +552,6 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
content: "\f142";
}
.check-column {
position: relative;
}
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
}
.check-column input {
position: relative;
z-index: 1;
}
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-left: 6px;
@@ -634,6 +591,10 @@ tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
@@ -661,6 +622,14 @@ th.sorted a span {
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 2px 0 0;
font-size: 13px;
@@ -1375,7 +1344,7 @@ ul.cat-checklist {
}
.plugins tr.paused th.check-column {
border-left: 4px solid #b32d2e;
border-left: 4px solid #d63638;
}
.plugins tr.paused th,
@@ -1385,7 +1354,7 @@ ul.cat-checklist {
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #b32d2e;
color: #d63638;
}
.plugins .paused .error-display p,
@@ -1395,7 +1364,7 @@ ul.cat-checklist {
}
.plugins .resume-link {
color: #b32d2e;
color: #d63638;
}
.plugin-card .update-now:before {
@@ -1403,11 +1372,11 @@ ul.cat-checklist {
content: "\f463";
display: inline-block;
font: normal 20px/1 dashicons;
margin: -3px 5px 0 -2px;
margin: 3px 5px 0 -2px;
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
vertical-align: top;
}
.plugin-card .updating-message:before {
@@ -1429,17 +1398,6 @@ ul.cat-checklist {
content: "\f147";
}
.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
}
.plugin-install-php .plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.plugin-install-php h2 {
clear: both;
}
@@ -1667,7 +1625,6 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
@@ -1795,15 +1752,6 @@ div.action-links,
display: none;
}
.tablenav.bottom .actions select {
margin-bottom: 5px;
}
.tablenav.bottom .actions.alignleft + .actions.alignleft {
clear: left;
margin-top: 10px;
}
.tablenav.bottom .tablenav-pages.one-page {
margin-top: 15px;
height: 0;

File diff suppressed because one or more lines are too long

View File

@@ -43,8 +43,8 @@ p {
}
.login .message,
.login .notice,
.login .success {
.login .success,
.login #login_error {
border-right: 4px solid #72aee6;
padding: 12px;
margin-right: 0;
@@ -58,19 +58,10 @@ p {
border-right-color: #00a32a;
}
/* Match border color from common.css */
.login .notice-error {
.login #login_error {
border-right-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
@@ -247,11 +238,6 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
@@ -357,7 +343,9 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input {
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
padding-left: 2.5rem;
}
@@ -367,8 +355,6 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;
@@ -452,7 +438,8 @@ input::-ms-reveal {
height: auto;
}
.login .language-switcher .button {
.login .language-switcher .button-primary {
float: none;
margin-bottom: 0;
}
@@ -486,7 +473,7 @@ input::-ms-reveal {
}
@media screen and (max-width: 400px) {
.login .language-switcher .button {
.login .language-switcher .button-primary {
display: block;
margin: 5px auto 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -42,8 +42,8 @@ p {
}
.login .message,
.login .notice,
.login .success {
.login .success,
.login #login_error {
border-left: 4px solid #72aee6;
padding: 12px;
margin-left: 0;
@@ -57,19 +57,10 @@ p {
border-left-color: #00a32a;
}
/* Match border color from common.css */
.login .notice-error {
.login #login_error {
border-left-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
@@ -246,11 +237,6 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
@@ -356,7 +342,9 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input {
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
padding-right: 2.5rem;
}
@@ -366,8 +354,6 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;
@@ -451,7 +437,8 @@ input::-ms-reveal {
height: auto;
}
.login .language-switcher .button {
.login .language-switcher .button-primary {
float: none;
margin-bottom: 0;
}
@@ -485,7 +472,7 @@ input::-ms-reveal {
}
@media screen and (max-width: 400px) {
.login .language-switcher .button {
.login .language-switcher .button-primary {
display: block;
margin: 5px auto 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -131,7 +131,6 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
@@ -193,7 +192,7 @@
.media-item .original {
position: relative;
min-height: 34px;
height: 34px;
}
.media-item .progress {
@@ -585,7 +584,7 @@ border color while dragging a file over the uploader drop area */
margin-top: 0;
}
.media-frame-content .media-search-input-label {
.media-search-input-label {
margin: 0 0 0 .2em;
vertical-align: baseline;
}
@@ -783,8 +782,8 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame input,
.edit-attachment-frame textarea {
padding: 4px 8px;
line-height: 1.42857143;
padding: 6px 8px;
line-height: 1.14285714;
}
.edit-attachment-frame .attachment-info {
@@ -851,11 +850,6 @@ border color while dragging a file over the uploader drop area */
margin-bottom: 5px;
}
.wp_attachment_details #attachment_alt {
max-width: 500px;
height: 3.28571428em;
}
.wp_attachment_details .attachment-alt-text-description {
margin-top: 5px;
}
@@ -879,16 +873,16 @@ border color while dragging a file over the uploader drop area */
padding-top: 10px;
}
.image-editor p,
.image-editor fieldset {
.imgedit-settings p,
.imgedit-settings fieldset {
margin: 8px 0;
}
.image-editor legend {
.imgedit-settings legend {
margin-bottom: 5px;
}
.describe .imgedit-wrap .image-editor {
.describe .imgedit-wrap .imgedit-settings {
padding: 0 5px;
}
@@ -900,31 +894,19 @@ border color while dragging a file over the uploader drop area */
height: auto;
}
.imgedit-panel-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: right;
padding: 3px 0 0 16px;
min-width: 400px;
max-width: calc( 100% - 266px );
}
.imgedit-settings {
max-width: 400px; /* Prevent reflow when help info is expanded. */
}
.imgedit-group-controls > * {
display: none;
}
.imgedit-panel-active .imgedit-group-controls > * {
display: block;
}
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: left;
width: 250px;
}
.image-editor input {
.imgedit-settings input {
margin-top: 0;
vertical-align: middle;
}
@@ -959,7 +941,7 @@ border color while dragging a file over the uploader drop area */
}
.media-disabled,
.image-editor .disabled {
.imgedit-settings .disabled {
/* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a7aaad;
@@ -983,6 +965,10 @@ border color while dragging a file over the uploader drop area */
float: right;
}
.imgedit-menu {
margin: 0 0 12px;
}
.imgedit-menu .note-no-rotate {
clear: both;
margin: 0;
@@ -995,10 +981,10 @@ border color while dragging a file over the uploader drop area */
min-height: 28px;
font-size: 13px;
line-height: 2;
margin: 0 0 8px 8px;
padding: 0 10px;
}
.imgedit-menu .button:after,
.imgedit-menu .button:before {
font: normal 16px/1 dashicons;
margin-left: 8px;
@@ -1010,16 +996,6 @@ border color while dragging a file over the uploader drop area */
-moz-osx-font-smoothing: grayscale;
}
.imgedit-menu .imgedit-rotate.button:after {
content: '\f140';
margin-right: 2px;
margin-left: 0;
}
.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
content: '\f142';
}
.imgedit-menu .button.disabled {
color: #a7aaad;
border-color: #dcdcde;
@@ -1034,14 +1010,22 @@ border color while dragging a file over the uploader drop area */
content: "\f165";
}
.imgedit-scale:before {
content: "\f211";
.imgedit-rleft:before {
content: "\f166";
}
.imgedit-rotate:before {
.imgedit-rright:before {
content: "\f167";
}
.imgedit-flipv:before {
content: "\f168";
}
.imgedit-fliph:before {
content: "\f169";
}
.imgedit-undo:before {
content: "\f171";
}
@@ -1060,19 +1044,23 @@ border color while dragging a file over the uploader drop area */
background-size: 20px 20px;
}
.imgedit-crop-wrap {
padding: 20px;
background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 100% 0, 10px 10px;
background-size: 20px 20px;
}
.imgedit-crop {
margin: 0 0 0 8px;
}
.imgedit-rotate {
.imgedit-rleft {
margin: 0 3px;
}
.imgedit-rright {
margin: 0 3px 0 8px;
}
.imgedit-flipv {
margin: 0 3px;
}
.imgedit-fliph {
margin: 0 3px 0 8px;
}
@@ -1084,12 +1072,6 @@ border color while dragging a file over the uploader drop area */
margin: 0 3px 0 8px;
}
.imgedit-thumbnail-preview-group {
display: flex;
flex-wrap: wrap;
column-gap: 10px;
}
.imgedit-thumbnail-preview {
margin: 10px 0 0 8px;
}
@@ -1116,41 +1098,11 @@ border color while dragging a file over the uploader drop area */
padding: .5em 0 0;
}
.imgedit-popup-menu,
.imgedit-help {
display: none;
padding-bottom: 8px;
}
.imgedit-panel-tools > .imgedit-menu {
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {
width: calc( 100% - 20px );
position: absolute;
background: #fff;
padding: 10px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.image-editor .imgedit-menu .imgedit-popup-menu button {
display: block;
margin: 2px 0;
width: 100%;
white-space: break-spaces;
line-height: 1.5;
padding-top: 3px;
padding-bottom: 2px;
}
.imgedit-rotate-menu-container {
position: relative;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
@@ -1183,6 +1135,10 @@ border color while dragging a file over the uploader drop area */
padding: 0;
}
.imgedit-submit {
margin: 8px 0 0;
}
.imgedit-submit-btn {
margin-right: 20px;
}
@@ -1194,11 +1150,8 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
display: flex;
align-items: center;
margin: 4px;
gap: 4px;
color: #b32d2e;
color: #d63638;
font-size: 20px;
font-style: normal;
visibility: hidden;
vertical-align: middle;
@@ -1213,19 +1166,17 @@ span.imgedit-scale-warn {
}
.imgedit-group {
margin-bottom: 20px;
margin-bottom: 8px;
padding: 10px;
}
.image-editor .imgedit-original-dimensions {
.imgedit-settings .imgedit-original-dimensions {
display: inline-block;
}
.image-editor .imgedit-scale-controls input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"],
.image-editor .imgedit-scale-controls input[type="number"],
.image-editor .imgedit-crop-ratio input[type="number"],
.image-editor .imgedit-crop-sel input[type="number"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 80px;
font-size: 14px;
padding: 0 8px;
@@ -1239,12 +1190,12 @@ span.imgedit-scale-warn {
color: #3c434a;
}
.image-editor .imgedit-scale-button-wrapper {
.imgedit-settings .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.image-editor .imgedit-scale-controls .button {
.imgedit-settings .imgedit-scale .button {
margin-bottom: 0;
}
@@ -1281,24 +1232,11 @@ audio, video {
}
@media screen and (max-width: 782px) {
.edit-attachment-frame input,
.edit-attachment-frame textarea {
line-height: 1.5;
}
.wp_attachment_details label[for="content"] {
font-size: 14px;
line-height: 1.5;
}
.wp_attachment_details textarea {
line-height: 1.5;
}
.wp_attachment_details #attachment_alt {
height: 3.375em;
}
.media-upload-form .media-item.error,
.media-upload-form .media-item .error {
font-size: 13px;
@@ -1313,15 +1251,15 @@ audio, video {
padding: 10px 12px 10px 0;
}
.image-editor .imgedit-scale input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
font-size: 16px;
padding: 6px 10px;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: none;
width: auto;
max-width: none;
@@ -1338,16 +1276,16 @@ audio, video {
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .image-editor {
.media-modal .imgedit-wrap .imgedit-settings {
position: initial !important;
}
.media-modal .imgedit-wrap .image-editor {
.media-modal .imgedit-wrap .imgedit-settings {
box-sizing: border-box;
width: 100% !important;
}
.image-editor .imgedit-scale-button-wrapper {
.imgedit-settings .imgedit-scale-button-wrapper {
display: inline-block;
}
}
@@ -1361,6 +1299,7 @@ audio, video {
/**
* Media queries for media grid.
*/
@media only screen and (max-width: 1120px) {
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
@@ -1368,17 +1307,6 @@ audio, video {
}
}
@media only screen and (max-width: 1000px) {
/* override for forms.css */
.wp-filter p.search-box {
float: none;
width: 100%;
margin-bottom: 20px;
display: flex;
}
}
@media only screen and (max-width: 782px) {
.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
top: 46px;

File diff suppressed because one or more lines are too long

View File

@@ -130,7 +130,6 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
@@ -192,7 +191,7 @@
.media-item .original {
position: relative;
min-height: 34px;
height: 34px;
}
.media-item .progress {
@@ -584,7 +583,7 @@ border color while dragging a file over the uploader drop area */
margin-top: 0;
}
.media-frame-content .media-search-input-label {
.media-search-input-label {
margin: 0 .2em 0 0;
vertical-align: baseline;
}
@@ -782,8 +781,8 @@ border color while dragging a file over the uploader drop area */
.edit-attachment-frame input,
.edit-attachment-frame textarea {
padding: 4px 8px;
line-height: 1.42857143;
padding: 6px 8px;
line-height: 1.14285714;
}
.edit-attachment-frame .attachment-info {
@@ -850,11 +849,6 @@ border color while dragging a file over the uploader drop area */
margin-bottom: 5px;
}
.wp_attachment_details #attachment_alt {
max-width: 500px;
height: 3.28571428em;
}
.wp_attachment_details .attachment-alt-text-description {
margin-top: 5px;
}
@@ -878,16 +872,16 @@ border color while dragging a file over the uploader drop area */
padding-top: 10px;
}
.image-editor p,
.image-editor fieldset {
.imgedit-settings p,
.imgedit-settings fieldset {
margin: 8px 0;
}
.image-editor legend {
.imgedit-settings legend {
margin-bottom: 5px;
}
.describe .imgedit-wrap .image-editor {
.describe .imgedit-wrap .imgedit-settings {
padding: 0 5px;
}
@@ -899,31 +893,19 @@ border color while dragging a file over the uploader drop area */
height: auto;
}
.imgedit-panel-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: left;
padding: 3px 16px 0 0;
min-width: 400px;
max-width: calc( 100% - 266px );
}
.imgedit-settings {
max-width: 400px; /* Prevent reflow when help info is expanded. */
}
.imgedit-group-controls > * {
display: none;
}
.imgedit-panel-active .imgedit-group-controls > * {
display: block;
}
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: right;
width: 250px;
}
.image-editor input {
.imgedit-settings input {
margin-top: 0;
vertical-align: middle;
}
@@ -958,7 +940,7 @@ border color while dragging a file over the uploader drop area */
}
.media-disabled,
.image-editor .disabled {
.imgedit-settings .disabled {
/* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a7aaad;
@@ -982,6 +964,10 @@ border color while dragging a file over the uploader drop area */
float: left;
}
.imgedit-menu {
margin: 0 0 12px;
}
.imgedit-menu .note-no-rotate {
clear: both;
margin: 0;
@@ -994,10 +980,10 @@ border color while dragging a file over the uploader drop area */
min-height: 28px;
font-size: 13px;
line-height: 2;
margin: 0 8px 8px 0;
padding: 0 10px;
}
.imgedit-menu .button:after,
.imgedit-menu .button:before {
font: normal 16px/1 dashicons;
margin-right: 8px;
@@ -1009,16 +995,6 @@ border color while dragging a file over the uploader drop area */
-moz-osx-font-smoothing: grayscale;
}
.imgedit-menu .imgedit-rotate.button:after {
content: '\f140';
margin-left: 2px;
margin-right: 0;
}
.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
content: '\f142';
}
.imgedit-menu .button.disabled {
color: #a7aaad;
border-color: #dcdcde;
@@ -1033,14 +1009,22 @@ border color while dragging a file over the uploader drop area */
content: "\f165";
}
.imgedit-scale:before {
content: "\f211";
.imgedit-rleft:before {
content: "\f166";
}
.imgedit-rotate:before {
.imgedit-rright:before {
content: "\f167";
}
.imgedit-flipv:before {
content: "\f168";
}
.imgedit-fliph:before {
content: "\f169";
}
.imgedit-undo:before {
content: "\f171";
}
@@ -1059,19 +1043,23 @@ border color while dragging a file over the uploader drop area */
background-size: 20px 20px;
}
.imgedit-crop-wrap {
padding: 20px;
background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 0 0, 10px 10px;
background-size: 20px 20px;
}
.imgedit-crop {
margin: 0 8px 0 0;
}
.imgedit-rotate {
.imgedit-rleft {
margin: 0 3px;
}
.imgedit-rright {
margin: 0 8px 0 3px;
}
.imgedit-flipv {
margin: 0 3px;
}
.imgedit-fliph {
margin: 0 8px 0 3px;
}
@@ -1083,12 +1071,6 @@ border color while dragging a file over the uploader drop area */
margin: 0 8px 0 3px;
}
.imgedit-thumbnail-preview-group {
display: flex;
flex-wrap: wrap;
column-gap: 10px;
}
.imgedit-thumbnail-preview {
margin: 10px 8px 0 0;
}
@@ -1115,41 +1097,11 @@ border color while dragging a file over the uploader drop area */
padding: .5em 0 0;
}
.imgedit-popup-menu,
.imgedit-help {
display: none;
padding-bottom: 8px;
}
.imgedit-panel-tools > .imgedit-menu {
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {
width: calc( 100% - 20px );
position: absolute;
background: #fff;
padding: 10px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.image-editor .imgedit-menu .imgedit-popup-menu button {
display: block;
margin: 2px 0;
width: 100%;
white-space: break-spaces;
line-height: 1.5;
padding-top: 3px;
padding-bottom: 2px;
}
.imgedit-rotate-menu-container {
position: relative;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
@@ -1182,6 +1134,10 @@ border color while dragging a file over the uploader drop area */
padding: 0;
}
.imgedit-submit {
margin: 8px 0 0;
}
.imgedit-submit-btn {
margin-left: 20px;
}
@@ -1193,11 +1149,8 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
display: flex;
align-items: center;
margin: 4px;
gap: 4px;
color: #b32d2e;
color: #d63638;
font-size: 20px;
font-style: normal;
visibility: hidden;
vertical-align: middle;
@@ -1212,19 +1165,17 @@ span.imgedit-scale-warn {
}
.imgedit-group {
margin-bottom: 20px;
margin-bottom: 8px;
padding: 10px;
}
.image-editor .imgedit-original-dimensions {
.imgedit-settings .imgedit-original-dimensions {
display: inline-block;
}
.image-editor .imgedit-scale-controls input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"],
.image-editor .imgedit-scale-controls input[type="number"],
.image-editor .imgedit-crop-ratio input[type="number"],
.image-editor .imgedit-crop-sel input[type="number"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 80px;
font-size: 14px;
padding: 0 8px;
@@ -1238,12 +1189,12 @@ span.imgedit-scale-warn {
color: #3c434a;
}
.image-editor .imgedit-scale-button-wrapper {
.imgedit-settings .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.image-editor .imgedit-scale-controls .button {
.imgedit-settings .imgedit-scale .button {
margin-bottom: 0;
}
@@ -1280,24 +1231,11 @@ audio, video {
}
@media screen and (max-width: 782px) {
.edit-attachment-frame input,
.edit-attachment-frame textarea {
line-height: 1.5;
}
.wp_attachment_details label[for="content"] {
font-size: 14px;
line-height: 1.5;
}
.wp_attachment_details textarea {
line-height: 1.5;
}
.wp_attachment_details #attachment_alt {
height: 3.375em;
}
.media-upload-form .media-item.error,
.media-upload-form .media-item .error {
font-size: 13px;
@@ -1312,15 +1250,15 @@ audio, video {
padding: 10px 0 10px 12px;
}
.image-editor .imgedit-scale input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"] {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
font-size: 16px;
padding: 6px 10px;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
.wp_attachment_holder .imgedit-wrap .image-editor {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: none;
width: auto;
max-width: none;
@@ -1337,16 +1275,16 @@ audio, video {
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .image-editor {
.media-modal .imgedit-wrap .imgedit-settings {
position: initial !important;
}
.media-modal .imgedit-wrap .image-editor {
.media-modal .imgedit-wrap .imgedit-settings {
box-sizing: border-box;
width: 100% !important;
}
.image-editor .imgedit-scale-button-wrapper {
.imgedit-settings .imgedit-scale-button-wrapper {
display: inline-block;
}
}
@@ -1360,6 +1298,7 @@ audio, video {
/**
* Media queries for media grid.
*/
@media only screen and (max-width: 1120px) {
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
@@ -1367,17 +1306,6 @@ audio, video {
}
}
@media only screen and (max-width: 1000px) {
/* override for forms.css */
.wp-filter p.search-box {
float: none;
width: 100%;
margin-bottom: 20px;
display: flex;
}
}
@media only screen and (max-width: 782px) {
.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
top: 46px;

File diff suppressed because one or more lines are too long

View File

@@ -170,7 +170,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label {
input.bulk-select-switcher:focus + .bulk-select-button-label{
color: #0a4b78;
}
@@ -192,7 +192,9 @@ input.bulk-select-switcher:focus + .bulk-select-button-label {
}
.bulk-actions input.menu-items-delete.disabled {
display: none;
cursor: default;
color: #a7aaad;
box-shadow: none;
}
.menu-settings {
@@ -838,13 +840,20 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
display: flex;
align-items: center;
line-height: 2.15384615;
}
.nav-menus-php .major-publishing-actions > * {
margin-left: 10px;
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: left;
float: left;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: right;
line-height: 2.1;
}
.nav-menus-php .major-publishing-actions .form-invalid {

File diff suppressed because one or more lines are too long

View File

@@ -169,7 +169,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label {
input.bulk-select-switcher:focus + .bulk-select-button-label{
color: #0a4b78;
}
@@ -191,7 +191,9 @@ input.bulk-select-switcher:focus + .bulk-select-button-label {
}
.bulk-actions input.menu-items-delete.disabled {
display: none;
cursor: default;
color: #a7aaad;
box-shadow: none;
}
.menu-settings {
@@ -837,13 +839,20 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
display: flex;
align-items: center;
line-height: 2.15384615;
}
.nav-menus-php .major-publishing-actions > * {
margin-right: 10px;
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: right;
float: right;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: left;
line-height: 2.1;
}
.nav-menus-php .major-publishing-actions .form-invalid {

File diff suppressed because one or more lines are too long

View File

@@ -12,6 +12,10 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
text-align: center;
}
.site-health-progress-wrapper {
margin-bottom: 1rem;
}
@@ -281,6 +285,17 @@ are styled in the Privacy section of edit.css */
padding-right: 20px;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
margin: 5px 22px 15px 20px;
}
.site-health .update-nag {
margin-bottom: 20px;
margin-right: 22px;
}
.health-check-wp-paths-sizes.spinner {
visibility: visible;
float: none;
@@ -293,14 +308,6 @@ are styled in the Privacy section of edit.css */
padding-right: 16px;
}
#dashboard_site_health .site-health-details p:first-child {
margin-top: 0;
}
#dashboard_site_health .site-health-details p:last-child {
margin-bottom: 0;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
@@ -312,11 +319,6 @@ are styled in the Privacy section of edit.css */
margin-right: 0;
}
.health-check-widget-title-section {
margin-bottom: 0;
text-align: center;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;

File diff suppressed because one or more lines are too long

View File

@@ -11,6 +11,10 @@ are styled in the Privacy section of edit.css */
font-weight: 400;
}
.health-check-widget-title-section {
text-align: center;
}
.site-health-progress-wrapper {
margin-bottom: 1rem;
}
@@ -280,6 +284,17 @@ are styled in the Privacy section of edit.css */
padding-left: 20px;
}
/* Better position for the WordPress admin notices and update nag. */
.site-health .notice {
margin: 5px 20px 15px 22px;
}
.site-health .update-nag {
margin-bottom: 20px;
margin-left: 22px;
}
.health-check-wp-paths-sizes.spinner {
visibility: visible;
float: none;
@@ -292,14 +307,6 @@ are styled in the Privacy section of edit.css */
padding-left: 16px;
}
#dashboard_site_health .site-health-details p:first-child {
margin-top: 0;
}
#dashboard_site_health .site-health-details p:last-child {
margin-bottom: 0;
}
#dashboard_site_health .health-check-widget {
display: grid;
grid-template-columns: 1fr 2fr;
@@ -311,11 +318,6 @@ are styled in the Privacy section of edit.css */
margin-left: 0;
}
.health-check-widget-title-section {
margin-bottom: 0;
text-align: center;
}
@media screen and (max-width: 480px) {
#dashboard_site_health .health-check-widget {
grid-template-columns: 100%;

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