Compare commits

..

111 Commits
6.2 ... 5.9.3

Author SHA1 Message Date
audrasjb
a0a88fffe9 Tag 5.9.3
Built from https://develop.svn.wordpress.org/tags/5.9.3@53080


git-svn-id: http://core.svn.wordpress.org/tags/5.9.3@52669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-05 19:12:11 +00:00
audrasjb
80d4f5a4e2 WordPress 5.9.3.
Built from https://develop.svn.wordpress.org/branches/5.9@53079


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-05 19:08:04 +00:00
audrasjb
276e7dd132 Help/About: Update the About page with the correct number of bugfixes for WP 5.9.3.
See #55473.

Built from https://develop.svn.wordpress.org/branches/5.9@53078


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-05 14:44:04 +00:00
audrasjb
66f905f284 Help/About: Update the About page for WordPress 5.9.3.
Props audrasjb, SergeyBiryukov.
Fixes #55473.

Built from https://develop.svn.wordpress.org/branches/5.9@53073


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-05 10:34:03 +00:00
audrasjb
5a24eb1195 Post WordPress 5.9.3 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@53032


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-30 21:43:01 +00:00
audrasjb
2317a454f3 WordPress 5.9.3 RC1.
Built from https://develop.svn.wordpress.org/branches/5.9@53031


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-30 21:22:04 +00:00
audrasjb
64a00287bc Update WordPress packages for 5.9.3.
Updated packages:

- @wordpress/block-directory@3.0.29
- @wordpress/block-library@6.0.28
- @wordpress/customize-widgets@2.0.29
- @wordpress/edit-post@5.0.29
- @wordpress/edit-site@3.0.29
- @wordpress/edit-widgets@3.1.24

Props mamaduka, jorgefilipecosta.
Fixes #55474.

Built from https://develop.svn.wordpress.org/branches/5.9@53030


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-30 11:30:25 +00:00
audrasjb
035d87d2a1 Customizer: When a block theme is active, add an information about Site Editor in the Customizer.
This change adds an information notice to the customizer when a block theme is active and the customizer is also available (for example when a plugin activates it), to encourage people to use the Site Editor for the best full site customization experience.

Props ironprogrammer, antonvlasenko, Clorith, audrasjb, psmits1567, tobifjellner, costdev, webcommsat, joedolson, pbiron.
Merges [53024] and [53025] to the 5.9 branch.
Fixes #54939.

Built from https://develop.svn.wordpress.org/branches/5.9@53026


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 20:18:17 +00:00
audrasjb
d5e8989d9b Filesystem API: Include the ssh-ed25519 public key signature algorithm as an alternative to ssh-rsa.
The `ssh-rsa` signature algorithm is disabled by default as of OpenSSH 8.8, which breaks SSH2 uploads in WordPress on modern systems. `ssh-ed25519` is one of the suggested alternatives, supported since OpenSSH 6.5.

References:

- OpenSSH 8.2 release notes
- OpenSSH 8.7 release notes
- OpenSSH 8.8 release notes

Follow-up to [8865].

Props richybkreckel, dd32, SergeyBiryukov.
Merges [52807] to the 5.9 branch.
Fixes #52409.

Built from https://develop.svn.wordpress.org/branches/5.9@53022


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 16:30:12 +00:00
audrasjb
e4f842c54f Administration: Do not specify menu order for the Widgets menu when the active theme is a block theme.
When using a block theme that declares Widgets support, it's better to not specify a menu order for the Widgets menu to avoid conflicts between menu items order.

Props Rufus87, ironprogrammer, audrasjb, hellofromTonya, davidbaumwald.
Merges [53020] to the 5.9 branch.
Fixes #54916.

Built from https://develop.svn.wordpress.org/branches/5.9@53021


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 16:24:16 +00:00
audrasjb
5a1ccc718b Editor: Fix broken asset URLs when using WP outside of the regular directory
Both CSS and JS URLs were totally broken for some of the newer blocks (e.g. the navigation block in the 2022 theme) when WP core is outside of the current directory using a different prefix.

Props gziolo, SergeyBiryukov, pgpagely, Mamaduka.
Merges [52939] to the 5.9 branch.
Fixes #55311.

Built from https://develop.svn.wordpress.org/branches/5.9@53019


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 15:43:18 +00:00
audrasjb
400f27879d Editor: Change location of block support styles in wp_head.
Backports changes from https://github.com/WordPress/gutenberg/pull/39164.

Props ndiego, alexstine, cbravobernal, mamaduka.
Merges [53015] to the 5.9 branch.
See #55474.

Built from https://develop.svn.wordpress.org/branches/5.9@53017


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 13:49:16 +00:00
audrasjb
22061e9c67 Editor: Use wp_unique_id() instead of uniqid() to generate CSS class names.
Backports changes from https://github.com/WordPress/gutenberg/pull/38891.
See https://github.com/WordPress/gutenberg/issues/38889.

Props westonruter, mamaduka.
Merges [53012] to the 5.9 branch.
See #55474.

Built from https://develop.svn.wordpress.org/branches/5.9@53013


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 13:09:06 +00:00
audrasjb
e67da61255 Themes: Avoid undefined variable warning on get_svg_filters().
This change fixes an undefined variable warning thrown when `duotone` color setting was set to null in Block Themes `theme.json` file.

Follow-up to [52768].

Props aliakseyenkaihar, audrasjb, rafiahmedd.
Merges [52791] to the 5.9 branch.
Fixes #55241.

Built from https://develop.svn.wordpress.org/branches/5.9@53009


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 09:12:06 +00:00
audrasjb
0bed07cb1c Themes: Hide block themes live preview link following installation.
Prevent the Customizer/Live Preview button from showing for installed block themes when on the theme installation page.

Props antonvlasenko, costdev, ironprogrammer.
Merges [52819] to the 5.9 branch.
Fixes #54878.

Built from https://develop.svn.wordpress.org/branches/5.9@53008


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-29 08:55:13 +00:00
audrasjb
07855db0ee Media: Make get_post_galleries() only return galleries.
This change makes sure only gallery content is returned by `get_post_galleries()`. It fixes an issue where non gallery block content was also returned by the function.

Props BinaryMoon, costdev, glendaviesnz.
Merges [52797] to the 5.9 branch.
Fixes #55203.

Built from https://develop.svn.wordpress.org/branches/5.9@53006


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-28 20:52:06 +00:00
audrasjb
7d4e457cd4 Editor: Optimize preload paths for post and site editors.
This patch optimizes preload paths in post and site editors so that they match the real requests:

- Remove the `/` preload as the payload is very big and the response is not needed on any critical path.
- Modify the preloaded path for `/wp/v2/taxonomies` so that it corresponds to what `loadTaxonomyEntities` requests. After Gutenberg PR 37685 was merged to core, these preloads need to be modified to use `context=view` instead of `context=edit`.
- Modify the `/wp/v2/users/me` path so that it matches the real request (no query params).
- Add a preload of `/wp/v2/settings` because it is requested on critical path (editor boot). Site editor already preloads this, the changeset is only adding it to the post editor.

This is related to Gutenberg PR 39256 which introduces compatibility code to modify the preload paths with a filter, when the Gutenberg plugin is active.
See https://github.com/WordPress/gutenberg/pull/39256.

Props jsnajdr, noisysocks.
Merges [52995] to the 5.9 branch.

Built from https://develop.svn.wordpress.org/branches/5.9@53005


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-28 20:31:06 +00:00
Sergey Biryukov
2f4d408f06 Post WordPress 5.9.2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52920


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-11 02:33:03 +00:00
jorgefilipecosta
a8e3d2e0ad Block Editor: Improve Global Styles filtering order.
From the conceptual point it makes sense to execute global styles filters before post filters. So the post filters are always the last.

Props xknown, sergey, audrasjb, vortfu, oandregal, get_dave.
Merges [52895] to the 5.9 branch.
Built from https://develop.svn.wordpress.org/branches/5.9@52896


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 23:38:02 +00:00
jorgefilipecosta
61fbb2109f Update WordPress packages.
Updates the WordPress packages to their most recent patch versions.

Props xknown, sergey, audrasjb.
Built from https://develop.svn.wordpress.org/branches/5.9@52894


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 23:03:21 +00:00
audrasjb
7e32b3f2b0 WordPress 5.9.2.
Built from https://develop.svn.wordpress.org/branches/5.9@52874


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:02:03 +00:00
audrasjb
2753058dfa External Librairies: Update jQuery.query to version 2.2.3.
This updates the "jquery-query" library from version 2.1.7 to 2.2.3.

Props jorbin, peterwilsoncc, xknown, audrasjb, jorgefilipecosta.
Merges [52844] to the 5.9 branch.

Built from https://develop.svn.wordpress.org/branches/5.9@52845


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 19:20:05 +00:00
audrasjb
fcf2500f49 Themes: Remove the Live Preview link when installing a block theme from a zip archive.
This changeset removes the Live Preview link for block-based themes when installing for a zip archive, since the customizer is disabled by default for block themes.

Follow-up to [52353].

Props alanjacobmathew, hellofromTonya, antonvlasenko, ironprogrammer.
Fixes #54578.

Built from https://develop.svn.wordpress.org/branches/5.9@52803


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-26 08:29:03 +00:00
Sergey Biryukov
95c433c8cd Post WordPress 5.9.1 version bump.
The 5.9 branch is now 5.9.2-alpha.
Built from https://develop.svn.wordpress.org/branches/5.9@52788


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-22 16:07:01 +00:00
audrasjb
ef7f72daec WordPress 5.9.1.
Built from https://develop.svn.wordpress.org/branches/5.9@52786


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-22 15:17:04 +00:00
audrasjb
d687a49c78 Help/About: Update the About page for WordPress 5.9.1.
Props hellofromTonya, audrasjb.
Fixes #55173.

Built from https://develop.svn.wordpress.org/branches/5.9@52785


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-22 11:05:07 +00:00
audrasjb
46da16fae1 Twenty Twenty-Two: Bump theme version to 1.1.
This change bumps the version of the Twenty Twenty-Two bundled theme in preparation for release with WordPress 5.9.1.

Props peterwilsoncc, petaryoast, audrasjb, SergeyBiryukov, rafiahmedd.
Merges [52781] to the 5.9 branch.
Fixes #55056.

Built from https://develop.svn.wordpress.org/branches/5.9@52782


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-21 21:15:04 +00:00
audrasjb
08e4416dd5 Post WordPress 5.9.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52771


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 21:48:01 +00:00
audrasjb
2c2f8a21fd WordPress 5.9.1 RC1.
Built from https://develop.svn.wordpress.org/branches/5.9@52770


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 21:24:03 +00:00
hellofromTonya
614e78a804 Editor: Automatically apply global styles duotone filters to render in post editor.
Global styles duotone filters were not rendering in the post editor. This fixes that by adding `wp_global_styles_render_svg_filters` to the `in_admin_header` so it renders in the body before the editor.

Follow-up [52757].

Props ajlende, abhanonstopnewsuk.
Merges [52768] to the 5.9 branch.
Fixes #55190.
Built from https://develop.svn.wordpress.org/branches/5.9@52769


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 20:51:03 +00:00
hellofromTonya
f98ee7b892 Options: Disable transients while installing.
Prevent the transient setters and getters from attempting to use the database table before they exist during the installation process. 

During installation transients now use the `wp_cache_*()` functions on all sites, including those without a persistent cache, to prevent database errors. The use of the caching functions stores the data in memory for the duration of the request to account for transient data that is used multiple times during installation.

Props dd32, audrasjb, tnolte, antonvlasenko, noisysocks, peterwilsoncc.
Merges [52694] to the 5.9 branch.
Fixes #54849.
Built from https://develop.svn.wordpress.org/branches/5.9@52767


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 19:52:59 +00:00
audrasjb
a0cced6bba Editor: Update block editor packages for WordPress 5.9.1.
The following packages were updated:

- @wordpress/block-directory@3.0.27
- @wordpress/block-editor@8.0.17
- @wordpress/block-library@6.0.26
- @wordpress/components@19.2.3
- @wordpress/core-data@4.0.10
- @wordpress/customize-widgets@2.0.27
- @wordpress/e2e-tests@2.5.18
- @wordpress/edit-post@5.0.27
- @wordpress/edit-site@3.0.27
- @wordpress/edit-widgets@3.1.22
- @wordpress/editor@12.0.21
- @wordpress/format-library@3.0.23
- @wordpress/interface@4.1.18
- @wordpress/list-reusable-blocks@3.0.20
- @wordpress/nux@5.0.20
- @wordpress/reusable-blocks@3.0.23
- @wordpress/server-side-render@3.0.20
- @wordpress/widgets@2.0.23

Props Mamaduka.
Merges [52765] to the 5.9 branch.
See #55179.

Built from https://develop.svn.wordpress.org/branches/5.9@52766


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 19:42:26 +00:00
hellofromTonya
1a316fc555 Editor: Adds an additional check to guard against incompete presets.
Adds an additional guard to ensure the value of `$preset_metadata['value_key']` actually exists as a key in the `$preset` array. Fixes `Warning: Undefined array key` error. 

Intentionally adds the check into the existing `isset()` as it's native to PHP, more efficient, and a good pattern.

Follow-up [52049].

Props jeherve, swissspidy, sergeybiryukov, jrf.
Merges [52763] to the 5.9 branch.
Fixes #55161.
Built from https://develop.svn.wordpress.org/branches/5.9@52764


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 18:56:03 +00:00
hellofromTonya
93fbf22647 Script Loader: Prevent normalizing data URIs in _wp_normalize_relative_css_links().
This prevents making data URIs as in `mask-image:url('data:image/svg+xml;utf8,<svg...` relative to the WordPress installation.

Props staatic.
Merges [52754] to the 5.9 branch.
See #54243.
Fixes #55177.
Built from https://develop.svn.wordpress.org/branches/5.9@52762


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 18:00:00 +00:00
Sergey Biryukov
5b69c32e30 Filesystem API: Use a temp folder for Content-Disposition files.
#38231 added support for files fetched remotely to have their filename defined by the host using the `Content-Disposition` header. This would then take priority over the existing temporary file name created with `wp_tempnam()` earlier in the process.

The change unintentionally omitted the temporary directory path used during uploads, since the `wp_tempnam()` function would have added it previously, so that files with this header ended up being stored in the WordPress root folder, or wp-admin folder, when triggered by WP_Cron or user interactions respectively.

This change makes sure the file path includes the temporary directory location when the header is used.

Follow-up to [51939].

Props antonynz, azouamauriac, Clorith.
Merges [52734] and [52760] to the 5.9 branch.
Fixes #55109.
Built from https://develop.svn.wordpress.org/branches/5.9@52761


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 17:44:00 +00:00
audrasjb
affb772478 Editor: Backport Duotone fixes for 5.9.1.
This changeset is a backport for the following Gutenberg PRs:

- Fix duotone theme cache: https://github.com/WordPress/gutenberg/pull/36236
- Fix duotone render in non-fse themes gutenberg: https://github.com/WordPress/gutenberg/pull/37954
- Duotone: Allow users to specify custom filters gutenberg: https://github.com/WordPress/gutenberg/pull/38442

Props oandregal, scruffian, Mamaduka.
Merges [52757] to the 5.9 branch.
See #55179.

Built from https://develop.svn.wordpress.org/branches/5.9@52759


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 17:31:01 +00:00
audrasjb
0711ec9616 Docs: Typo corrections in class-wp-theme-json docblocks.
Props kebbet, hellofromtonya.
Merges [52692] to the 5.9 branch.
See #54729.

Built from https://develop.svn.wordpress.org/branches/5.9@52758


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 17:22:03 +00:00
hellofromTonya
18945d341b Editor: Grant only admins access to the "Navigation Menus" UI for block and non-block themes.
Restricts and grants access to only admin roles for the Navigation Menu UI screen, i.e. either directly through the URL wp-admin/edit.php?post_type=wp_navigation or via the Navigation block's "Manage menu" option (in the block's toolbar).

It resolves 2 issues:

- For non-block themes, fixes the issue where admins could not access the UI.
- For block themes, restricts access to only admin roles, i.e. non-admins no longer have access to the UI.

Non-admins will receive the "Sorry, you are not allowed to edit posts in this post type" error message.

Follow-up [52069], [52145], [52330], [52400].

Props ironprogrammer, costdev, noisysocks, talldanwp, hellofromTonya, manfcarlo, pyrobd.
Merges [52755] to the 5.9 branch.
Fixes #54889.
Built from https://develop.svn.wordpress.org/branches/5.9@52756


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 15:46:04 +00:00
jorgefilipecosta
be639d98c5 Global Styles: Load the global styles before the theme styles in the editor.
This commit makes the site editor follow what we do in the front-end, where theme styles are loaded after global styles by default.

Props oandregal, ntsekouras.
Merges [52752] to the 5.9 branch.
Fixes #55188.
Built from https://develop.svn.wordpress.org/branches/5.9@52753


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 14:19:04 +00:00
jorgefilipecosta
b9ccf1699b Global Styles: Fix PHP warning in WP_REST_Global_Styles_Controller if no styles exist.
There is a PHP warning in WP_REST_Global_Styles_Controller because we are assuming that every theme.json has styles property, which is not always the case.

Props ntsekouras.
Merges [52750] to the 5.9 branch.
Fixes #54900.
Built from https://develop.svn.wordpress.org/branches/5.9@52751


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 13:56:01 +00:00
jorgefilipecosta
c8d6cfeed9 Script Loader: Improvements to the load block support styles mechanism.
This commit applies feedback given to commit 52741. It changes the new function name, the file where it is located, and improves its documentation and marks.

Follow-up to [52741].
Props hellofromtonya, swissspidy, oandregal.
Merges [52743] to the 5.9 branch.
See #55148.
Built from https://develop.svn.wordpress.org/branches/5.9@52748


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 13:13:01 +00:00
jorgefilipecosta
c62ccfa0c2 Script Loader: Load block support styles in the head for block themes.
The dynamic block styles for layout and elements should be loaded in the head for block themes. While that should also be the case for classic themes, the current mechanism we use (render_block) does not allow us to do that, hence, this PR doesn't change anything for them and will be loaded the body.

Props oandregal, youknowriad, wpsoul.
Merges [52741] to the 5.9 branch.
Fixes #55148.
Built from https://develop.svn.wordpress.org/branches/5.9@52747


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 13:09:03 +00:00
audrasjb
db8abe34fd Themes: Allow extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes.
This change updates methods visibility from `private` to `protected` and adds late static binding.

Original PRs from Gutenberg repository:
- https://github.com/WordPress/gutenberg/pull/38625
- https://github.com/WordPress/gutenberg/pull/38671

Props oandregal, Mamaduka, kapilpaul.
Merges [52744] to the 5.9 branch.
Fixes #55178.
See #55179.

Built from https://develop.svn.wordpress.org/branches/5.9@52746


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 11:15:05 +00:00
Dominik Schilling
309a44e152 Editor: Prevent front-end assets of a block from being enqueued in the block editor.
Since WordPress 5.9 you can set a view script for a block which is supposed to be only loaded on the front end. Unfortunately it's currently also loaded in the editor which can cause unexpected behaviour and also performance issues depending on the size of the scripts.
This is caused by the preloading of REST API routes via `block_editor_rest_api_preload()` which doesn't happen in an encapsulated process and so does pollute any global state like the one for scripts and styles.
Similar to the global `$post`, core now backups the globals `$wp_scripts` and `$wp_styles` and restores the backup after the preloading.

Props gziolo, ocean90.
Merges [52733] to the 5.9 branch.
Fixes #55151.
Built from https://develop.svn.wordpress.org/branches/5.9@52745


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-17 09:11:02 +00:00
audrasjb
341a54e73e Script Loader: Load block themes styles in the head section.
Previously, some logic was added to load the global stylesheet in the bottom of `<body>` for classic themes that opted-in into loading individual block styles instead of a single stylesheet for them all. At the time, block themes always loaded the global stylesheet in the `<head>`. When block themes landed in core during WordPress 5.9 this logic wasn’t updated to consider them, hence the global stylesheet loaded in the `<body>` for them. This changeset fixes this.

Props oandregal, aristath.
Merges [52738] to the 5.9 branch.
Fixes #55148.

Built from https://develop.svn.wordpress.org/branches/5.9@52739


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-16 10:55:04 +00:00
audrasjb
0600b07381 Administration: Fix a CSS issue on the Welcome Panel when the "Dashboard" heading is missing.
This change adds a CSS exception for when the "Dashboard" heading is missing or located below the Welcome Panel.

Props critterverse, sabernhardt, rolfsiebers, audrasjb.
Merges [52735] to the 5.9 branch.
Fixes #54977.

Built from https://develop.svn.wordpress.org/branches/5.9@52736


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 18:29:03 +00:00
audrasjb
5e7b029ff2 Widgets: Missing markup from Widgets Group block.
This change fixes an issue in the Widgets editor: widgets group was missing a `.wp-widget-group__inner-blocks` container.

Props noisysocks, ironprogrammer.
Merges [52730] to the 5.9 branch.
Fixes #55072.

Built from https://develop.svn.wordpress.org/branches/5.9@52731


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 10:33:02 +00:00
Peter Wilson
2ef6202356 External libraries: Update version string for hoverIntent.
Updating the version string will help invalidate caches, ensuring the new version of the library is loaded where applicable.

Follow-up to [52429].

Props david.binda, Clorith.
Merges [52673] to the 5.9 branch.
Fixes #54904.


Built from https://develop.svn.wordpress.org/branches/5.9@52729


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 02:48:59 +00:00
Peter Wilson
29ed36c8c6 Editor: Only render term update notices on term screens.
Prevent blank notices from appearing when adding custom fields or terms in the post editor.

Props gadhiyaravi, Boniu91, ravipatel, sabernhardt, joedolson.
Fixes #54955. See #42937.


Built from https://develop.svn.wordpress.org/branches/5.9@52728


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-15 02:45:04 +00:00
audrasjb
e97ddc2f84 Twenty Twenty-One: Allow editor styles to control block margins.
This change removes some overrides that prevented site editor updates in 5.9 from controlling vertical margins via `var(--global--spacing-vertical)`.

Props stacimc, Boniu91, aristath, ironprogrammer, nidhidhandhukiya.
Merges [52726] to the 5.9 branch.
Fixes #54250.

Built from https://develop.svn.wordpress.org/branches/5.9@52727


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-14 22:20:02 +00:00
audrasjb
240d281c9a Revert [52722].
This change was not intended to be backported to branch 5.9.

Unprops audrasjb.

Built from https://develop.svn.wordpress.org/branches/5.9@52723


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-13 21:29:59 +00:00
audrasjb
10b8f45f4f Twenty Fifteen: Add gradient background options using the theme color scheme.
This change implements gradient background options that fit the color scheme used in Twenty Fifteen.

Props ianbelanger, itsamoreh, pls78, audrasjb.
Fixes #49760.

Built from https://develop.svn.wordpress.org/branches/5.9@52722


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-13 21:05:02 +00:00
Sergey Biryukov
38a0dfe341 Update mergeinfo for the 5.9 branch.
Follow-up to [52541], [52542], [52579], [52590], [52632], [52688], [52709], [52712], [52714], [52715].
Built from https://develop.svn.wordpress.org/branches/5.9@52720


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-12 15:12:00 +00:00
audrasjb
fec51ff376 Query: Check if the theme supports block-templates before calling locate_block_template() in get_query_template().
This change improves performance for classic themes by removing an unnecessary query and fixes an issue where a classic theme would show "Empty template: Index" on the frontend when an empty `(block-)templates/index.html` file exists.

Props johnbillion, ianatkins, Mamaduka, costdev, manfcarlo, dolphingg, audrasjb, madeinua, kapilpaul, rafiahmedd, SergeyBiryukov.
Merges [52697] to the 5.9 branch.
Fixes #54844.

Built from https://develop.svn.wordpress.org/branches/5.9@52716


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-12 07:47:05 +00:00
audrasjb
7279f8bf12 Script Loader: Prevent normalizing HTML IDs in _wp_normalize_relative_css_links().
This change fixes an issue where `_wp_normalize_relative_css_links()` was not only matching urls, but also HTML IDs.

Follow-up to [52036].

Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.

Built from https://develop.svn.wordpress.org/branches/5.9@52715


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 22:53:01 +00:00
audrasjb
7ef1030432 Script Loader: Prevent normalizing HTML IDs in _wp_normalize_relative_css_links().
This change fixes an issue where `_wp_normalize_relative_css_links()` was not only matching urls, but also HTML IDs.

Follow-up to [52036].

Props mahype, costdev, audrasjb, SergeyBiryukov.
Merges [52695] to the 5.9 branch.
Fixes #54922.

Built from https://develop.svn.wordpress.org/branches/5.9@52714


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 22:44:00 +00:00
Sergey Biryukov
cf52bed1f4 Upgrade/Install: Make sure the "Show hidden updates" button is visible and works as expected.
The [https://api.jquery.com/toggle-event/ .toggle( handler, handler )] method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. 

This commit updates the click handler function to work with jQuery 1.9+.

Follow-up to [9441], [9543], [42785], [48323].

Props malinevskiy, Boniu91, SergeyBiryukov.
Merges [52644] to the 5.9 branch.
Fixes #54886.
Built from https://develop.svn.wordpress.org/branches/5.9@52713


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 22:11:02 +00:00
audrasjb
493585345f Editor: Remove standard post type UI for templates and template parts.
In [52158] the standard post type UI was added back for templates and template parts, because these features had been temporarily removed from the site editor in the rush to get 5.9 ready for December. Since 5.9 these features were properly added back to the site editor, the `show_ui` values for these post types should be returned back to `false`.

Follow-up to [52158].

Props manfcarlo, audrasjb.
Merges [52668] to the 5.9 branch.
Fixes #54908.

Built from https://develop.svn.wordpress.org/branches/5.9@52712


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:38:02 +00:00
Sergey Biryukov
07efa8047f Twenty Twenty-Two: Fix headings consistency in Pricing table pattern.
This change fixes a consistency issue where "Pigeon" was a h3, while "Sparrow" and "Falcon" were h2. Let's treat these birds equally 🐦

Props kjellr, jffng, audrasjb.
Merges [52681] to the 5.9 branch.
Fixes #54929.
Built from https://develop.svn.wordpress.org/branches/5.9@52711


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:30:02 +00:00
Sergey Biryukov
47123dd3c8 Twenty Twenty-Two: Optimize the assets/images/ducks.jpg image.
The new file should have a much better balance of quality and file size.

Follow-up to [52081], [52107].

Props kafleg, kjellr, jffng, kapilpaul.
Merges [52651] to the 5.9 branch.
Fixes #54911.
Built from https://develop.svn.wordpress.org/branches/5.9@52710


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:11:59 +00:00
Sergey Biryukov
0546145cfc Twenty Twenty-Two: Update mergeinfo after [52688].
See #54944, #55103.
Built from https://develop.svn.wordpress.org/branches/5.9@52709


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-11 21:10:03 +00:00
audrasjb
1dba1d9d5d Twenty Twenty-Two: Remove negative side margins on group blocks with a background.
This change fixes an issue where applying a background color to a group block aligned it to the left in the editor.

Props eddystile, audrasjb, webmandesign, sabernhardt, petaryoast, kjellr.
Merges [52679] and [52686] to the 5.9 branch.
Fixes #54944, #55103.

Built from https://develop.svn.wordpress.org/branches/5.9@52688


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-07 14:58:03 +00:00
Sergey Biryukov
9377cd9479 Tests: Rename the test file and class for wp_get_global_stylesheet() tests.
This matches the name of the function being tested.

Follow-up to [52675-52677].

Merges [52682] to the 5.9 branch.
See #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52683


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-05 13:25:01 +00:00
Sergey Biryukov
6b6f78705c Themes: Fix for Classic themes using default presets.
This commit makes the presets provided by the theme via `add_theme_support()` always create CSS Custom Properties, whether or not the theme has a `theme.json` file. This way, if the theme overwrites a core preset, the core CSS variables are also overwritten and use the theme value.

Props oandregal, hellofromTonya, desrosj, costdev, pbearne, johnstonphilip, webmandesign, jorgefilipecosta, SergeyBiryukov.
Merges [52675-52677] to the 5.9 branch.
Fixes #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52678


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-04 14:48:05 +00:00
Peter Wilson
1350b7df5b Twenty Twenty-Two: Replace GitHub with .org link in Theme URI.
Theme URI is the URL of a public web page where users can find more information about the theme. For bundled themes, it should be a link to the theme’s page on the Theme Repository.

Props kafleg, audrasjb.
Merges [52658] to the 5.9 branch.
Fixes #55018.


Built from https://develop.svn.wordpress.org/branches/5.9@52667


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-03 00:20:02 +00:00
Peter Wilson
d4457b0deb Twenty Twenty-Two: Make 404 pattern search label and button translatable.
This changes makes the Twenty Twenty-Two "hidden-404" pattern fully prepared for translation.

Props kjellr, walbo, audrasjb.
Merges [52664] to the 5.9 branch.
Fixes #54928.

Built from https://develop.svn.wordpress.org/branches/5.9@52666


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-03 00:15:02 +00:00
Peter Wilson
2385395bcc External libraries: Update jQuery UI to 1.13.1
Some regressions happened alongside the release of jQuery UI 1.13.0, this brings the fixes from 1.13.1 downstream to WordPress, notably relating to Widget, Autocomplete, Sortable, and Tooltip modules.

See the changelog between version 1.13.0 and 1.13.1 at https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1

Props blogaid, linux4me2, mgol, Clorith.
Merges [52648] to the 5.9 branch.
Fixes #54902.


Built from https://develop.svn.wordpress.org/branches/5.9@52665


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-03 00:04:02 +00:00
Peter Wilson
dc2fadfc1d Upgrade: Prevent warnings upgrading cron array.
An unvisited site may have an undefined cron array, resulting in `_get_cron_array()` returning the value `false`. Previously this would trigger warning in `upgrade_590()` as the function assumed `_get_cron_array()` would alway return an array.

No database version change is required as the upgrade routine was successful on sites with a cron array during 5.9.0. On sites without a cron array, the error has already been thrown if they are running db version 51917. This fix is only required for new sites or those upgrading that have skipped 5.9.0.

Follow up to [51917].

Props chrisvanpatten, kapilpaul, SergeyBiryukov, audrasjb.
Merges [52656] and [52662] to the 5.9 branch.
Fixes #54906.
See #53940.


Built from https://develop.svn.wordpress.org/branches/5.9@52663


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-02-02 23:26:02 +00:00
Sergey Biryukov
3ae9f9ffe3 Post WordPress 5.9 version bump.
The 5.9 branch is now 5.9.1-alpha.
Built from https://develop.svn.wordpress.org/branches/5.9@52643


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-25 21:32:03 +00:00
Sergey Biryukov
bde5705828 WordPress 5.9.
Built from https://develop.svn.wordpress.org/branches/5.9@52641


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-25 19:48:09 +00:00
Dion Hulse
0f50dc0a3d Bump Akismet external.
See https://core.trac.wordpress.org/ticket/54004


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-25 00:39:24 +00:00
Sergey Biryukov
6fb7e0d491 Upgrade/Install: Update $_old_files for 5.9.
Props davidbaumwald, hellofromTonya, SergeyBiryukov.
Merges [52637] to the 5.9 branch.
Fixes #54894.
Built from https://develop.svn.wordpress.org/branches/5.9@52638


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 18:35:00 +00:00
Sergey Biryukov
249c2f64ac Post WordPress 5.9 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52636


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 17:02:00 +00:00
Sergey Biryukov
3a4625cfa9 WordPress 5.9 RC4.
Built from https://develop.svn.wordpress.org/branches/5.9@52635


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 16:34:02 +00:00
desrosj
10610241eb Editor: Bump editor packages to include the latest fixes.
This merges the latest package updates for the block editor to include the fix for https://github.com/WordPress/gutenberg/pull/38175.

Props hellofromTonya, mamaduka, joen, talldanwp, cbravobernal, poena.
Fixes #54487.
Built from https://develop.svn.wordpress.org/branches/5.9@52634


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 16:08:21 +00:00
audrasjb
be769a845d Docs: Docblock corrections for get_block_file_template().
Follow-up to [52324].

Props johnbillion, SergeyBiryukov, costdev.
Merges [52631] to the 5.9 branch.
Fixes #54879.

Built from https://develop.svn.wordpress.org/branches/5.9@52632


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 15:42:00 +00:00
Dominik Schilling
007af9e81c Tests: Revert [52617].
Following [52629], the tests no longer throw an exception.

See #54318.
See #54882.
Built from https://develop.svn.wordpress.org/branches/5.9@52630


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 12:56:00 +00:00
Dominik Schilling
72bc236da0 Plugins/Themes: Allow to install/activate plugins/themes which require the WordPress version currently in development.
Twenty Twenty-Two requires WordPress 5.9 but currently can't be (re)activated in the 5.9 branch because `version_compare( '5.9-RC3-52627', '5.9', '>=' )` as used by `is_wp_version_compatible()` returns `false`. To appreciate the testing of upcoming versions any `-alpha`, `-RC`, `-beta` suffixes are now stripped off from the WordPress version before checking for compatibility.

Merges [52628] to the 5.9 branch.

Fixes #54882.
Built from https://develop.svn.wordpress.org/branches/5.9@52629


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 12:51:00 +00:00
Peter Wilson
bf4135194e Help/About: Update Freedoms page for 5.9.
Props peterwilsoncc, audrasjb, mikeschroder.
Merges [52626] to the 5.9 branch.
Fixes #54270.


Built from https://develop.svn.wordpress.org/branches/5.9@52627


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 10:02:03 +00:00
noisysocks
58c5e512b1 Update @wordpress packages
Update packages to include these bug fixes from Gutenberg:

- Block Editor: Mark last change as persistent on save
- Site Editor: Restore ?styles=open functionality
- Site Editor: Fix resizable box scrollbars in blocks
- Add classic menus to menu switcher

See #54487.
Props talldanwp.

Built from https://develop.svn.wordpress.org/branches/5.9@52625


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 07:48:19 +00:00
noisysocks
baf5a1ccd3 Customizer: Remove Menus panel when a theme does not support menus
By overriding check_capabilities(), we can ensure that the Menus panel
is removed if a theme does not have support for 'menus' nor 'widgets'.

This ensures that the Menus panel does not appear when using a block
theme, which is confusing to users.

See #54888.
Props hellofromTonya, costdev, peterwilsoncc.

Built from https://develop.svn.wordpress.org/branches/5.9@52623


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-24 05:41:02 +00:00
desrosj
a143b8e52b Bundled Themes: Bump the versions for bundled themes for release.
This bumps the versions of the default bundled themes in preparation for release with WordPress 5.9.

The new versions are:
- Twenty Ten: 3.6
- Twenty Eleven: 4.0
- Twenty Twelve: 3.6
- Twenty Thirteen: 3.5
- Twenty Fourteen: 3.3
- Twenty Fifteen: 3.1
- Twenty Sixteen: 2.6
- Twenty Seventeen: 2.9
- Twenty Nineteen: 2.2
- Twenty Twenty: 1.9
- Twenty Twenty-One: 1.5

Props audrasjb.
Merges [52618] to the 5.9 branch
Fixes #54783.
Built from https://develop.svn.wordpress.org/branches/5.9@52619


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-22 15:21:04 +00:00
desrosj
6e63432e97 Tests: Temporarily add expected exceptions to a few theme tests.
These tests are failing after [52614], which raised the minimum version of WordPress required for Twenty Twenty-Two. Since the value of `$wp_version` is still less than 5.9, these are failing.

After `$wp_version` is officially bumped to `5.9`, these should be removed.

Props hellofromTonya, Clorith.
See #54318.
Built from https://develop.svn.wordpress.org/branches/5.9@52617


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-21 20:48:00 +00:00
desrosj
d2ba4618f1 Bundled Themes: Reverts [52549].
[52549] updated some default presets in use by default themes to the new format. However, this change would cause elements to lose their styling when active on an older version of WordPress.

Merges [52615] to the 5.9 branch.
See #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52616


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-21 19:55:00 +00:00
desrosj
2edf657e80 Twenty Twenty-Two: update the required version.
This commit updates the required WordPress version of the 2022 default theme to 5.9 in advance of its release on January 25.

Props hellofromtonya, kjellr, desrosj.
Merges [52612] and [52613] to the 5.9 branch.
Fixes #54318.
Built from https://develop.svn.wordpress.org/branches/5.9@52614


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-21 19:44:02 +00:00
Sergey Biryukov
52c5003b0e Post WordPress 5.9 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52601


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 22:26:02 +00:00
Sergey Biryukov
a3a75ab286 WordPress 5.9 RC3.
Built from https://develop.svn.wordpress.org/branches/5.9@52600


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 22:06:00 +00:00
hellofromTonya
601582e0f8 Editor: @wordpress package updates.
Update packages to include these bug fixes from Gutenberg:
Navigation Block: update micromodal to 0.4.10 to fix menu close button on mobile

Props ryelle, poena, get_dave, talldanwp, aristath, kjellr, audrasjb, desrosj.
Merges [52598] to the 5.9 branch.
See #54487.
Built from https://develop.svn.wordpress.org/branches/5.9@52599


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 21:38:15 +00:00
noisysocks
b37d66554b Update @wordpress packages
Update packages to include these bug fixes from Gutenberg:

- Stop keypresses being caught by other elements when they happen in a CustomSelectControl
- Remove color, spacing, and layout options for Template Part block
- Try: parse shortcode blocks outside the content
- Fix aria-modal attribution with multiple navs on page
- Gallery block: Remove warning notice about mobile version required
- Fix Home template description typo 
- Fix enqueueing additional styles for blocks only when rendered
- fix typo (hanle -> handle)
- SelectControl: mark the children prop as optional
- Remove warning for enqueued styles in Editor
- Add context to font style and font weight related translation strings
- Temporarily remove text decoration from Nav block
- Fix empty secondary sidebar overlapping widget editor content on mobile viewports
- Fix hiding the bottom of tablet/mobile preview in Site Editor

See #54487.
Props isabel_brison.

Built from https://develop.svn.wordpress.org/branches/5.9@52596


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-18 03:42:26 +00:00
hellofromTonya
4a971cab75 Editor: Explicitly load remote block patterns in the block and site editor screens.
Remote block patterns from wp.org were to be loaded through a callback hooked into the `current_screen` filter. Within 2 callbacks, i.e. `_load_remote_featured_patterns()` and `_load_remote_block_patterns()`, a guard clause bailed out early if the `$current_screen->is_block_editor` is `false`.

However, the `current_screen` filter is unreliable to detect the block editor. Why? In the block and Site Editor screens, `$current_scren->is_block_editor` is not set until after the filter is executed. Whoopsie.

This commit no longer uses the `current_screen` filter. Instead, it explicitly loads the remote block patterns by invoking both private functions (now not callbacks) directly in the screen files for the block and site editor screens.

With this change, passing `WP_Screen` object into these functions is no longer needed. As the `_load_remote_block_patterns()` function was introduced in 5.8.0, its function parameter is now deprecated and the guard clause retained for backwards compatibility.

Follow-up to [51021], [52377].

Props poena, noisysocks, peterwilsoncc, hellofromTonya, audrasjb.
Merges [52593] to the 5.9 branch.
Fixes #54806.
Built from https://develop.svn.wordpress.org/branches/5.9@52594


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-17 22:50:01 +00:00
hellofromTonya
b9a42e2de2 Administration: Revert [51946].
Reverting changeset due to reported issue of menu being hidden after clicking on certain mobile devices.

Props dhusakovic, audrasjb, SergeyBiryukov, costdev, joedolson.
Reverts [51946] on the 5.9 branch.
See #54837, #53587.
Built from https://develop.svn.wordpress.org/branches/5.9@52592


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-17 20:40:02 +00:00
audrasjb
f7d196082e Twenty Twenty-Two: Sync updates from GitHub from RC3.
This commit syncs minor changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], [52430], and [52555]. It includes fixes to the group, cover, and template part block padding and removes unnecessary group block wrappers from many patterns.

To view the full set of changes, visit 69d5c512c6...91f8748566.

Props kjellr, richtabor, audrasjb, jffng.
Merges [52589] to the 5.9 branch.
Fixes #54318.

Built from https://develop.svn.wordpress.org/branches/5.9@52590


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-17 16:02:02 +00:00
audrasjb
be39ef2434 Media: Add a missing / in post thumbnail lazy loading regex.
This change avoids a warning thrown by a missing slash in a post thumbnail lazyload related regular expression.

Follow-up to [52065].

Props SierraTR, audrasjb, costdev, flixos90.
Merges [52563] to the 5.9 branch.
Fixes #54815.

Built from https://develop.svn.wordpress.org/branches/5.9@52579


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-14 21:26:04 +00:00
Sergey Biryukov
bd28ecb009 Post WordPress 5.9 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.9@52567


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 20:41:02 +00:00
Sergey Biryukov
9c9abd5dde WordPress 5.9 RC2.
Built from https://develop.svn.wordpress.org/branches/5.9@52566


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 20:18:04 +00:00
ryelle
13d9b3c932 Help/About: Update the About section for 5.9.
Use the correct Field Guide link. Update the SVGs used on Freedoms and Privacy. Add more spacing between sections on the About page, fixed spacing between rows on Freedoms page.

Props critterverse, audrasjb, versusbassz.
Merges [52563] to the 5.9 branch.
See #54270.


Built from https://develop.svn.wordpress.org/branches/5.9@52565


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:45:00 +00:00
ryelle
f664f4d841 Administration: Update design of the Dashboard welcome panel.
Tone down the brightness of the dashboard panel by using a white background behind the main text, and use the highlight color from each color scheme for the main background. This also introduces a $scheme-name SCSS variable to allow overrides for specific color schemes.

Props critterverse, sabernhardt, joedolson, audrasjb.
Merges [52562] to the 5.9 branch.
Fixes #54489.


Built from https://develop.svn.wordpress.org/branches/5.9@52564


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:43:03 +00:00
hellofromTonya
3ff07f2d41 Site Editor: Fix typo in home template translatable description.
The home template's description should be: "Displays as the site's home page, or as the Posts page when a static home page isn't set." This commit fixes the typo changing "it" to "isn't".

Follow-up to [52331].

Props kharisblank, talldanwp.
Merges [52554] to the 5.9 branch.
Fixes #54787.
Built from https://develop.svn.wordpress.org/branches/5.9@52561


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:16:03 +00:00
davidbaumwald
8381166b05 Script Loader: Fix a variable typo in wp_enqueue_block_style.
In `wp_enqueue_block_style` when `rtl` versions of CSS files are detected, `wp_style_add_data` is called to add the metadata to the registered sheet. However, the stylesheet `handle` argument is misspelled as `hanle`. This change corrects the argument name.

Props omaeyusuke.
Merges [52558] to the 5.9 branch.
Fixes #54786.
Built from https://develop.svn.wordpress.org/branches/5.9@52560


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:15:03 +00:00
hellofromTonya
f6d340767a Editor: Fix enqueueing additional styles in wp_enqueue_block_style() to print only when blocks render.
In a block theme, additional block styles registered using the wp_enqueue_block_style function should only get printed when the block exists on a page. However, they currently always get 
rendered.

This commit is a backport from Gutenberg that fixes the issue by printing the styles when a block 
renders.

Follow-up to [52069].

Props poena, aristath, Mamaduka.
Merges [52556] to the 5.9 branch.
Fixes #54787.
Built from https://develop.svn.wordpress.org/branches/5.9@52559


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 18:00:02 +00:00
desrosj
e594e7957e Twenty Twenty-Two: Sync updates from GitHub for RC 2.
This commit syncs changes for the default theme from its active development repository to core.

This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], and [52430]. It includes fixes to the theme's spacing and adds a search template.

To view the full set of changes, visit 8564fd281f...f0346e1ad2.

Props richtabor, kjellr, danieldudzic, scruffian, jffng.
Merges [52555] to the 5.9 branch.
See #54318.
Built from https://develop.svn.wordpress.org/branches/5.9@52557


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 16:54:02 +00:00
noisysocks
a2a7b95580 Update packages to include these bug fixes from Gutenberg:
- [Block Library - Query Pagination Next]: Hide block if custom query has no results
- [WP 5.9] Fix: HTML tags like inline images in nav links break submenu layout
- Check for nextpage to display page links for paginated posts
- Navigation: Set the default for --navigation-layout-align to "flex-start" when using vertical orientation
- [Block Library - Query Loop]: Use gap for the grid view
- Update page list flex variables to match navigation.
- Site logo: Fix range control on landscape logo
- Restore canvas padding for classic themes
- RichText: Fix dead key input on Windows
- Fix: Impossible to clear colors if color palettes are removed.
- Gallery block: pass any custom attributes through the gallery v2 migration script
- Reduce specificity of legacy font sizes defined by core
- Update: Improve escaping on the search block

See #54487.
Props isabel_brison.

Built from https://develop.svn.wordpress.org/branches/5.9@52552


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 03:15:32 +00:00
jorgefilipecosta
db0d297ac3 Fix: Update some default presets in use by default themes to the new format.
Themes that use the same preset slugs as WordPress uses need to be updated.
From the devnote https://make.wordpress.org/core/2022/01/08/updates-for-settings-styles-and-theme-json/
The CSS for some of the presets defined by WordPress (font sizes, colors, and gradients) was loaded twice for most themes in WordPress 5.8: in the block-library stylesheet plus in the global stylesheet. Additionally, there were slight differences in the CSS in both places.
In WordPress 5.9 those were consolidated into a single place, the global stylesheet whose name is global-styles-inline-css that is now loaded for all themes in the front-end.
For themes to override the default values they can use the theme.json and provide the same slug. Themes that do not use a theme.json can still override the default values by enqueuing some CSS that sets the corresponding CSS Custom Property. This commit does the second for the twenty twenty theme.

Props oandregal.
Merges [52549] to the 5.9 branch.
Fixes #54782.
Built from https://develop.svn.wordpress.org/branches/5.9@52550


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-10 18:33:01 +00:00
jorgefilipecosta
4e9316f722 Fix: WordPress default presets aren't loaded for all themes.
The default preset styles of WordPress (font sizes, colors, gradients) are now provided via the global stylesheet to avoid duplication of styles. This stylesheet can be found in the front-end with the name global-styles-inline-css.
The default presets are important to support old content that may use them and also patterns, that can use cross-theme styles.

Props oandregal.
Merges [52547] to the 5.9 branch.
Fixes #54781.
Built from https://develop.svn.wordpress.org/branches/5.9@52548


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-10 17:59:02 +00:00
audrasjb
9f98c0997f Help/About: Change the Learn WP link in the about page.
The workshops page doesn't specifically show 5.9 content at this stage (and likely won't until much later), so it needs to be changed to learn.wordpress.org homepage.

Props hlashbrooke, audrasjb, davidbaumwald.
Merges [52453] to the 5.9 branch.
Fixes #54755.

Built from https://develop.svn.wordpress.org/branches/5.9@52542


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-08 07:58:00 +00:00
audrasjb
40bb9982f7 REST API: Typo correction in a link description object.
This change fixes a wrong punctuation in a link description object of the menu items controller endpoint. It also updates qUnit test fixtures accordingly.

Props la-geek, audrasjb, tobifjellner, hellofromtonya, davidbaumwald.
Merges [52535] and [52536] to the 5.9 branch.
Fixes #54745.

Built from https://develop.svn.wordpress.org/branches/5.9@52541


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-08 07:35:04 +00:00
desrosj
141807bc26 Formatting: Correctly encode ASCII characters in post slugs.
Merges [52457] to the 5.9 branch.
Props zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.9@52464


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:36:03 +00:00
desrosj
742cbf86f3 Upgrade/Install: Avoid using unserialize() unnecessarily.
Merges [52456] to the 5.9 branch.
Props vortfu, xknown, dd32.
Built from https://develop.svn.wordpress.org/branches/5.9@52462


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:28:01 +00:00
desrosj
ff2e2ddcff Query: Improve sanitization within WP_Meta_Query.
Merges [52455] to the 5.9 branch.
Props vortfu, xknown, dd32.
Built from https://develop.svn.wordpress.org/branches/5.9@52460


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:24:01 +00:00
desrosj
5aa5385d99 Query: Improve sanitization within WP_Tax_Query.
Merges [52454] to the 5.9 branch.
Props dd32, xknown, peterwilsoncc, ehtis.
Built from https://develop.svn.wordpress.org/branches/5.9@52458


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:20:55 +00:00
Sergey Biryukov
5ba465b490 Branch 5.9
Built from https://develop.svn.wordpress.org/branches/5.9@52447


git-svn-id: http://core.svn.wordpress.org/branches/5.9@52039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-04 20:48:09 +00:00
2452 changed files with 304863 additions and 354802 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

@@ -13,7 +13,7 @@
<p style="text-align: center">Semantic Personal Publishing Platform</p>
<h2>First Things First</h2>
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.</p>
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I&#8217;m proud to be a part of. Thousands of hours have gone into WordPress, and we&#8217;re dedicated to making it better every day. Thank you for making it part of your world.</p>
<p style="text-align: right">&#8212; Matt Mullenweg</p>
<h2>Installation: Famous 5-minute install</h2>
@@ -21,7 +21,7 @@
<li>Unzip the package in an empty directory and upload everything.</li>
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details.
<ol>
<li>If for some reason this does not work, do not worry. It may not work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
<li>If for some reason this doesn&#8217;t work, don&#8217;t worry. It doesn&#8217;t work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li>
<li>Save the file as <code>wp-config.php</code> and upload it.</li>
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
</ol>
@@ -47,7 +47,7 @@
</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>
@@ -58,23 +58,23 @@
<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.3</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>
</ul>
<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>
<p>If you have any questions that aren&#8217;t 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>
<dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd>
<dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
<dd>If you&#8217;ve looked everywhere and still cannot find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
<dd>If you&#8217;ve looked everywhere and still can&#8217;t find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
<dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
<dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="https://web.libera.chat/#wordpress">irc.libera.chat #wordpress</a>)</dd>
</dl>
@@ -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

@@ -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
@@ -131,7 +130,7 @@ $blog_details = get_blog_details();
<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_blog_details();
?>
</div>
</div>
<script type="text/javascript">
var key_input = document.getElementById('key');
key_input && key_input.focus();
</script>
<?php
get_footer( 'wp-activate' );

File diff suppressed because one or more lines are too long

View File

@@ -27,8 +27,8 @@ send_origin_headers();
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
header( 'X-Robots-Tag: noindex' );
// Require a valid action parameter.
if ( empty( $_REQUEST['action'] ) || ! is_scalar( $_REQUEST['action'] ) ) {
// Require an action parameter.
if ( empty( $_REQUEST['action'] ) ) {
wp_die( '0', 400 );
}
@@ -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 ) ) {
@@ -169,7 +168,7 @@ add_action( 'wp_ajax_nopriv_generate-password', 'wp_ajax_nopriv_generate_passwor
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
$action = $_REQUEST['action'];
$action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
if ( is_user_logged_in() ) {
// If no action is registered, return a Bad Request response.
@@ -202,6 +201,5 @@ if ( is_user_logged_in() ) {
*/
do_action( "wp_ajax_nopriv_{$action}" );
}
// Default status.
wp_die( '0' );

View File

@@ -18,11 +18,11 @@ if ( ! defined( 'WP_ADMIN' ) ) {
* @global string $hook_suffix
* @global WP_Screen $current_screen WordPress current screen object.
* @global WP_Locale $wp_locale WordPress date and time locale object.
* @global string $pagenow The filename of the current screen.
* @global string $pagenow
* @global string $update_title
* @global int $total_update_count
* @global string $parent_file
* @global string $typenow The post type of the current screen.
* @global string $typenow
*/
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
$update_title, $total_update_count, $parent_file, $typenow;

View File

@@ -29,12 +29,7 @@ nocache_headers();
/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init' );
$action = ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';
// Reject invalid parameters.
if ( ! is_scalar( $action ) ) {
wp_die( '', 400 );
}
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
if ( ! is_user_logged_in() ) {
if ( empty( $action ) ) {
@@ -45,11 +40,6 @@ if ( ! is_user_logged_in() ) {
*/
do_action( 'admin_post_nopriv' );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( "admin_post_nopriv_{$action}" ) ) {
wp_die( '', 400 );
}
/**
* Fires on a non-authenticated admin post request for the given action.
*
@@ -69,11 +59,6 @@ if ( ! is_user_logged_in() ) {
*/
do_action( 'admin_post' );
} else {
// If no action is registered, return a Bad Request response.
if ( ! has_action( "admin_post_{$action}" ) ) {
wp_die( '', 400 );
}
/**
* Fires on an authenticated admin post request for the given action.
*

View File

@@ -116,16 +116,16 @@ $time_format = __( 'g:i a' );
wp_enqueue_script( 'common' );
/**
* $pagenow is set in vars.php.
* $wp_importers is sometimes set in wp-admin/includes/import.php.
* The remaining variables are imported as globals elsewhere, declared as globals here.
* $pagenow is set in vars.php
* $wp_importers is sometimes set in wp-admin/includes/import.php
* The remaining variables are imported as globals elsewhere, declared as globals here
*
* @global string $pagenow The filename of the current screen.
* @global string $pagenow
* @global array $wp_importers
* @global string $hook_suffix
* @global string $plugin_page
* @global string $typenow The post type of the current screen.
* @global string $taxnow The taxonomy of the current screen.
* @global string $typenow
* @global string $taxnow
*/
global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
@@ -376,7 +376,7 @@ if ( isset( $plugin_page ) ) {
* The load-* hook fires in a number of contexts. This hook is for core screens.
*
* The dynamic portion of the hook name, `$pagenow`, is a global variable
* referring to the filename of the current screen, such as 'admin.php',
* referring to the filename of the current page, such as 'admin.php',
* 'post-new.php' etc. A complete hook for the latter would be
* 'load-post-new.php'.
*

View File

@@ -74,7 +74,7 @@ if ( isset( $_REQUEST['attachment_id'] ) && (int) $_REQUEST['attachment_id'] &&
</span>
<?php
if ( current_user_can( 'edit_post', $id ) ) {
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
} else {
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
}

View File

@@ -161,29 +161,17 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
if ( is_multisite() ) {
$blogs = get_blogs_of_user( $user->ID, true );
$blogs_count = count( $blogs );
if ( $blogs_count > 1 ) {
?>
<p>
<?php
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
$message = _n(
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
$blogs_count
);
if ( is_super_admin() ) {
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
$message = _n(
'This will grant access to <a href="%1$s">the %2$s site on the network as you have Super Admin rights</a>.',
'This will grant access to <a href="%1$s">all %2$s sites on the network as you have Super Admin rights</a>.',
$blogs_count
);
}
printf(
$message,
/* translators: 1: URL to my-sites.php, 2: Number of sites the user has. */
_n(
'This will grant access to <a href="%1$s">the %2$s site in this installation that you have permissions on</a>.',
'This will grant access to <a href="%1$s">all %2$s sites in this installation that you have permissions on</a>.',
$blogs_count
),
admin_url( 'my-sites.php' ),
number_format_i18n( $blogs_count )
);
@@ -250,8 +238,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

@@ -43,7 +43,7 @@ if ( isset( $_REQUEST['c'] ) ) {
// Prevent actions on a comment associated with a trashed post.
if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
wp_die(
__( 'You cannot edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
__( 'You can&#8217;t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
);
}
} else {
@@ -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' );

View File

@@ -37,16 +37,16 @@ $credits = wp_credits();
);
?>
</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>
</nav>
<div class="about__section has-1-column has-gutters">
<div class="about__section has-1-column">
<div class="column aligncenter">
<?php if ( ! $credits ) : ?>
@@ -82,7 +82,7 @@ if ( ! $credits ) {
}
?>
<hr class="is-large" />
<hr />
<div class="about__section">
<div class="column is-edge-to-edge">

View File

@@ -8,7 +8,6 @@
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,16 +21,16 @@
.about__container {
/* Section backgrounds */
--background: #1d35b4;
--subtle-background: #eff2ff;
--background: transparent;
--subtle-background: #def;
/* Main text color */
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #3858e9; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -50,14 +49,14 @@
.credits-php,
.freedoms-php,
.privacy-php {
background: #fff;
background: #f0f7ff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: #fff;
background: linear-gradient(-180deg, #fff 50%, #f0f7ff 100%);
padding: 0 24px;
}
@@ -101,12 +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-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -114,7 +118,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -134,7 +138,7 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
@@ -145,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);
}
@@ -206,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 {
@@ -221,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);
}
@@ -244,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;
}
@@ -296,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;
}
@@ -303,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;
}
}
@@ -374,26 +462,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2rem;
font-size: 2em;
line-height: 1.2;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.625rem;
font-weight: 700;
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;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
}
.about__container p {
@@ -403,9 +483,7 @@
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
font-size: 1.8em;
}
.about__section a {
@@ -435,10 +513,6 @@
margin-right: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.5rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -465,23 +539,14 @@
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: 0 var(--gap);
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-2);
}
.about__container hr.is-small {
@@ -500,19 +565,13 @@
}
.about__section {
font-size: 1.125rem;
line-height: 1.55;
font-size: 1.2em;
}
.about__section.is-feature {
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;
@@ -529,29 +588,46 @@
.about__header {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
margin-bottom: var(--gap);
padding-top: 0;
background-image: url('../images/about-texture.png');
background-color: var(--accent-2);
background-size: 500px 500px;
background-blend-mode: overlay;
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
background-position: center;
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.2');
.about__header::before {
content: "";
position: absolute;
top: 0;
left: 64px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
.credits-php .about__header::before {
top: auto;
bottom: 70px;
height: 310px;
background-image: url('../images/about-header-credits.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.2');
.freedoms-php .about__header::before {
top: calc(50% - 182px);
left: 32px;
width: 375px;
height: 300px;
background-image: url('../images/about-header-freedoms.svg');
}
.privacy-php .about__header::before {
top: auto;
bottom: -16px;
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
@@ -560,39 +636,33 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
padding: 0;
text-align: center;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 6rem 0 0 380px;
margin: 0 2rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
margin: 0 0 0.5rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: 4.5rem;
line-height: 1;
font-weight: 600;
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
margin: 0 auto;
padding: 0;
margin: 0 0 7rem;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 0 2rem 0 380px;
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.freedoms-php .about__header-title,
.freedoms-php .about__header-text {
/* 423px = 375px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-left: 423px;
margin-left: 0;
}
.about__header-navigation {
@@ -601,7 +671,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);
@@ -640,21 +709,34 @@
border-color: var(--nav-current);
}
@media screen and (max-width: 960px) {
@media screen and (max-width: 960px){
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
font-size: 4.8em;
}
}
@media screen and (max-width: 782px) {
.about__header::before {
width: 240px;
height: 305px;
left: 32px;
}
.credits-php .about__header::before {
height: 248px;
}
.freedoms-php .about__header::before {
top: calc(50% - 132px);
height: 192px;
width: 240px;
}
.privacy-php .about__header::before {
bottom: 0;
height: 280px;
}
.about__container .about__header-text {
font-size: 1.4em;
}
@@ -663,6 +745,12 @@
display: block;
}
.about__header-title,
.about__header-text {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-left: 288px !important;
}
.about__header-title,
.about__header-image {
margin-right: calc(var(--gap) / 2);
@@ -671,6 +759,8 @@
.about__header-text {
margin-top: 0;
margin-left: 0;
padding-right: calc(var(--gap) / 2);
}
.about__header-navigation .nav-tab {
@@ -682,26 +772,27 @@
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
.about__header::before {
display: none;
}
.about__header-title,
.about__header-text {
padding-left: calc(var(--gap) / 2) !important;
}
}
@media screen and (max-width: 480px) {
.about__header,
.credits-php .about__header,
.privacy-php .about__header,
.freedoms-php .about__header {
background-image: none;
}
.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 {
@@ -846,19 +937,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

@@ -7,7 +7,6 @@
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,16 +20,16 @@
.about__container {
/* Section backgrounds */
--background: #1d35b4;
--subtle-background: #eff2ff;
--background: transparent;
--subtle-background: #def;
/* Main text color */
--text: #000;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
--accent-1: #3858e9; /* Accent background, link color */
--accent-2: #3858e9; /* Header background */
/* Navigation colors. */
--nav-background: #fff;
@@ -49,14 +48,14 @@
.credits-php,
.freedoms-php,
.privacy-php {
background: #fff;
background: #f0f7ff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: #fff;
background: linear-gradient(180deg, #fff 50%, #f0f7ff 100%);
padding: 0 24px;
}
@@ -100,12 +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-background-color a {
color: var(--text-light);
}
.about__container .has-transparent-background-color {
@@ -113,7 +117,7 @@
}
.about__container .has-accent-color {
color: var(--accent-2);
color: var(--accent-1);
}
.about__container .has-border {
@@ -133,7 +137,7 @@
/* 1.1 - Layout */
.about__section {
margin: 0;
margin: 0 0 var(--gap);
}
.about__section .column:not(.is-edge-to-edge) {
@@ -144,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);
}
@@ -205,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 {
@@ -220,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);
}
@@ -243,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;
}
@@ -295,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;
}
@@ -302,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;
}
}
@@ -373,26 +461,18 @@
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
font-size: 2rem;
font-size: 2em;
line-height: 1.2;
font-weight: 700;
line-height: 1.16;
}
.about__container h3,
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
font-size: 1.625rem;
font-weight: 700;
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;
font-size: 1.6em;
line-height: 1.3;
font-weight: 400;
}
.about__container p {
@@ -402,9 +482,7 @@
.about__container p.is-subheading {
margin-top: 0;
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
font-size: 1.8em;
}
.about__section a {
@@ -434,10 +512,6 @@
margin-left: calc(var(--gap) / 2);
}
.about__container li {
margin-bottom: 0.5rem;
}
.about__container img {
margin: 0;
max-width: 100%;
@@ -464,23 +538,14 @@
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: 0 var(--gap);
margin: 0;
height: var(--gap);
border: none;
border-top: 4px solid var(--accent-2);
}
.about__container hr.is-small {
@@ -499,19 +564,13 @@
}
.about__section {
font-size: 1.125rem;
line-height: 1.55;
font-size: 1.2em;
}
.about__section.is-feature {
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;
@@ -528,29 +587,46 @@
.about__header {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
margin-bottom: var(--gap);
padding-top: 0;
background-image: url('../images/about-texture.png');
background-color: var(--accent-2);
background-size: 500px 500px;
background-blend-mode: overlay;
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
background-position: center;
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.2');
.about__header::before {
content: "";
position: absolute;
top: 0;
right: 64px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
.credits-php .about__header::before {
top: auto;
bottom: 70px;
height: 310px;
background-image: url('../images/about-header-credits.svg');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.2');
.freedoms-php .about__header::before {
top: calc(50% - 182px);
right: 32px;
width: 375px;
height: 300px;
background-image: url('../images/about-header-freedoms.svg');
}
.privacy-php .about__header::before {
top: auto;
bottom: -16px;
background-image: url('../images/about-header-privacy.svg');
}
.about__header-image {
@@ -559,39 +635,33 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
padding: 0;
text-align: center;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 6rem 380px 0 0;
margin: 0 2rem;
}
.about__header-title h1 {
margin: 0 0 1rem;
margin: 0 0 0.5rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: 4.5rem;
line-height: 1;
font-weight: 600;
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
font-weight: 400;
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
margin: 0 auto;
padding: 0;
margin: 0 0 7rem;
/* 380px = 300px (balloon width) + 64px (offset from edge) + 16px (spacing). */
padding: 0 380px 0 2rem;
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.freedoms-php .about__header-title,
.freedoms-php .about__header-text {
/* 423px = 375px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-right: 423px;
margin-right: 0;
}
.about__header-navigation {
@@ -600,7 +670,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);
@@ -639,21 +708,34 @@
border-color: var(--nav-current);
}
@media screen and (max-width: 960px) {
@media screen and (max-width: 960px){
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.credits-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
font-size: 4.8em;
}
}
@media screen and (max-width: 782px) {
.about__header::before {
width: 240px;
height: 305px;
right: 32px;
}
.credits-php .about__header::before {
height: 248px;
}
.freedoms-php .about__header::before {
top: calc(50% - 132px);
height: 192px;
width: 240px;
}
.privacy-php .about__header::before {
bottom: 0;
height: 280px;
}
.about__container .about__header-text {
font-size: 1.4em;
}
@@ -662,6 +744,12 @@
display: block;
}
.about__header-title,
.about__header-text {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding-right: 288px !important;
}
.about__header-title,
.about__header-image {
margin-left: calc(var(--gap) / 2);
@@ -670,6 +758,8 @@
.about__header-text {
margin-top: 0;
margin-right: 0;
padding-left: calc(var(--gap) / 2);
}
.about__header-navigation .nav-tab {
@@ -681,26 +771,27 @@
}
@media screen and (max-width: 600px) {
.about__header {
min-height: auto;
.about__header::before {
display: none;
}
.about__header-title,
.about__header-text {
padding-right: calc(var(--gap) / 2) !important;
}
}
@media screen and (max-width: 480px) {
.about__header,
.credits-php .about__header,
.privacy-php .about__header,
.freedoms-php .about__header {
background-image: none;
}
.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 {
@@ -845,19 +936,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;
@@ -788,17 +783,15 @@ div#wp-responsive-toggle a:before {
}
/* Welcome Panel */
@if ( $custom-welcome-panel == "true" ) {
.welcome-panel {
background-color: $dashboard-accent-1;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: $dashboard-accent-2;
}
.welcome-panel {
background-color: $highlight-color;
}
[class*="welcome-panel-icon"] {
background-color: $dashboard-icon-background;
[class*="welcome-panel-icon"] {
@if ( $scheme-name == "light" ) {
background-color: $icon-color;
} @else {
background-color: $base-color;
}
}

View File

@@ -63,11 +63,4 @@ $adminbar-recovery-exit-background-alt: mix(black, $adminbar-recovery-exit-backg
$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-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;
@@ -711,14 +706,9 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #4796b3;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
background-color: #096484;
}
[class*=welcome-panel-icon] {
background-color: #096484;
background-color: #52accc;
}

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;
@@ -711,14 +706,9 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #4796b3;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
background-color: #096484;
}
[class*=welcome-panel-icon] {
background-color: #096484;
background-color: #52accc;
}

File diff suppressed because one or more lines are too long

View File

@@ -9,6 +9,4 @@ $menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3;
$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;
}
@@ -171,7 +167,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* List tables */
@@ -200,7 +196,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
.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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* TinyMCE */
@@ -678,12 +673,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #46403c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
background-color: #c7a589;
}
[class*=welcome-panel-icon] {

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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* List tables */
@@ -200,7 +196,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
#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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
.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.6923076923deg, 7%, 95%);
color: #f3f2f1;
}
/* TinyMCE */
@@ -678,12 +673,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #46403c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
background-color: #c7a589;
}
[class*=welcome-panel-icon] {

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;
@@ -711,12 +706,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #413256;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
background-color: #a3b745;
}
[class*=welcome-panel-icon] {

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;
@@ -711,12 +706,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #413256;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
background-color: #a3b745;
}
[class*=welcome-panel-icon] {

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;
@@ -714,13 +709,8 @@ div#wp-responsive-toggle a:before {
background-color: #04a4cc;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
background-color: #333;
background-color: #999;
}
/* Override the theme filter highlight color for this scheme */

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;
@@ -714,13 +709,8 @@ div#wp-responsive-toggle a:before {
background-color: #04a4cc;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
background-color: #333;
background-color: #999;
}
/* Override the theme filter highlight color for this scheme */

File diff suppressed because one or more lines are too long

View File

@@ -18,10 +18,6 @@ $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-icon-background: $text-color;
@import "../_admin.scss";
/* Override the theme filter highlight color for this scheme */

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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
.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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* TinyMCE */
@@ -711,14 +706,9 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #26292c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
background-color: #e14d43;
}
[class*=welcome-panel-icon] {
background-color: #3b464b;
background-color: #363b3f;
}

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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
#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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
.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.6666666667deg, 7%, 95%);
color: #f1f2f3;
}
/* TinyMCE */
@@ -711,14 +706,9 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #26292c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
background-color: #e14d43;
}
[class*=welcome-panel-icon] {
background-color: #3b464b;
background-color: #363b3f;
}

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,4 @@ $base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
$dashboard-accent-2: mix($base-color, $notification-color, 90%);
@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(0deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
.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(0deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -709,4 +704,11 @@ div#wp-responsive-toggle a:before {
color: #3858e9;
}
/* Welcome Panel */
/* Welcome Panel */
.welcome-panel {
background-color: #3858e9;
}
[class*=welcome-panel-icon] {
background-color: #1e1e1e;
}

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(0deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0deg, 7%, 95%);
color: #f3f1f1;
}
#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(0deg, 7%, 95%);
color: #f3f1f1;
}
.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(0deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -709,4 +704,11 @@ div#wp-responsive-toggle a:before {
color: #3858e9;
}
/* Welcome Panel */
/* Welcome Panel */
.welcome-panel {
background-color: #3858e9;
}
[class*=welcome-panel-icon] {
background-color: #1e1e1e;
}

File diff suppressed because one or more lines are too long

View File

@@ -7,6 +7,4 @@ $notification-color: $highlight-color;
$link: $highlight-color;
$link-focus: darken($highlight-color, 10%);
$custom-welcome-panel: "false";
@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;
@@ -678,12 +673,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #627c83;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
background-color: #9ebaa0;
}
[class*=welcome-panel-icon] {

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;
@@ -678,12 +673,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #627c83;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
background-color: #9ebaa0;
}
[class*=welcome-panel-icon] {

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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
.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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -711,12 +706,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #be3631;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
background-color: #dd823b;
}
[class*=welcome-panel-icon] {

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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* List tables */
@@ -233,7 +229,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
#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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
.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.1582733813deg, 7%, 95%);
color: #f3f1f1;
}
/* TinyMCE */
@@ -711,12 +706,7 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #be3631;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
background-color: #dd823b;
}
[class*=welcome-panel-icon] {

File diff suppressed because one or more lines are too long

View File

@@ -142,24 +142,21 @@
.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 */
@@ -274,7 +271,6 @@ a:active {
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
@@ -793,7 +789,7 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #787c82;
@@ -812,6 +808,10 @@ img.emoji {
margin: 0;
}
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-right: 2px;
border-radius: 50%;
@@ -826,8 +826,8 @@ img.emoji {
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
color: #d63638;
}
@@ -953,7 +953,6 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
@@ -1579,9 +1578,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-left: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -1842,7 +1838,6 @@ p.auto-update-status {
.metabox-prefs .screen-options .screen-per-page {
margin-left: 15px;
padding-left: 0;
}
.metabox-prefs .screen-options label {
@@ -3034,17 +3029,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;
}
@@ -3164,6 +3153,8 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}

File diff suppressed because one or more lines are too long

View File

@@ -141,24 +141,21 @@
.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 */
@@ -273,7 +270,6 @@ a:active {
a:focus,
a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
@@ -792,7 +788,7 @@ img.emoji {
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
#bulk-titles div a:before,
.notice-dismiss:before {
background: none;
color: #787c82;
@@ -811,6 +807,10 @@ img.emoji {
margin: 0;
}
#bulk-titles div a:before {
margin: 1px 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-left: 2px;
border-radius: 50%;
@@ -825,8 +825,8 @@ img.emoji {
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
#bulk-titles div a:hover:before,
#bulk-titles div a:focus:before {
color: #d63638;
}
@@ -952,7 +952,6 @@ a#remove-post-thumbnail:hover,
padding: 6px 10px 8px;
}
.word-wrap-break-word,
.misc-pub-filename {
word-wrap: break-word;
}
@@ -1578,9 +1577,6 @@ div.error {
.wrap .notice p:before,
.import-php .updating-message:before {
margin-right: 6px;
}
.import-php .updating-message:before {
vertical-align: bottom;
}
@@ -1841,7 +1837,6 @@ p.auto-update-status {
.metabox-prefs .screen-options .screen-per-page {
margin-right: 15px;
padding-right: 0;
}
.metabox-prefs .screen-options label {
@@ -3033,17 +3028,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;
}
@@ -3163,6 +3152,8 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
}

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;
@@ -990,7 +991,7 @@ p.customize-section-description {
.customize-section-description a.external-link:after {
font: 16px/11px dashicons;
content: "\f504";
content: "\f310";
top: 3px;
position: relative;
padding-right: 3px;
@@ -1605,6 +1606,8 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,

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;
@@ -989,7 +990,7 @@ p.customize-section-description {
.customize-section-description a.external-link:after {
font: 16px/11px dashicons;
content: "\f504";
content: "\f310";
top: 3px;
position: relative;
padding-left: 3px;
@@ -1604,6 +1605,8 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,

File diff suppressed because one or more lines are too long

View File

@@ -121,17 +121,32 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #1d35b4;
background: #2271b1 url(../images/about-texture.png) center repeat;
background-size: 500px 500px;
background-blend-mode: overlay;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
content: "";
position: absolute;
top: -16px;
left: 96px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.welcome-panel h3 {
@@ -147,40 +162,16 @@
}
.welcome-panel-header {
position: relative;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 0 !important;
overflow: hidden;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
color: inherit;
position: relative;
z-index: 1;
.welcome-panel-header a {
color: #fff;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: inherit;
color: #f5e6ab;
text-decoration: none;
}
@@ -205,7 +196,6 @@
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -226,7 +216,7 @@
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #fff972;
color: #f5e6ab;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -251,7 +241,8 @@
margin-left: auto;
max-width: 1500px;
width: 100%;
padding: 48px 48px 80px 0;
/* 408px = 300px (balloon width) + 96px (offset from edge) + 16px (spacing). */
padding: 48px 48px 48px 408px;
}
.welcome-panel .welcome-panel-column-container {
@@ -260,6 +251,7 @@
clear: both;
display: grid;
z-index: 1;
margin-top: 32px;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
@@ -270,16 +262,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;
@@ -1195,8 +1184,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;
}
@@ -1208,13 +1196,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
@@ -1361,13 +1348,23 @@ 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::before {
width: 240px;
height: 305px;
left: 32px;
}
.welcome-panel-header {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding: 32px 32px 32px 288px;
}
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
@@ -1438,12 +1435,12 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel-header {
padding: 32px 32px 64px;
.welcome-panel::before {
display: none;
}
.welcome-panel-header-image {
display: none;
.welcome-panel-header {
padding: 32px;
}
}
@@ -1458,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

@@ -120,17 +120,32 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #1d35b4;
background: #2271b1 url(../images/about-texture.png) center repeat;
background-size: 500px 500px;
background-blend-mode: overlay;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
content: "";
position: absolute;
top: -16px;
right: 96px;
z-index: 0;
width: 300px;
height: 382px;
background: url(../images/about-header-about.svg) no-repeat center;
background-size: contain;
}
.welcome-panel h2 {
margin: 0;
font-size: 48px;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.welcome-panel h3 {
@@ -146,40 +161,16 @@
}
.welcome-panel-header {
position: relative;
color: #fff;
}
.welcome-panel-header-image {
position: absolute !important;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 0 !important;
overflow: hidden;
}
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
color: inherit;
position: relative;
z-index: 1;
.welcome-panel-header a {
color: #fff;
}
.welcome-panel-header a:focus,
.welcome-panel-header a:hover {
color: inherit;
color: #f5e6ab;
text-decoration: none;
}
@@ -204,7 +195,6 @@
font-size: 13px;
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
text-decoration: none;
z-index: 1; /* Raise above the version image. */
}
.welcome-panel .welcome-panel-close:before {
@@ -225,7 +215,7 @@
.welcome-panel .welcome-panel-close:focus,
.welcome-panel .welcome-panel-close:hover::before,
.welcome-panel .welcome-panel-close:focus::before {
color: #fff972;
color: #f5e6ab;
}
/* @deprecated 5.9.0 -- Button removed from panel. */
@@ -250,7 +240,8 @@
margin-right: auto;
max-width: 1500px;
width: 100%;
padding: 48px 0 80px 48px;
/* 408px = 300px (balloon width) + 96px (offset from edge) + 16px (spacing). */
padding: 48px 408px 48px 48px;
}
.welcome-panel .welcome-panel-column-container {
@@ -259,6 +250,7 @@
clear: both;
display: grid;
z-index: 1;
margin-top: 32px;
padding: 48px;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
@@ -269,16 +261,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;
@@ -1194,8 +1183,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;
}
@@ -1207,13 +1195,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
@@ -1360,13 +1347,23 @@ 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::before {
width: 240px;
height: 305px;
right: 32px;
}
.welcome-panel-header {
/* 288px = 240px (balloon width) + 32px (offset from edge) + 16px (spacing). */
padding: 32px 288px 32px 32px;
}
.welcome-panel .welcome-panel-column-container {
grid-template-columns: 1fr;
box-sizing: border-box;
@@ -1437,12 +1434,12 @@ a.rsswidget {
/* Smartphone */
@media screen and (max-width: 600px) {
.welcome-panel-header {
padding: 32px 32px 64px;
.welcome-panel::before {
display: none;
}
.welcome-panel-header-image {
display: none;
.welcome-panel-header {
padding: 32px;
}
}
@@ -1457,8 +1454,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

@@ -98,12 +98,6 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-left: 10px;
padding: 0;
@@ -726,17 +720,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 {
@@ -1981,6 +1964,11 @@ table.links-table {
padding: 20px 10px;
}
.misc-pub-section > a {
float: left;
font-size: 16px;
}
#delete-action,
#publishing-action {
line-height: 3.61538461;

File diff suppressed because one or more lines are too long

View File

@@ -97,12 +97,6 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-right: 10px;
padding: 0;
@@ -725,17 +719,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 {
@@ -1980,6 +1963,11 @@ table.links-table {
padding: 20px 10px;
}
.misc-pub-section > a {
float: right;
font-size: 16px;
}
#delete-action,
#publishing-action {
line-height: 3.61538461;

File diff suppressed because one or more lines are too long

View File

@@ -777,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 {
@@ -892,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 {
@@ -1070,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;
}
/*------------------------------------------------------------------------------
@@ -1148,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
------------------------------------------------------------------------------*/
@@ -1574,10 +1529,6 @@ table.form-table td .updated p {
margin: 0 3px;
}
.form-table .regular-text ~ input[type="text"].small-text {
margin-top: 5px;
}
#pass-strength-result {
width: 100%;
box-sizing: border-box;
@@ -1622,20 +1573,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 {
@@ -1654,6 +1599,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;
}
@@ -1688,10 +1640,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;
@@ -1713,11 +1661,6 @@ 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;
}

File diff suppressed because one or more lines are too long

View File

@@ -776,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 {
@@ -891,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 {
@@ -1069,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;
}
/*------------------------------------------------------------------------------
@@ -1147,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
------------------------------------------------------------------------------*/
@@ -1573,10 +1528,6 @@ table.form-table td .updated p {
margin: 0 3px;
}
.form-table .regular-text ~ input[type="text"].small-text {
margin-top: 5px;
}
#pass-strength-result {
width: 100%;
box-sizing: border-box;
@@ -1621,20 +1572,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 {
@@ -1653,6 +1598,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;
}
@@ -1687,10 +1639,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;
@@ -1712,11 +1660,6 @@ 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;
}

File diff suppressed because one or more lines are too long

View File

@@ -385,23 +385,6 @@ table.media .column-title .filename {
margin-bottom: 0.2em;
}
/* Media Copy to clipboard row action */
.media .row-actions .copy-to-clipboard-container {
display: inline;
position: relative;
}
.media .row-actions .copy-to-clipboard-container .success {
position: absolute;
right: 50%;
transform: translate(50%, -100%);
background: #000;
color: #fff;
border-radius: 5px;
margin: 0;
padding: 2px 5px;
}
/* @todo: pick a consistent list table selector */
.wp-list-table a {
transition: none;
@@ -859,35 +842,16 @@ tr:hover .row-actions,
/* Layout */
#wpbody-content .inline-edit-row fieldset {
font-size: 12px;
float: right;
margin: 0;
padding: 0 0 0 12px;
width: 100%;
box-sizing: border-box;
}
#wpbody-content .inline-edit-row td fieldset:last-of-type {
padding-left: 0;
}
tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
position: relative;
width: 100%;
}
.inline-edit-wrapper {
display: flow-root;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 4px;
}
.inline-edit-wrapper:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
tr.inline-edit-row td,
#wpbody-content .inline-edit-row fieldset .inline-edit-col {
padding: 0 0.5em;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
@@ -908,7 +872,7 @@ tr.inline-edit-row td {
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row-post .inline-edit-col-right {
width: 50%;
width: 49%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-left {
@@ -934,26 +898,12 @@ tr.inline-edit-row td {
}
.inline-edit-row .submit {
display: flex;
flex-wrap: wrap;
align-items: center;
clear: both;
margin: 0;
padding: 0.5em 0 1em;
}
.inline-edit-save.submit .button {
margin-left: 8px;
}
.inline-edit-save .spinner {
float: none;
margin: 0;
padding: 0.5em;
margin: 0.5em 0 0;
}
.inline-edit-row .notice-error {
box-sizing: border-box;
min-width: 100%;
margin-top: 1em;
}
@@ -967,11 +917,15 @@ tr.inline-edit-row td {
/* Needs higher specificity for the padding */
#the-list .inline-edit-row .inline-edit-legend {
margin: 0;
padding: 0.2em 0;
padding: 0.2em 0.5em 0;
line-height: 2.5;
font-weight: 600;
}
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
padding: 0.2em 0.5em;
}
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
margin: 0;
@@ -1078,17 +1032,34 @@ tr.inline-edit-row td {
width: 8em;
}
#bulk-titles-list,
#bulk-titles-list li,
ul.cat-checklist {
height: 12em;
border: solid 1px #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0;
background-color: #fff;
}
#bulk-titles {
display: block;
height: 12em;
border: 1px solid #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0 0 5px;
}
.inline-edit-row fieldset ul.cat-checklist li,
.inline-edit-row fieldset ul.cat-checklist input {
margin: 0;
position: relative; /* RTL fix, #WP27629 */
}
.inline-edit-row fieldset ul.cat-checklist input {
margin-top: -1px;
margin-right: 3px;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-style: normal;
font-size: 11px;
}
.inline-edit-row fieldset label input.inline-edit-menu-order-input {
@@ -1108,48 +1079,27 @@ tr.inline-edit-row td {
float: right;
}
#bulk-titles,
ul.cat-checklist {
height: 14em;
border: 1px solid #ddd;
margin: 0 0 5px;
padding: 0.2em 5px;
overflow-y: scroll;
#bulk-titles {
line-height: 140%;
}
#bulk-titles div {
margin: 0.2em 0.3em;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
display: inline-block;
margin: 0;
padding: 3px 0;
line-height: 20px;
vertical-align: top;
#bulk-titles div a {
cursor: pointer;
display: block;
float: right;
height: 18px;
margin: 0 -2px 0 3px;
overflow: hidden;
position: relative;
width: 20px;
}
#bulk-titles .ntdelitem {
padding-right: 23px;
}
#bulk-titles .ntdelbutton {
width: 26px;
height: 26px;
margin: 0 -26px 0 0;
text-align: center;
border-radius: 3px;
}
#bulk-titles .ntdelbutton:before {
display: inline-block;
vertical-align: top;
}
#bulk-titles .ntdelbutton:focus {
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
/* Reset inherited offset from Gutenberg */
outline-offset: 0;
#bulk-titles div a:before {
position: relative;
top: -3px;
}
/*------------------------------------------------------------------------------
@@ -1345,7 +1295,7 @@ ul.cat-checklist {
}
.plugins tr.paused th.check-column {
border-right: 4px solid #b32d2e;
border-right: 4px solid #d63638;
}
.plugins tr.paused th,
@@ -1355,7 +1305,7 @@ ul.cat-checklist {
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #b32d2e;
color: #d63638;
}
.plugins .paused .error-display p,
@@ -1365,7 +1315,7 @@ ul.cat-checklist {
}
.plugins .resume-link {
color: #b32d2e;
color: #d63638;
}
.plugin-card .update-now:before {
@@ -1373,11 +1323,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 {
@@ -1399,17 +1349,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;
}
@@ -1637,7 +1576,6 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
@@ -1765,15 +1703,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;
@@ -1986,20 +1915,6 @@ div.action-links,
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: none;
width: 100%;
padding: 0;
}
#the-list .inline-edit-row .inline-edit-legend,
.inline-edit-row span.title {
font-size: 16px;
}
.inline-edit-row p.howto {
font-size: 14px;
}
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
margin-top: 0;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-col label,
@@ -2027,28 +1942,9 @@ div.action-links,
padding: 3px 4px;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
padding: 6px 0;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-size: 16px;
line-height: 28px;
}
#bulk-titles .ntdelitem {
padding-right: 37px;
}
#bulk-titles .ntdelbutton {
width: 40px;
height: 40px;
margin: 0 -40px 0 0;
overflow: hidden;
}
#bulk-titles .ntdelbutton:before {
font-size: 20px;
line-height: 28px;
}
.inline-edit-row fieldset label span.title,
@@ -2056,6 +1952,10 @@ div.action-links,
float: none;
}
.inline-edit-row fieldset label.inline-edit-tags {
padding: 0 0.5em;
}
.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags {
padding: 0;
}
@@ -2085,6 +1985,14 @@ div.action-links,
display: block;
}
#bulk-titles div {
margin: 0.8em 0.3em;
}
#bulk-titles div a {
height: 22px;
}
/* Updates */
#wpbody-content .updates-table .plugin-title {
width: auto;

File diff suppressed because one or more lines are too long

View File

@@ -384,23 +384,6 @@ table.media .column-title .filename {
margin-bottom: 0.2em;
}
/* Media Copy to clipboard row action */
.media .row-actions .copy-to-clipboard-container {
display: inline;
position: relative;
}
.media .row-actions .copy-to-clipboard-container .success {
position: absolute;
left: 50%;
transform: translate(-50%, -100%);
background: #000;
color: #fff;
border-radius: 5px;
margin: 0;
padding: 2px 5px;
}
/* @todo: pick a consistent list table selector */
.wp-list-table a {
transition: none;
@@ -858,35 +841,16 @@ tr:hover .row-actions,
/* Layout */
#wpbody-content .inline-edit-row fieldset {
font-size: 12px;
float: left;
margin: 0;
padding: 0 12px 0 0;
width: 100%;
box-sizing: border-box;
}
#wpbody-content .inline-edit-row td fieldset:last-of-type {
padding-right: 0;
}
tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
position: relative;
width: 100%;
}
.inline-edit-wrapper {
display: flow-root;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 4px;
}
.inline-edit-wrapper:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
tr.inline-edit-row td,
#wpbody-content .inline-edit-row fieldset .inline-edit-col {
padding: 0 0.5em;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
@@ -907,7 +871,7 @@ tr.inline-edit-row td {
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row-post .inline-edit-col-right {
width: 50%;
width: 49%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-left {
@@ -933,26 +897,12 @@ tr.inline-edit-row td {
}
.inline-edit-row .submit {
display: flex;
flex-wrap: wrap;
align-items: center;
clear: both;
margin: 0;
padding: 0.5em 0 1em;
}
.inline-edit-save.submit .button {
margin-right: 8px;
}
.inline-edit-save .spinner {
float: none;
margin: 0;
padding: 0.5em;
margin: 0.5em 0 0;
}
.inline-edit-row .notice-error {
box-sizing: border-box;
min-width: 100%;
margin-top: 1em;
}
@@ -966,11 +916,15 @@ tr.inline-edit-row td {
/* Needs higher specificity for the padding */
#the-list .inline-edit-row .inline-edit-legend {
margin: 0;
padding: 0.2em 0;
padding: 0.2em 0.5em 0;
line-height: 2.5;
font-weight: 600;
}
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
padding: 0.2em 0.5em;
}
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
margin: 0;
@@ -1077,17 +1031,34 @@ tr.inline-edit-row td {
width: 8em;
}
#bulk-titles-list,
#bulk-titles-list li,
ul.cat-checklist {
height: 12em;
border: solid 1px #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0;
background-color: #fff;
}
#bulk-titles {
display: block;
height: 12em;
border: 1px solid #dcdcde;
overflow-y: scroll;
padding: 0 5px;
margin: 0 0 5px;
}
.inline-edit-row fieldset ul.cat-checklist li,
.inline-edit-row fieldset ul.cat-checklist input {
margin: 0;
position: relative; /* RTL fix, #WP27629 */
}
.inline-edit-row fieldset ul.cat-checklist input {
margin-top: -1px;
margin-left: 3px;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-style: normal;
font-size: 11px;
}
.inline-edit-row fieldset label input.inline-edit-menu-order-input {
@@ -1107,48 +1078,27 @@ tr.inline-edit-row td {
float: left;
}
#bulk-titles,
ul.cat-checklist {
height: 14em;
border: 1px solid #ddd;
margin: 0 0 5px;
padding: 0.2em 5px;
overflow-y: scroll;
#bulk-titles {
line-height: 140%;
}
#bulk-titles div {
margin: 0.2em 0.3em;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
display: inline-block;
margin: 0;
padding: 3px 0;
line-height: 20px;
vertical-align: top;
#bulk-titles div a {
cursor: pointer;
display: block;
float: left;
height: 18px;
margin: 0 3px 0 -2px;
overflow: hidden;
position: relative;
width: 20px;
}
#bulk-titles .ntdelitem {
padding-left: 23px;
}
#bulk-titles .ntdelbutton {
width: 26px;
height: 26px;
margin: 0 0 0 -26px;
text-align: center;
border-radius: 3px;
}
#bulk-titles .ntdelbutton:before {
display: inline-block;
vertical-align: top;
}
#bulk-titles .ntdelbutton:focus {
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
/* Reset inherited offset from Gutenberg */
outline-offset: 0;
#bulk-titles div a:before {
position: relative;
top: -3px;
}
/*------------------------------------------------------------------------------
@@ -1344,7 +1294,7 @@ ul.cat-checklist {
}
.plugins tr.paused th.check-column {
border-left: 4px solid #b32d2e;
border-left: 4px solid #d63638;
}
.plugins tr.paused th,
@@ -1354,7 +1304,7 @@ ul.cat-checklist {
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #b32d2e;
color: #d63638;
}
.plugins .paused .error-display p,
@@ -1364,7 +1314,7 @@ ul.cat-checklist {
}
.plugins .resume-link {
color: #b32d2e;
color: #d63638;
}
.plugin-card .update-now:before {
@@ -1372,11 +1322,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 {
@@ -1398,17 +1348,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;
}
@@ -1636,7 +1575,6 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
@@ -1764,15 +1702,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;
@@ -1985,20 +1914,6 @@ div.action-links,
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: none;
width: 100%;
padding: 0;
}
#the-list .inline-edit-row .inline-edit-legend,
.inline-edit-row span.title {
font-size: 16px;
}
.inline-edit-row p.howto {
font-size: 14px;
}
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
margin-top: 0;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-col label,
@@ -2026,28 +1941,9 @@ div.action-links,
padding: 3px 4px;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
padding: 6px 0;
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-size: 16px;
line-height: 28px;
}
#bulk-titles .ntdelitem {
padding-left: 37px;
}
#bulk-titles .ntdelbutton {
width: 40px;
height: 40px;
margin: 0 0 0 -40px;
overflow: hidden;
}
#bulk-titles .ntdelbutton:before {
font-size: 20px;
line-height: 28px;
}
.inline-edit-row fieldset label span.title,
@@ -2055,6 +1951,10 @@ div.action-links,
float: none;
}
.inline-edit-row fieldset label.inline-edit-tags {
padding: 0 0.5em;
}
.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags {
padding: 0;
}
@@ -2084,6 +1984,14 @@ div.action-links,
display: block;
}
#bulk-titles div {
margin: 0.8em 0.3em;
}
#bulk-titles div a {
height: 22px;
}
/* Updates */
#wpbody-content .updates-table .plugin-title {
width: auto;

File diff suppressed because one or more lines are too long

View File

@@ -192,7 +192,7 @@
.media-item .original {
position: relative;
min-height: 34px;
height: 34px;
}
.media-item .progress {
@@ -782,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 {
@@ -850,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;
}
@@ -1237,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;
@@ -1287,25 +1269,6 @@ audio, video {
.copy-to-clipboard-container .success {
font-size: 14px;
}
/* Restructure image editor on narrow viewports. */
.imgedit-crop-wrap img{
width: 100%;
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .imgedit-settings {
position: initial !important;
}
.media-modal .imgedit-wrap .imgedit-settings {
box-sizing: border-box;
width: 100% !important;
}
.imgedit-settings .imgedit-scale-button-wrapper {
display: inline-block;
}
}
@media only screen and (max-width: 600px) {

File diff suppressed because one or more lines are too long

View File

@@ -191,7 +191,7 @@
.media-item .original {
position: relative;
min-height: 34px;
height: 34px;
}
.media-item .progress {
@@ -781,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 {
@@ -849,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;
}
@@ -1236,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;
@@ -1286,25 +1268,6 @@ audio, video {
.copy-to-clipboard-container .success {
font-size: 14px;
}
/* Restructure image editor on narrow viewports. */
.imgedit-crop-wrap img{
width: 100%;
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .imgedit-settings {
position: initial !important;
}
.media-modal .imgedit-wrap .imgedit-settings {
box-sizing: border-box;
width: 100% !important;
}
.imgedit-settings .imgedit-scale-button-wrapper {
display: inline-block;
}
}
@media only screen and (max-width: 600px) {

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 {
@@ -1018,8 +1020,4 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
#menu-locations-wrap .widefat {
width: 100%;
}
.bulk-select-button {
padding: 5px 10px;
}
}

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 {
@@ -1017,8 +1019,4 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
#menu-locations-wrap .widefat {
width: 100%;
}
.bulk-select-button {
padding: 5px 10px;
}
}

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%;

File diff suppressed because one or more lines are too long

View File

@@ -173,7 +173,6 @@ body.js .theme-browser.search-loading {
border-radius: 3px;
border: none;
transition: opacity 0.1s ease-in-out;
cursor: pointer;
}
.theme-browser .theme .more-details:focus {
@@ -1853,22 +1852,6 @@ body.full-overlay-active {
margin: 15px 0;
width: 258px;
border: 1px solid #c3c4c7;
position: relative;
overflow: hidden;
}
.install-theme-info .theme-screenshot > img {
width: 100%;
height: auto;
position: absolute;
right: 0;
top: 0;
}
.install-theme-info .theme-screenshot:after {
content: "";
display: block;
padding-top: 66.66666666%;
}
.install-theme-info .theme-details {

File diff suppressed because one or more lines are too long

View File

@@ -172,7 +172,6 @@ body.js .theme-browser.search-loading {
border-radius: 3px;
border: none;
transition: opacity 0.1s ease-in-out;
cursor: pointer;
}
.theme-browser .theme .more-details:focus {
@@ -1852,22 +1851,6 @@ body.full-overlay-active {
margin: 15px 0;
width: 258px;
border: 1px solid #c3c4c7;
position: relative;
overflow: hidden;
}
.install-theme-info .theme-screenshot > img {
width: 100%;
height: auto;
position: absolute;
left: 0;
top: 0;
}
.install-theme-info .theme-screenshot:after {
content: "";
display: block;
padding-top: 66.66666666%;
}
.install-theme-info .theme-details {

File diff suppressed because one or more lines are too long

View File

@@ -97,7 +97,7 @@ if ( ! empty( $autofocus ) && is_array( $autofocus ) ) {
}
$registered = $wp_scripts->registered;
$wp_scripts = new WP_Scripts();
$wp_scripts = new WP_Scripts;
$wp_scripts->registered = $registered;
add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 );
@@ -207,12 +207,7 @@ do_action( 'customize_controls_head' );
<span class="preview"><?php _e( 'Preview' ); ?></span>
</button>
<a class="customize-controls-close" href="<?php echo esc_url( $wp_customize->get_return_url() ); ?>">
<span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Close the Customizer and go back to the previous page' );
?>
</span>
<span class="screen-reader-text"><?php _e( 'Close the Customizer and go back to the previous page' ); ?></span>
</a>
</div>
@@ -235,12 +230,7 @@ do_action( 'customize_controls_head' );
printf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
?>
</span>
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Help' );
?>
</span></button>
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
</div>
<div class="customize-panel-description">
<p>
@@ -250,7 +240,7 @@ do_action( 'customize_controls_head' );
</p>
<p>
<?php
_e( '<a href="https://wordpress.org/documentation/article/customizer/">Documentation on Customizer</a>' );
_e( '<a href="https://wordpress.org/support/article/appearance-customize-screen/">Documentation on Customizer</a>' );
?>
</p>
</div>

View File

@@ -25,11 +25,6 @@ if ( $doaction ) {
check_admin_referer( 'bulk-comments' );
if ( 'delete_all' === $doaction && ! empty( $_REQUEST['pagegen_timestamp'] ) ) {
/**
* @global wpdb $wpdb WordPress database abstraction object.
*/
global $wpdb;
$comment_status = wp_unslash( $_REQUEST['comment_status'] );
$delete_time = wp_unslash( $_REQUEST['pagegen_timestamp'] );
$comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_ID FROM $wpdb->comments WHERE comment_approved = %s AND %s > comment_date_gmt", $comment_status, $delete_time ) );
@@ -140,11 +135,6 @@ $wp_list_table->prepare_items();
wp_enqueue_script( 'admin-comments' );
enqueue_comment_hotkeys_js();
/**
* @global int $post_id
*/
global $post_id;
if ( $post_id ) {
$comments_count = wp_count_comments( $post_id );
$draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '&hellip;' );
@@ -207,10 +197,10 @@ get_current_screen()->add_help_tab(
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/documentation/article/understand-comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts-classic-editor/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</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/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
);
get_current_screen()->set_screen_reader_content(
@@ -345,7 +335,7 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
}
}
echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br />\n", $messages ) . '</p></div>';
echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br/>\n", $messages ) . '</p></div>';
}
}
?>

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