Compare commits

...

142 Commits
6.2.2 ... 5.3.7

Author SHA1 Message Date
Aaron Jorbin
50adf70233 Tag 5.3.7
Built from https://develop.svn.wordpress.org/tags/5.3.7@50751


git-svn-id: http://core.svn.wordpress.org/tags/5.3.7@50360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 02:08:15 +00:00
Peter Wilson
abd76c1779 Version bump for 5.3.7.
Built from https://develop.svn.wordpress.org/branches/5.3@50740


git-svn-id: http://core.svn.wordpress.org/branches/5.3@50349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:37:47 +00:00
Peter Wilson
c888dd17cc Grouped merges for 5.3.7.
* REST API: Allow authors to read their own password protected posts.
* About page update

Merges [50717] to the 5.3 branch.

Built from https://develop.svn.wordpress.org/branches/5.3@50728


git-svn-id: http://core.svn.wordpress.org/branches/5.3@50337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:10:51 +00:00
Peter Wilson
7adb8b4e4d Editor: Update of @wordpress npm packages for 5.3.7.
Built from https://develop.svn.wordpress.org/branches/5.3@50724


git-svn-id: http://core.svn.wordpress.org/branches/5.3@50333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 00:58:57 +00:00
desrosj
40a294d21e Build/Test Tools: Backport GitHub Action and build improvements to the 5.3 branch.
This backports several build and test tool improvements to the 5.3 branch. Most notably, this includes:

- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- The ability to run PHPUnit tests from `src` instead of `build` [50441-50443].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.

Merges [50267,50299,50379,50387,50413,50416,50432,50435-50436,50441-50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590,50598] to the 5.3 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
Built from https://develop.svn.wordpress.org/branches/5.3@50605


git-svn-id: http://core.svn.wordpress.org/branches/5.3@50218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 19:23:55 +00:00
desrosj
7c466f7c74 Build/Test Tools: Support NodeJS 14.x in the 5.3 branch.
This updates the 5.3 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

In addition to backporting the package updates that happened after branching 5.3, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [47404,47867,47872-47873,48213,48705,49636,49933,49937,49939,49940,49983,49989,50017,50126,50176,50185] to the 5.3 branch.
See #52341.

Built from https://develop.svn.wordpress.org/branches/5.3@50190


git-svn-id: http://core.svn.wordpress.org/branches/5.3@49868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:16:11 +00:00
Sergey Biryukov
31270d4511 WordPress 5.3.6.
Built from https://develop.svn.wordpress.org/branches/5.3@49460


git-svn-id: http://core.svn.wordpress.org/branches/5.3@49219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 19:49:08 +00:00
whyisjake
22149ac868 Upgrade/Install: During the install process, add additional checking for exising tables.
This commit brings the changes in [49452] to the 5.3 branch.

If reinstalling WordPress, there is a condition where tables would exist in the database. Ensures that$

Fixes #51676.

Props xknown, garubi, mukesh27, desrosj, johnbillion, metalandcoffee, davidbaumwald, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.3@49455


git-svn-id: http://core.svn.wordpress.org/branches/5.3@49214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 18:29:07 +00:00
desrosj
98b1bc6752 WordPress 5.3.5.
Built from https://develop.svn.wordpress.org/branches/5.3@49411


git-svn-id: http://core.svn.wordpress.org/branches/5.3@49170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:36:14 +00:00
whyisjake
9138d6e6ca General: WordPress updates
* XML-RPC: Improve error messages for unprivileged users.
* External Libraries: Disable deserialization in Requests_Utility_FilteredIterator
* Embeds: Disable embeds on deactivated Multisite sites.
* Coding standards: Modify escaping functions to avoid potential false positives.
* XML-RPC: Return error message if attachment ID is incorrect.
* Upgrade/install: Improve logic check when determining installation status.
* Meta: Sanitize meta key before checking protection status.
* Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.

Brings the changes from [49380,49382-49388] to the 5.3 branch.

Props xknown, zieladam, peterwilsoncc, whyisjake, desrosj, dd32.

Built from https://develop.svn.wordpress.org/branches/5.3@49393


git-svn-id: http://core.svn.wordpress.org/branches/5.3@49152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 18:44:12 +00:00
desrosj
669c5eacf1 Build/Test Tools: Explicitly specify a version number in the .nvmrc file for the 5.3 branch.
This ensures the ability to run NodeJS related tasks when using `nvm install` or `nvm use` will continue to be usable as new versions of NodeJS are moved into LTS.

The alias `lts/*` currently resolves to NodeJS 12.x (which is the highest version of NodeJS supported in the 5.3 branch). However, `lts/*` will point to newer versions in the near future.

This also removes the explicit version when running `nvm install` during automated testing. The command will now fall back to the version in the `.nvmrc` file.

See #51603.
Built from https://develop.svn.wordpress.org/branches/5.3@49279


git-svn-id: http://core.svn.wordpress.org/branches/5.3@49039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-22 18:10:51 +00:00
Sergey Biryukov
4b84596f68 Administration: Pass the result of set-screen-option filter to the new set_screen_option_{$option} filter to ensure backward compatibility.
Rename the `$keep` parameter of both filters to `$screen_option` for clarity, update the documentation to better reflect its purpose.

Follow-up to [47951].

Props Chouby, sswells, SergeyBiryukov.
Merges [48241] to the 5.3 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/5.3@48245


git-svn-id: http://core.svn.wordpress.org/branches/5.3@48014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:47:03 +00:00
desrosj
1a89f620f9 WordPress 5.3.4.
Built from https://develop.svn.wordpress.org/branches/5.3@47990


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:34:05 +00:00
desrosj
b454439e6f General: Backport several commits for release.
- Embeds: Ensure that the title attribute is set correctly on embeds.
- Editor: Prevent HTML decoding on by setting the proper editor context.
- Formatting: Ensure that `wp_validate_redirect()` sanitizes a wider variety of characters.
- Themes: Ensure a broken theme name is returned properly.
- Administration: Add a new filter to extend `set-screen-option`.

Merges [47948-47951] to the 5.3 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.
Built from https://develop.svn.wordpress.org/branches/5.3@47959


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:00:01 +00:00
whyisjake
66d6663227 Editor: Bump dependencies for WordPress 5.4.1 release.
Changes:
 - @wordpress/block-library: 2.9.6 => 2.9.7
 - @wordpress/edit-post: 3.8.6 => 3.8.7

Fixes #50094.
Props talldanwp, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.3@47945


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 15:48:08 +00:00
Sergey Biryukov
7a55e4aa60 Comments: Ensure that unmoderated comments won't be search indexed.
After a comment is submitted, only allow a brief window where the comment is live on the site.

Props jonkolbert, ayeshrajans, Asif2BD, peterwilsoncc, imath, audrasjb, jonoaldersonwp, whyisjake, SergeyBiryukov.
Merges [47887] and [47889] to the 5.3 branch.
See #49956.
Built from https://develop.svn.wordpress.org/branches/5.3@47916


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-06 09:53:04 +00:00
Sergey Biryukov
85e65c746a Themes: Add "Block Editor Styles" and "Wide Blocks" to the list of WordPress theme features.
These were added to Theme Directory API in anticipation of being committed to core for WordPress 5.2+, which has not happened until now.

Follow-up to [meta8273].

Merges [47790] to the 5.3 branch.
See #46272.
Built from https://develop.svn.wordpress.org/branches/5.3@47792


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-14 09:23:12 +00:00
Sergey Biryukov
5cb06dca4f Help/About: WordPress 5.3.3 included 10 bug fixes in addition to security fixes.
Built from https://develop.svn.wordpress.org/branches/5.3@47726


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 22:13:06 +00:00
Sergey Biryukov
d99c518d40 Update the About page for WordPress 5.3.3
Built from https://develop.svn.wordpress.org/branches/5.3@47705


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:43:02 +00:00
desrosj
9e08f12e0d Actually, WordPress 5.3.3 comes first.
Built from https://develop.svn.wordpress.org/branches/5.3@47684


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:06:02 +00:00
desrosj
644cb5fc24 WordPress 5.3.4
Built from https://develop.svn.wordpress.org/branches/5.3@47667


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 17:57:14 +00:00
whyisjake
bb6a2aa182 Customize: Add additional filters to Customizer to prevent JSON corruption.
User: Invalidate `user_activation_key` on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
Block Editor: Coding standards, properly escape class names.
Cache API: Ensure proper escaping around the stats method in the cache API.
Formatting: Expand `sanitize_file_name` to have better support for utf8 characters.

Brings the changes in [47633], [47634], [47635], [47636], [47637], and [47638] to the 5.4 branch.

Props: aduth, batmoo, ehti, ellatrix, jorgefilipecosta, nickdaugherty, noisysocks, pento, peterwilsoncc, sergeybiryukov, sstoqnov, talldanwp, westi, westonruter, whyisjake, whyisjake, xknown.

Built from https://develop.svn.wordpress.org/branches/5.3@47644


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 16:06:08 +00:00
whyisjake
676e70c5c7 Bundled Themes: Update copyright year in readme.txt. - Revert [47629]
Reverts [47629] as the tests will be updated, rather then the themes.

Props peterwilsoncc, whyisjake.
Fixes #48566.

Built from https://develop.svn.wordpress.org/branches/5.3@47630


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-28 03:07:03 +00:00
whyisjake
5dee0c5fa4 Bundled Themes: Update copyright year in readme.txt.
Add a unit test to ensure the year stays up to date.

Extends [46721] to 2020 and the 5.3 branch.

Fixes #48566.


Built from https://develop.svn.wordpress.org/branches/5.3@47629


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-28 02:19:06 +00:00
Sergey Biryukov
b3d7e737ab Media: Improve the appearance of image editor on small and medium screens.
This prevents the main area of Edit Media screen from being pushed down too far.

Props sabernhardt, afercia, fierevere, sathyapulse, mikeschroder, johnbillion.
Merges [47418] to the 5.3 branch.
Fixes #48780. See #47136.
Built from https://develop.svn.wordpress.org/branches/5.3@47419


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-03 17:25:02 +00:00
Sergey Biryukov
511f7cb751 Privacy: Fix the URLs and legacy redirects for the personal data export and erasure screens.
Props Jurgen Oldenburg, garrett-eclipse.
Merges [47412] to the 5.3 branch.
Fixes #49476.
Built from https://develop.svn.wordpress.org/branches/5.3@47417


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-03 17:09:04 +00:00
Sergey Biryukov
0d0a870240 Tests: Correct assertions in test_site_dates_are_gmt().
`assertSame()` doesn't have the `$delta` parameter, only `assertEquals()` does.

Follow-up to [47313].

Merges [47318] to the 5.3 branch.
See #40364.
Built from https://develop.svn.wordpress.org/branches/5.3@47319


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-19 05:14:03 +00:00
Sergey Biryukov
cd6ac02117 Tests: Use delta comparison in test_site_dates_are_gmt() to avoid race conditions.
Merges [47313] to the 5.3 branch.
See #40364.
Built from https://develop.svn.wordpress.org/branches/5.3@47314


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-19 02:56:04 +00:00
Sergey Biryukov
77512de0c2 Administration: Correct alignment of form controls inside custom meta boxes.
Props audrasjb, dontdream, valentinbora.
Merges [47289] to the 5.3 branch.
Fixes #49013.
Built from https://develop.svn.wordpress.org/branches/5.3@47290


git-svn-id: http://core.svn.wordpress.org/branches/5.3@47090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-14 00:55:03 +00:00
Sergey Biryukov
4e55b9a259 Twenty Nineteen: Standardize the Required PHP and Tested Up To headers.
* Remove `WordPress` from `Requires at least` headers.
* Ensure the `Requires at least` and `Requires PHP` headers are present in the `style.css` file.

Follow-up to [46676], which updated `style-rtl.css`, but not `style.scss` or `style.css`.

Merges [47136] to the 5.3 branch.
See #48517.
Built from https://develop.svn.wordpress.org/branches/5.3@47137


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 20:08:04 +00:00
Sergey Biryukov
449c2e21f1 Media: Make sure attachment_url_to_postid() performs a case-sensitive search for the uploaded file name.
Previously, the first available match was returned, regardless of the case, which was not always the expected result.

Props archon810, ben.greeley, tristangemus, vsamoletov, SergeyBiryukov.
Merges [47010] to the 5.3 branch.
Fixes #39768.
Built from https://develop.svn.wordpress.org/branches/5.3@47132


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:36:03 +00:00
Sergey Biryukov
e6d839b936 Editor: Add unit tests for v5.3.1 block serialization functions.
[46896] was intended to have included unit tests for the block serialization functions added as part of the changeset.

Props aduth.
Merges [46997] to the 5.3 branch.
Fixes #49048.
Built from https://develop.svn.wordpress.org/branches/5.3@47131


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:21:05 +00:00
Sergey Biryukov
22b941b16e Upgrade/Install: Correct vertical alignment for "Continue" button on language selection during the install process.
Props garrett-eclipse, audrasjb.
Merges [47070] to the 5.3 branch.
Fixes #49018.
Built from https://develop.svn.wordpress.org/branches/5.3@47130


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:19:00 +00:00
Sergey Biryukov
3fc8c7687d Editor: Correct vertical alignment for "Published on" month dropdown in Classic Editor.
Props pratik-jain, justinahinon, audrasjb.
Merges [47072] to the 5.3 branch.
Fixes #49115.
Built from https://develop.svn.wordpress.org/branches/5.3@47129


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:17:02 +00:00
Sergey Biryukov
f5a8d325ee File Editor: Remove extra padding on submit button for "Select plugin/theme to edit" dropdown on smaller screens.
Props passoniate.
Merges [47071] to the 5.3 branch.
Fixes #49197.
Built from https://develop.svn.wordpress.org/branches/5.3@47128


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:14:04 +00:00
Sergey Biryukov
c7963618ca Date/Time: Use wp_date() to display the correct time of the next DST transition in Timezone setting on General Settings screen.
Props Rarst, autotutorial.
Merges [47073] to the 5.3 branch.
Fixes #49038.
Built from https://develop.svn.wordpress.org/branches/5.3@47127


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:12:04 +00:00
Sergey Biryukov
b1e2b6174d Media: After [46375], enable JavaScript translations for the media-views script.
Props ocean90, audrasjb.
Merges [47040] to the 5.3 branch.
Fixes #49134.
Built from https://develop.svn.wordpress.org/branches/5.3@47126


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 16:10:02 +00:00
Sergey Biryukov
dd4a67807a Build/Test Tools: Pass the TRAVIS_BRANCH and TRAVIS_PULL_REQUEST environment variables along to the Docker container.
This ensures that `WP_UnitTestCase::skipOnAutomatedBranches()` has access to these variables.

Correct the check for pull requests in `WP_UnitTestCase_Base::skipOnAutomatedBranches()`.

Merges [46999], [47000], and [47001] to the 5.3 branch.
Fixes #49050.
Built from https://develop.svn.wordpress.org/branches/5.3@47125


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 15:22:05 +00:00
Sergey Biryukov
5ae97a43f1 Post WordPress 5.3.2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.3@46995


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-18 22:49:03 +00:00
Sergey Biryukov
6abeb15791 WordPress 5.3.2
Built from https://develop.svn.wordpress.org/branches/5.3@46993


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-18 22:12:02 +00:00
Sergey Biryukov
9525d1c9f7 Help/About: Update the About page for 5.3.2.
Props audrasjb.
Fixes #49019.
Built from https://develop.svn.wordpress.org/branches/5.3@46992


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-18 16:02:03 +00:00
Sergey Biryukov
6f6975efde Post WordPress 5.3.2 RC1 version bump
Built from https://develop.svn.wordpress.org/branches/5.3@46984


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 22:25:03 +00:00
Sergey Biryukov
3aee1ab019 WordPress 5.3.2 RC1
Built from https://develop.svn.wordpress.org/branches/5.3@46983


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 22:11:02 +00:00
Sergey Biryukov
f1bcfd66d2 Tests: Use delta comparison in test_should_fall_back_to_last_post_modified() to avoid race conditions.
Merges [46981] to the 5.3 branch.
See #48957.
Built from https://develop.svn.wordpress.org/branches/5.3@46982


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 21:35:03 +00:00
Andrew Ozz
99c691c8e2 Upload: Fix the final file name collision test in wp_unique_filename() when uploading a file with upper case extension and limit it to run for each file in the directory + 1. Add a unit test to catch that in the future.
Props pbiron, azaozz.
Merges [46966] and [46976] to the 5.3 branch.
Fixes #48975.

Built from https://develop.svn.wordpress.org/branches/5.3@46980


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 21:20:03 +00:00
Andrew Ozz
fd030a496f Upload:
- Fix PHP warnings in `wp_unique_filename()` when the destination directory is unreadable.
- Run the final name collision test only for files that are saved to the uploads directory.
- Update the unit tests to match.

Props eden159, audrasjb, azaozz.
Merges [46965] to the 5.3 branch.
Fixes #48960.
Built from https://develop.svn.wordpress.org/branches/5.3@46979


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 21:12:03 +00:00
Sergey Biryukov
7b21983b01 Administration: Fix the colors in all color schemes for the .active class for buttons.
Props ryelle, audrasjb.
Merges [46967] to the 5.3 branch.
Fixes #49003.
Built from https://develop.svn.wordpress.org/branches/5.3@46978


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 21:03:02 +00:00
Sergey Biryukov
cd10cf0c79 Date/Time: Ensure that get_feed_build_date() correctly handles a modified post object with invalid date.
* Clarify in the documentation that the function returns `false` on failure.
* Consistently pass the return value through the `get_feed_build_date` filter.

Props Rarst, dd32, azaozz, tellyworth.
Merges [46974] and [46973] to the 5.3 branch.
Fixes #48957.
Built from https://develop.svn.wordpress.org/branches/5.3@46977


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 20:54:03 +00:00
Sergey Biryukov
6d7dca07b0 Date/Time: In wp_insert_post(), when checking the post date to set future or publish status, use a proper delta comparison.
[3525] allowed a difference up to 59 seconds between the post date/time and the current time to consider the post published instead of scheduled, but that didn't take start of a new minute into account.

Rapidly creating post fixtures in unit tests could encounter a one-second discrepancy between `current_time( 'mysql' )` and `gmdate( 'Y-m-d H:i:s' )`, returning values like `2019-12-16 23:43:00` vs. `2019-12-16 23:42:59`, respectively, and setting the post to a `future` status instead of `publish`.

[45851], while working as intended, made the issue somewhat more likely to occur.

This caused all sorts of occasional random failures in various tests on Travis, mostly on PHP 7.1.

Merges [46968] and [46969] to the 5.3 branch.
Fixes #48145.
Built from https://develop.svn.wordpress.org/branches/5.3@46975


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-17 20:47:06 +00:00
Sergey Biryukov
2c9cdc0550 Post WordPress 5.3.1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.3@46956


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-13 00:17:03 +00:00
Sergey Biryukov
5bbd15d57f WordPress 5.3.1
Built from https://develop.svn.wordpress.org/branches/5.3@46920


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 20:24:04 +00:00
Sergey Biryukov
6b07ab9913 Bundled Themes: Bump version number and update changelog in Twenty Twenty for WordPress 5.3.1.
This bumps the Twenty Twenty version number to `1.1` and update the `readme.txt` changelog.

Props audrasjb, sinatrateam, SergeyBiryukov, ianbelanger.
Merges [46902] to the 5.3 branch.
Fixes #48944.
Built from https://develop.svn.wordpress.org/branches/5.3@46905


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:31:04 +00:00
whyisjake
20740afc8f Prevent stored XSS in the block editor.
Brings r46896 to the 5.3 branch.

Prevent escaped unicode characters become unescaped in unsafe HTML during JSON decoding.


Built from https://develop.svn.wordpress.org/branches/5.3@46900


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:14:06 +00:00
whyisjake
58f8f500d3 Update wp_kses_bad_protocol() to recognize : on uri attributes,
`wp_kses_bad_protocol()` makes sure to validate that uri attributes don’t contain invalid/or not allowed protocols. While this works fine in most cases, there’s a risk that by using the colon html5 named entity, one is able to bypass this function.

Brings r46895 to the 5.3 branch.

Props: xknown, nickdaugherty, peterwilsoncc.

Built from https://develop.svn.wordpress.org/branches/5.3@46899


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:13:03 +00:00
whyisjake
8221d6d320 Prevent stored XSS through wp_targeted_link_rel().
Brings r46894 to the 5.3 branch.

Props: vortfu, whyisjake, peterwilsoncc, xknown,  SergeyBiryukov, flaviozavan.

Built from https://develop.svn.wordpress.org/branches/5.3@46898


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:11:01 +00:00
whyisjake
f0871560df Ensure that a user can publish_posts before making a post sticky.
Props: danielbachhuber, whyisjake, peterwilson, xknown.

Built from https://develop.svn.wordpress.org/branches/5.3@46897


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:09:02 +00:00
Sergey Biryukov
d9238aa70b Help/About: Update the About page for 5.3.1.
Props audrasjb, melchoyce.
Fixes #48945.
Built from https://develop.svn.wordpress.org/branches/5.3@46892


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 16:59:05 +00:00
Sergey Biryukov
f5aac93fa0 Post WordPress 5.3.1 RC2 version bump
Built from https://develop.svn.wordpress.org/branches/5.3@46890


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 00:00:03 +00:00
Sergey Biryukov
2910b5cfea WordPress 5.3.1 RC2
Built from https://develop.svn.wordpress.org/branches/5.3@46889


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-11 23:39:01 +00:00
Sergey Biryukov
409a89668a Upgrade/Install: Improve the appearance of language selection on install:
* Remove a stray chevron.
* Improve focus and hover styles.

Props garrett-eclipse, audrasjb.
Merges [46887] to the 5.3 branch.
Fixes #48927.
Built from https://develop.svn.wordpress.org/branches/5.3@46888


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-11 23:05:02 +00:00
Sergey Biryukov
c7d610fb02 Comments: Avoid a PHP notice in comment_form() if the email field is not set.
Follow-up to [46090].

Props mat-lipe.
Merges [46885] to the 5.3 branch.
Fixes #48943.
Built from https://develop.svn.wordpress.org/branches/5.3@46886


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-11 22:16:03 +00:00
Andrew Ozz
9e38fc8259 Fixes in admin-bar.js:
- Silence errors when a node doesn't exist similarly to jQuery.
- Add "feature testing" and fallbacks for old browsers as this may run on the front-end.
- Improve inline docs.

Props dinhtungdu, azaozz.
Merges [46883] to the 5.3 branch.
Fixes #47069.


Built from https://develop.svn.wordpress.org/branches/5.3@46884


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-11 20:23:05 +00:00
Sergey Biryukov
e4cf151207 Post WordPress 5.3.1 RC1 version bump
Built from https://develop.svn.wordpress.org/branches/5.3@46877


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-10 02:12:03 +00:00
Sergey Biryukov
17570cfbd8 WordPress 5.3.1 RC1
Built from https://develop.svn.wordpress.org/branches/5.3@46876


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-10 01:56:04 +00:00
Sergey Biryukov
6e0e255964 Coding Standards: Fix WPCS and JSHint issues in [46872].
Merges [46874] to the 5.3 branch.
See #47069.
Built from https://develop.svn.wordpress.org/branches/5.3@46875


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-10 01:38:02 +00:00
Andrew Ozz
d73f11a4ce Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package.
Props dinhtungdu, audrasjb, azaozz.
Merges [46872] to the 5.3 branch.
Fixes #47069.
Built from https://develop.svn.wordpress.org/branches/5.3@46873


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-10 01:08:03 +00:00
Sergey Biryukov
f5d738e01c Block Editor: Resolve @wordpress/block-directory to the expected version, 1.0.6.
Follow-up to [46860].

Props aduth, garrett-eclipse, audrasjb, azaozz.
Merges [46870] to the 5.3 branch.
Fixes #48884.
Built from https://develop.svn.wordpress.org/branches/5.3@46871


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 22:31:05 +00:00
Sergey Biryukov
3487611129 Menus: Avoid a PHP warning in add_submenu_page() when the same value is passed for both $parent_slug and $menu_slug parameters.
Props welcher, ispreview, ayeshrajans, NextScripts, adamsilverstein, garrett-eclipse, 123host.
Merges [46868] to the 5.3 branch.
Fixes #48599.
Built from https://develop.svn.wordpress.org/branches/5.3@46869


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 21:06:03 +00:00
Sergey Biryukov
ecdd9d8390 Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.

Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Merges [46866] to the 5.3 branch.
Fixes #48420.
Built from https://develop.svn.wordpress.org/branches/5.3@46867


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 20:28:04 +00:00
Sergey Biryukov
1cdaf142f2 Date/Time: XML-RPC: Сalculate the proper offset for GMT in wp.newPost, wp.editComment, mw.newPost, mw.editPost when post_date or comment_date is set.
Previously, `post_date` or `comment_date` was assumed to be GMT, which is only true if the timezone string for the site matches GMT.

Add unit tests.

Props Rarst, smerriman, justdaiv, wonderboymusic, noyle.
Merges [46864] to the 5.3 branch.
Fixes #30429.
Built from https://develop.svn.wordpress.org/branches/5.3@46865


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 20:08:06 +00:00
Sergey Biryukov
e5f1a70a87 Date/Time: When determining whether to decline the month name in wp_maybe_decline_date(), take word boundaries into account.
Add more unit tests.

Props Rarst, Clorith, timon33, Xendo, SergeyBiryukov.
Merges [46862] to the 5.3 branch.
Fixes #48606.
Built from https://develop.svn.wordpress.org/branches/5.3@46863


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 19:02:04 +00:00
Sergey Biryukov
44bff0da78 Block Editor: Bug fixes targeted for WordPress 5.3.1.
The list of included fixes:

- Edge scrolling issues https://github.com/WordPress/gutenberg/pull/17707
- Intermittent JavaScript issues https://github.com/WordPress/gutenberg/pull/18559
- Remove embed CollegeHumor https://github.com/WordPress/gutenberg/pull/18591 

Updated packages:

- @wordpress/block-directory@1.0.6
- @wordpress/block-editor@3.2.5
- @wordpress/block-library@2.9.6
- @wordpress/core-data@2.7.5
- @wordpress/edit-post@3.8.6
- @wordpress/editor@9.7.6
- @wordpress/format-library@1.9.5

Props youknowriad, ellatrix, epiqueras, audrasjb, gziolo, mcsf, kyliesabra.
Merges [46860] to the 5.3 branch.
Fixes #48884.
Built from https://develop.svn.wordpress.org/branches/5.3@46861


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 17:42:10 +00:00
Sergey Biryukov
01bd5c0eed Upgrade/Install: Update sodium_compat to v1.12.1.
This includes a speedup for signature verification on most platforms and bugfixes for 32-bit platforms.

Props paragoninitiativeenterprises, lukaswaudentio.
Merges [46858] to the 5.3 branch.
Fixes #48371.
Built from https://develop.svn.wordpress.org/branches/5.3@46859


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 16:46:03 +00:00
Sergey Biryukov
d01a9c3c46 Media: Use consistent width for Scale and Crop inputs.
Follow-up to [46359].

Props sabernhardt, audrasjb.
Merges [46856] to the 5.3 branch.
Fixes #48907.
Built from https://develop.svn.wordpress.org/branches/5.3@46857


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 16:25:04 +00:00
Sergey Biryukov
e3c254bf75 Bundled Themes: Misaligned input placeholder text Twenty Twenty.
This fixes placeholder misalignment in Firefox when a `height` is added as an inline style to the input field.

Props aljullu, subratamal, ianbelanger.
Merges [46851], [46854] to the 5.3 branch.
Fixes #48876.
Built from https://develop.svn.wordpress.org/branches/5.3@46855


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 16:20:03 +00:00
Sergey Biryukov
ba1ec74fdc Help/About: Add a hover effect for links on About pages.
* Add a color that passes WCAG color contrast criteria to every link.
* Add an underline for links in credits list only on hover/focus.

Props audrasjb, ixkaito, mukesh27, melchoyce, SergeyBiryukov.
Merges [46852] to the 5.3 branch.
Fixes #48582.
Built from https://develop.svn.wordpress.org/branches/5.3@46853


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 15:33:03 +00:00
Sergey Biryukov
a590a590a3 Twenty Twenty: Remove redundant echo for bloginfo() call in footer.php.
Props acosmin.
Merges [46849] to the 5.3 branch.
Fixes #48918.
Built from https://develop.svn.wordpress.org/branches/5.3@46850


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 15:02:04 +00:00
Sergey Biryukov
06ebac2233 Twenty Twenty: Adds Customizer option to show or hide author bio.
This adds an option to the Customizer that allows you to turn the author bio on or off, sitewide.

Props williampatton, nielslange, acosmin, dlh, ianbelanger.
Merges [46813] to the 5.3 branch.
Fixes #48550.
Built from https://develop.svn.wordpress.org/branches/5.3@46848


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 14:41:04 +00:00
Sergey Biryukov
7e5d62f195 Twenty Twenty: Make checkbox in comment form larger.
This makes the checkbox in the comment form larger and more consistent with other checkboxes.

Props kharisblank, audrasjb, ianbelanger.
Merges [46844] to the 5.3 branch.
Fixes #48652.
Built from https://develop.svn.wordpress.org/branches/5.3@46847


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 14:32:03 +00:00
Sergey Biryukov
05b9f27d11 Administration: Correct checkbox width in list tables on smaller screens.
Previously, checkboxes for pending comments were partially hidden due to an added `4px` border.

Props audrasjb, jeremyfelt, talldanwp, melchoyce, marcelo2605, waleedt93.
Merges [46845] to the 5.3 branch.
Fixes #48815.
Built from https://develop.svn.wordpress.org/branches/5.3@46846


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 14:30:02 +00:00
Sergey Biryukov
9870e114af Accessibility: Menus: Properly disable form controls on the Menus screen that cannot be used until at least one menu is created.
This ensures that the actual UI controls state matches the visually conveyed state.

Props afercia, audrasjb, dinhtungdu, sathyapulse, simonjanin, welcher, SergeyBiryukov.
Merges [46842] to the 5.3 branch.
Fixes #48409.
Built from https://develop.svn.wordpress.org/branches/5.3@46843


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 13:51:02 +00:00
Sergey Biryukov
ad8e49e8dd Twenty Twenty: Correct alignment for embedded Instagram posts.
Props SGr33n, audrasjb, nielslange, JarretC.
Merges [46840] to the 5.3 branch.
Fixes #48688.
Built from https://develop.svn.wordpress.org/branches/5.3@46841


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 13:41:00 +00:00
Sergey Biryukov
97b8443321 Users: Introduce admin_email_remind_interval filter for dismissing the admin email confirmation screen.
Props desrosj, birgire.
Merges [46838], [46837] to the 5.3 branch.
Fixes #48334.
Built from https://develop.svn.wordpress.org/branches/5.3@46839


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 13:30:03 +00:00
Sergey Biryukov
176a6206a3 Upload: fix wp_unique_filename() to prevent name collisions with existing or future image sub-size file names, and add unit tests.
Props Viper007Bond, pbiron, azaozz.
Merges [46822], [46835] to the 5.3 branch.
Fixes #42437.
Built from https://develop.svn.wordpress.org/branches/5.3@46836


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 12:21:03 +00:00
Sergey Biryukov
d6875bc495 Upload: Exclude PNG images from scaling after uploading. Fixes a case where resizing a very large PNG may create a scaled image that has smaller dimensions but larger file size than the original.
Props azaozz.
Merges [46809] to the 5.3 branch.
Fixes #48736.
Built from https://develop.svn.wordpress.org/branches/5.3@46834


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 12:04:02 +00:00
Sergey Biryukov
33da7d7e7f Twenty Twenty: Pass $post_meta and $location values to twentytwenty_start_of_post_meta_list and twentytwenty_end_of_post_meta_list actions to provide better context.
Props msaari, SergeyBiryukov.
Merges [46832] to the 5.3 branch.
Fixes #48906.
Built from https://develop.svn.wordpress.org/branches/5.3@46833


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 11:51:05 +00:00
Sergey Biryukov
bd3bd0c6ff Twenty Twenty: Replace Smooth Scroll JS implementation with scroll-behavior CSS property.
The JS implementation had multiple issues and did not work as expected.

This change includes an accessibility enhancement by using `prefers-reduced-motion: reduce` media query property for users that don't want motion effects. For further explanation on this media query, see MDN documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Accessibility_concerns

Props audrasjb, melchoyce, joostdevalk, Anlino, mauteri, sergiomdgomes, littlebigthing, williampatton, netweb, andraganescu, joyously, acosmin, mukesh27, hareesh-pillai.
Merges [46824] to the 5.3 branch.
Fixes #48763, #48551, #48866.
Built from https://develop.svn.wordpress.org/branches/5.3@46825


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 11:08:01 +00:00
Sergey Biryukov
4c4662e95c Accessibility: Administration: Correct active button color for the alternative color schemes.
Follow-up to [46815].

Props melchoyce, ryelle, larrach, audrasjb, studiotwee, afercia, azaozz.
Merges [46817] to the 5.3 branch.
Fixes #48598.
Built from https://develop.svn.wordpress.org/branches/5.3@46818


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-05 22:14:04 +00:00
Sergey Biryukov
6cd7126ff2 Accessibility: Administration: Apply a unified design to all secondary buttons across all color schemes.
This ensures that secondary buttons have an appropriate color contrast in the alternative color schemes.

Props melchoyce, ryelle, audrasjb, ate-up-with-motor, afercia, sabernhardt.
Merges [46815] to the 5.3 branch.
Fixes #48585.
Built from https://develop.svn.wordpress.org/branches/5.3@46816


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-05 21:34:05 +00:00
Sergey Biryukov
b7f33680dc Site Health: Add a test for PHP default timezone.
The test reports a failure if the default timezone was changed with `date_default_timezone_set()` to anything other than `UTC`.

WordPress historically uses `UTC` as the default timezone for calculating date and time offsets, overriding it is not recommended and can cause widespread and obscure issues.

Props Rarst, Clorith, TimothyBlynJacobs.
Merges [46797] to the 5.3 branch.
Fixes #48692.
Built from https://develop.svn.wordpress.org/branches/5.3@46798


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-28 15:57:05 +00:00
Sergey Biryukov
9156181d27 Date/Time: Make get_permalink() more resilient against PHP timezone changes.
Overriding default PHP timezone with `date_default_timezone_set()`, while not recommended, should not inadvertently result in changing existing permalinks.

Add a unit test.

Props Rarst, steevithak, archon810, maciejmackowiak, Ov3rfly, Cybr, hometowntrailers, scvleon, miette49.
Merges [46795] to the 5.3 branch.
Fixes #48623.
Built from https://develop.svn.wordpress.org/branches/5.3@46796


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-28 13:57:02 +00:00
Sergey Biryukov
2fed57f1b0 KSES: Add support for gradient backgrounds.
Props jorgefilipecosta.
Merges [46793] to the 5.3 branch.
Fixes #48376.
Built from https://develop.svn.wordpress.org/branches/5.3@46794


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-28 00:31:02 +00:00
Sergey Biryukov
b06ee36d81 Users: Display admin email verification screen in user's locale instead of site locale.
Props sathyapulse, TimothyBlynJacobs.
Merges [46788] to the 5.3 branch.
Fixes #48313.
Built from https://develop.svn.wordpress.org/branches/5.3@46789


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-27 14:40:00 +00:00
desrosj
6f3a28818e Bundled Themes: Fixes JS TypeError in Twenty Twenty.
On mobile devices using a webkit browser, the menu and search modals could not be opened due to a `TypeError: document.body is null`. This commit fixes that issue by adding a `touch-enabled` class to the body for browsers that do not support media queries.

Props quicoto, poena, Boga86, acosmin, macmanx, ianbelanger.
Fixes #48601.
Built from https://develop.svn.wordpress.org/branches/5.3@46787


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-26 18:43:04 +00:00
Sergey Biryukov
d6c12ac919 Users: Use correct variable when displaying the Additional Capabilities list in user profile.
Addresses a regression in [45926].

Props wpgurudev, aravindajith, anantajitjg, davidbaumwald.
Merges [46782] to the 5.3 branch.
Fixes #48725.
Built from https://develop.svn.wordpress.org/branches/5.3@46783


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 14:03:02 +00:00
Sergey Biryukov
fd1e68a6a4 Widgets: Avoid to move focus to the Image Widget "Insert from URL" field.
Fixes a bug after [45499], where the backbone view element isn't the input field any longer. Also, managing focus programmatically is often an assumption on a specific user flow and should generally be avoided, see #43169.

Props dufresnesteven, afercia.
Merges [46745] to the 5.3 branch.
See #43169.
Fixes #48588.
Built from https://develop.svn.wordpress.org/branches/5.3@46781


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 13:51:03 +00:00
Sergey Biryukov
50f419f0a8 Options, Meta APIs: Avoid a race condition causing the first of two subsequent requests updating different options at the same time to lose changes.
Every time an autoloaded option is updated or deleted, the `alloptions` cache is similarly updated. Due to the race condition, on any autoloaded option being updated, every other autoloaded option had its value set to the value at load time, causing a mismatch between the data in the persistent cache and the database.

This change introduces a `$force_cache` parameter for `wp_load_alloptions()` to force an update of the local `alloptions` cache from the persistent cache when an option is added, updated, or deleted, to minimize the chance of affecting other options.

Props fabifott, rmccue, tollmanz, johnjamesjacoby, spacedmonkey, dd32, jipmoors, tellyworth, jeremyclarke, joehoyle, boonebgorges, danielbachhuber, flixos90, jeichorn, mihdan, Grzegorz.Janoszka, SergeyBiryukov.
Merges [46753] and [46779] to the 5.3 branch.
Fixes #31245.
Built from https://develop.svn.wordpress.org/branches/5.3@46780


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 13:46:12 +00:00
Sergey Biryukov
c54903a12e Accessibility: Media: Add an aria-pressed attribute to active button within a button group.
The `aria-pressed` attribute communicates semantically the "active" state of buttons that otherwise only look "active".

Props afercia.
Merges [46748] to the 5.3 branch.
Fixes #48355.
Built from https://develop.svn.wordpress.org/branches/5.3@46778


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 11:20:02 +00:00
Sergey Biryukov
159068b2a0 Accessibility: Add an aria-current attribute to the Media Library switch links.
The `aria-current` attribute is a simple, effective, way to help assistive technology users orientate themselves within a set of items.

Props mayanksonawat, afercia.
Merges [46746] to the 5.3 branch.
Fixes #48271.
Built from https://develop.svn.wordpress.org/branches/5.3@46777


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 10:23:03 +00:00
Sergey Biryukov
ff1db3c4a9 Docs: Fix typo in wp_credits_section_title() description.
Switch descriptions for `wp_credits_section_title()` and `wp_credits_section_list()` to third-person singular verbs, per the documentation standards.

Props hareesh-pillai.
Merges [46738] to the 5.3 branch.
Fixes #48674.
Built from https://develop.svn.wordpress.org/branches/5.3@46776


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 10:20:03 +00:00
Sergey Biryukov
4baea39a4d Editor: Improve the appearance of tag cloud in Tags meta box in classic editor.
Props sathyapulse, Spaceshipone, tmatsuur, audrasjb, afercia.
Merges [46758] to the 5.3 branch.
Fixes #48592.
Built from https://develop.svn.wordpress.org/branches/5.3@46775


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 10:14:04 +00:00
Sergey Biryukov
abbe0c7912 Date/Time: Remove mysql2date() usage in get_feed_build_date() to ensure the output includes correct timezone offset.
With the changes in [45908], `mysql2date()` works correctly for all local time inputs, but should not be used for UTC time inputs.

Add a unit test.

Props Rarst, lisota.
Merges [46756] and [46757] to the 5.3 branch.
Fixes #48675.
Built from https://develop.svn.wordpress.org/branches/5.3@46774


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 10:12:01 +00:00
Sergey Biryukov
35e045286d Media: Avoid a PHP notice in image_downsize() when trying to replace a non-image URL with a rendered image from its meta.
Props Mte90, jrf, hareesh-pillai.
Merges [46772] to the 5.3 branch.
Fixes #48324.
Built from https://develop.svn.wordpress.org/branches/5.3@46773


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-25 10:09:01 +00:00
Sergey Biryukov
0a417c0dc9 Accessibility: Administration: Underline links on Dashboard that are located within a line of text and thus need to be underlined:
* "change your theme completely"
* Active theme in the "At a Glance" box
* "View all drafts" in the Quick Draft box

Split "Manage widgets or menus" into separate items for consistency with other links.

For better accessibility, links that are a part of other text should be underlined and not rely on color alone to be distinguished.

Per accessibility coding standards:
> When links can be identified as such by the context, for example because they’re part of a menu, or a set of links clearly identified as user interface controls, they don’t necessarily need to be underlined. In all the other cases, especially for links surrounded by other text (in a line or block of text), links need to be always underlined.
https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/#links-underline-or-no-underline
https://make.wordpress.org/accessibility/handbook/design/use-of-color/#not-by-color-alone

Props afercia, audrasjb, karmatosed.
Merges [46770] to the 5.3 branch.
Fixes #48406.
Built from https://develop.svn.wordpress.org/branches/5.3@46771


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-24 20:00:04 +00:00
Sergey Biryukov
7df949e31e Twenty Twenty: Fix typos in a variable name and inline comment in assets/js/color-calculations.js.
Props tanvirul.
Merges [46747] to the 5.3 branch.
Fixes #48704.
Built from https://develop.svn.wordpress.org/branches/5.3@46769


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-24 11:05:02 +00:00
Sergey Biryukov
27e67093f7 Embeds: Remove CollegeHumor oEmbed provider, as the service does not exist anymore.
Props audrasjb, youknowriad.
Merges [46761] to the 5.3 branch.
Fixes #48696.
Built from https://develop.svn.wordpress.org/branches/5.3@46768


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-24 11:03:02 +00:00
Sergey Biryukov
e5296ce359 Twenty Twenty: Correctly align the author bio and bottom post meta on single posts on mobile.
Props nielslange, Anlino.
Merges [46762] to the 5.3 branch.
Fixes #48619.
Built from https://develop.svn.wordpress.org/branches/5.3@46767


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-24 11:01:04 +00:00
Sergey Biryukov
51ba5fd05b Twenty Twenty: Remove duplicate array key/value in TwentyTwenty_Non_Latin_Languages::get_non_latin_css().
Props manikmist09.
Merges [46765] to the 5.3 branch.
Fixes #48624.
Built from https://develop.svn.wordpress.org/branches/5.3@46766


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-24 10:59:04 +00:00
Sergey Biryukov
01c05f6ba4 Post WordPress 5.3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.3@46728


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 21:57:01 +00:00
Sergey Biryukov
1d39158963 WordPress 5.3.
Built from https://develop.svn.wordpress.org/branches/5.3@46726


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 20:28:04 +00:00
Sergey Biryukov
ace691cd92 Help/About: Move images to the CDN.
Props ryelle.
Merges [46724] to the 5.3 branch.
Fixes #47708.
Built from https://develop.svn.wordpress.org/branches/5.3@46725


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 18:32:03 +00:00
Sergey Biryukov
adfc7aad8d Bundled Themes: Update Twenty Twenty.
This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46715], see fa8c3fc...a9e73ab.

Props Anlino, karmatosed, williampatton, poena, joyously, ianbelanger, chetan200891.
See #48110, #48386, #48450, #48505, #48557.
Merges [46722] to the 5.3 branch.
Fixes #48571.
Built from https://develop.svn.wordpress.org/branches/5.3@46723


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 18:26:03 +00:00
Sergey Biryukov
492e68fa7c Bundled Themes: Update copyright year in readme.txt.
Add a unit test to ensure the year stays up to date.

Props dkarfa, SergeyBiryukov.
Merges [46719] and [46720] to the 5.3 branch.
Fixes #48566.
Built from https://develop.svn.wordpress.org/branches/5.3@46721


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 18:06:04 +00:00
Sergey Biryukov
1bbf386977 Post WordPress 5.3 RC5 version bump.
Built from https://develop.svn.wordpress.org/branches/5.3@46718


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 02:48:03 +00:00
Sergey Biryukov
c6be5ae66c WordPress 5.3 RC5.
Built from https://develop.svn.wordpress.org/branches/5.3@46717


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 02:19:01 +00:00
Sergey Biryukov
70f65b8fcd Bundled Themes: Update Twenty Twenty.
* Add `.has-background` excluding condition to wide and full group-blocks.

This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46714], see 162edc0...fa8c3fc.

Reviewed by azaozz, SergeyBiryukov.
Props allancole, karmatosed.
See #48110, #48386, #48450, #48505.
Merges [46715] to the 5.3 branch.
Fixes #48557.
Built from https://develop.svn.wordpress.org/branches/5.3@46716


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 02:08:02 +00:00
Sergey Biryukov
f8218720fb Bundled Themes: Update Twenty Twenty.
* Add a11y-friendly default text-colors when selecting a background-color.
* Remove margins for the group block when a background-color is set.
* Excluding pullquote block from width resize rules.

This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46711], see ab5fa23...162edc0.

Reviewed by azaozz, SergeyBiryukov.
Props allancole, karmatosed.
See #48110, #48386, #48450, #48505.
Merges [46713] to the 5.3 branch.
Fixes #48557.
Built from https://develop.svn.wordpress.org/branches/5.3@46714


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 01:46:02 +00:00
Sergey Biryukov
4c19b2c3c3 Bundled Themes: Update Twenty Twenty.
This brings Twenty Twenty in sync with GitHub. For a full list of changes since 5.3 RC4, see c267289...ab5fa23.

Reviewed by SergeyBiryukov.
Props williampatton, poena, andersnoren, desrosj, schlessera, leprincenoir, alextran, aristath, b-07, allancole, karmatosed, pierlo, joen, ianbelanger.
See #48110, #48386, #48450, #48505.
Merges [46701], [46702], [46711] to the 5.3 branch.
Fixes #48557.
Built from https://develop.svn.wordpress.org/branches/5.3@46712


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 21:05:01 +00:00
Sergey Biryukov
79ea28c053 Help/About: Update the 5.3 About page.
* Remove the SVG from the upper right corner.
* Make sure admin notices that should be hidden stay hidden.
* Address a11y issues with contrast.
* Fix an issue with the active nav tab hover.
* Prevent names on the credits from breaking out of the box.
* Update two strings with a more accurate information.
* Remove extra padding on the Credits tab.

Previously [46556], [46572], [46616].

Reviewed by SergeyBiryukov.
Props ryelle, afercia, audrasjb, francina, mapk, desrosj, YordanSoares, melchoyce, azaozz, johnbillion, davidbaumwald, luminuu, bwmarkle, la-geek, SergeyBiryukov.
Merges [46705] and [46709] to the 5.3 branch.
Fixes #47708.
Built from https://develop.svn.wordpress.org/branches/5.3@46710


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 20:48:02 +00:00
Sergey Biryukov
f542e3f870 Tests: Fix a typo in an inline comment introduced in [46568].
Reviewed by whyisjake, SergeyBiryukov.
Props david.binda.
Merges [46707] to the 5.3 branch.
Fixes #48564. See #48312.
Built from https://develop.svn.wordpress.org/branches/5.3@46708


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 20:32:05 +00:00
whyisjake
d804c8218d Comments: Check if comment form element exists before adding a key handler to detect the cmd/ctrl-enter key press.
Brings [46700] to the 5.3 branch.

Follow-up to [45790].
Props raamdev.
Fixes #48543. See #41545.


Built from https://develop.svn.wordpress.org/branches/5.3@46706


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 16:59:02 +00:00
Sergey Biryukov
0dcfbcca36 Script Loader: In wp_default_packages_inline_scripts(), make sure the root URL middleware is registered before using the media middleware.
This allows for requests to retry post-processing large images using the `post-process` REST API endpoint to work as expected.

Reviewed by johnbillion, youknowriad, SergeyBiryukov.
Props azaozz, mikeschroder, TimothyBlynJacobs, epiqueras, johnbillion, youknowriad.
Merges [46703] to the 5.3 branch.
Fixes #48542.
Built from https://develop.svn.wordpress.org/branches/5.3@46704


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 15:13:02 +00:00
Sergey Biryukov
a4ea358a27 Bundled Themes: Standardize the Required PHP and Tested Up To headers.
This change makes several changes to ensure consistency and accuracy for default theme headers:

- Removes `WordPress` from `Requires at least` headers.
- Ensures the `Requires at least` and `Requires PHP` headers are present in every default theme’s `style.css` file.
- Ensures `Tested up to` is present in every `readme.txt` file.
- Removes any headers not processed in both the `style.css` and `readme.txt` files for each theme.

Props Otto42, afragen.
Merges [46676] to the 5.3 branch.
Fixes #48517.
Built from https://develop.svn.wordpress.org/branches/5.3@46699


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 11:39:04 +00:00
Andrew Ozz
5e93894c98 Upload: When an image was scaled because it is larger than the big image threshold, use the originally uploaded image's dimensions in wp_get_missing_image_subsizes(). Fixes an edge case/inconsistent behaviour when a registered image sub-size is also larger than the big image threshold.
Props desrosj, azaozz.
Merges [46677] to the 5.3 branch.
Fixes #48518.
Built from https://develop.svn.wordpress.org/branches/5.3@46680


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-08 22:58:03 +00:00
John Blackbourn
69f5738ed0 Post WordPress 5.3 RC4 version bump.
Built from https://develop.svn.wordpress.org/branches/5.3@46673


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-06 00:02:02 +00:00
John Blackbourn
3189b48619 WordPress 5.3 RC4.
Built from https://develop.svn.wordpress.org/branches/5.3@46672


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 23:24:02 +00:00
desrosj
f252700dec Bundled Themes: Update Twenty Twenty.
This brings Twenty Twenty in sync with GitHub. For a full list of changes since 5.3 RC3, see dea9290...c267289.

Props williampatton, poena, andersnoren.
See #48110, #48386, #48450, #48293.
Fixes #48505.
Built from https://develop.svn.wordpress.org/branches/5.3@46669


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 22:30:04 +00:00
desrosj
30ea8d0dd9 Emoji: Upgrade Twemoji to 12.1.3.
This point release does not add any images and only slightly modifies a few images without changing their meanings. Because of this, the same CDN location can be used and has been updated.

Merges [46665] to the 5.3 branch.

Reviewed by desrosj, SergeyBiryukov.
Props matstars, desrosj, Otto42, pento.
Fixes #48293.
Built from https://develop.svn.wordpress.org/branches/5.3@46667


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 22:16:02 +00:00
John Blackbourn
181367b5c6 Block Editor: Bug fixes targeted for WordPress 5.3 RC4.
Merges [46656] to the 5.3 branch.
Fixes #48502

Built from https://develop.svn.wordpress.org/branches/5.3@46666


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 22:06:04 +00:00
Andrew Ozz
1d815800d4 Media: Remove the variable number (from the big image threshold value) when generating file names for scaled images. This makes it easier to "calculate" the full size file name from the name of an intermediate size image.
Props ianmjones, azaozz.
Merges [46658] to the 5.3 branch.
Fixes #48453.
Built from https://develop.svn.wordpress.org/branches/5.3@46659


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 20:58:02 +00:00
Andrew Ozz
9ef78246d8 Upload:
- Run the `wp_generate_attachment_metadata` filter at the end in `wp_update_image_subsizes()` when new metadata was generated and additional image sub-sizes were created.
- Add another arg in the `wp_generate_attachment_metadata` filter for additional context.
- Fix inline docs and ensure the new image meta is always saved before starting image post-processing.

Props SergeyBiryukov, azaozz.
Merges [46621], [46622], and [46651] to the 5.3 branch.
Fixes #48472.
Built from https://develop.svn.wordpress.org/branches/5.3@46655


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 18:44:02 +00:00
whyisjake
645ce999a7 Revert: Undo r46639.
This was meant to be committed to /trunk. 

See #48337.

Built from https://develop.svn.wordpress.org/branches/5.3@46653


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 17:36:03 +00:00
whyisjake
7a8e558ac4 REST API: Fix for Yoda condition.
Little coding standards fix for the REST API.

Props mukesh27, spenserhale.
Fixes #48337.

Built from https://develop.svn.wordpress.org/branches/5.3@46639


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-03 18:34:04 +00:00
Dion Hulse
efacf16e12 Bump Akismet external to 4.1.3.
See #WP47269.


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-02 15:32:55 +00:00
desrosj
6b9ce11634 Post WordPress 5.3 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.3@46619


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 21:16:05 +00:00
desrosj
ae762f145f WordPress 5.3 RC3.
Built from https://develop.svn.wordpress.org/branches/5.3@46618


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 20:56:03 +00:00
desrosj
4a89da0ff3 Help/About: Update the 5.3 About page for RC3.
Previously [46556], [46572].

Reviewed by azaozz, desrosj.
Merges [46616] to the 5.3 branch.
Props ryelle, SergeyBiryukov, afercia, desrosj, davidbaumwald, azaozz.
See #47708.
Built from https://develop.svn.wordpress.org/branches/5.3@46617


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 20:13:03 +00:00
whyisjake
d68a6ab321 Build/Test Tools: Don't hardcode the directory name of the repo
When Travis builds the directory, it was looking for a hardcoded wordpress-develop directory. If the repo is sitting in another directory, the memcache install will fail. This allows a dynamic path for the directory.

Fixes #48444.

Props pento, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.3@46615


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 19:19:06 +00:00
desrosj
749596e95c Bundled Themes: Update Twenty Twenty.
This brings Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46571], see 4549fd9...dea9290.

Reviewed by ianbelanger, SergeyBiryukov, desrosj.
Props anlino, ianbelanger, poena, williampatton, collet, erikkroes, torres126, intimez, byalextran, mehidi258, swapnild, nielslange.
Merges [46613] to the 5.3 branch.
Fixes #48450.
Built from https://develop.svn.wordpress.org/branches/5.3@46614


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 16:42:05 +00:00
gziolo
5bb6344302 Block Editor: Bug fixes targetted for WordPress 5.3 RC3.
The list of included fixes is:
https://github.com/WordPress/gutenberg/pull/18108
https://github.com/WordPress/gutenberg/pull/18051
https://github.com/WordPress/gutenberg/pull/18106
https://github.com/WordPress/gutenberg/pull/18102
Updated packages:
@wordpress/api-fetch@3.6.4
@wordpress/block-directory@1.0.4
@wordpress/block-library@2.9.4
@wordpress/core-data@2.7.4
@wordpress/data-controls@1.3.4
@wordpress/edit-post@3.8.4
@wordpress/editor@9.7.4
@wordpress/list-reusable-blocks@1.8.4
@wordpress/media-utils@1.2.4
@wordpress/server-side-render@1.3.4

Props desrosj, youknowriad.
Merges [{46606}] to the 5.3 branch.
See #48447.



Built from https://develop.svn.wordpress.org/branches/5.3@46611


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 09:59:08 +00:00
Sergey Biryukov
4b2996f926 Date/Time: Remove incomplete and redundant test for get_post_time() added in [46580].
There is no functional difference between `gmt_offset` and `timezone_string` timezone modes for the issue.

Props Rarst.
Merges [46583] to the 5.3 branch.
Fixes #48384.
Built from https://develop.svn.wordpress.org/branches/5.3@46584


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-25 15:34:40 +00:00
desrosj
d89b804670 Branch 5.3
Built from https://develop.svn.wordpress.org/branches/5.3@46581


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-25 14:20:08 +00:00
454 changed files with 11802 additions and 4829 deletions

View File

@@ -16,7 +16,7 @@ list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
@@ -26,15 +26,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</h1>
</div>
<div class="about__header-badge wp-badge">
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Version %s' ),
$display_version
);
?>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
@@ -56,9 +48,182 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</nav>
</div>
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.3.7'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.7' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
1
),
'5.3.6',
number_format_i18n( 1 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.6' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
'5.3.5'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.5' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
2
),
'5.3.4',
number_format_i18n( 2 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.4' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
10
),
'5.3.3',
number_format_i18n( 10 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.3' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
5
),
'5.3.2',
number_format_i18n( 5 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.2' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
46
),
'5.3.1',
number_format_i18n( 46 )
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '5.3.1' )
)
);
?>
</p>
</div>
</div>
<hr />
<div class="about__section is-feature">
<p>
<?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with new blocks, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>
<?php _e( '5.3 expands and refines the block editor introduced in WordPress 5.0 with a new block, more intuitive interactions, and improved accessibility. New features in the editor increase design freedoms, provide additional layout options and style variations to allow designers complete control over the look of a site. This release also introduces the Twenty Twenty theme giving the user more design flexibility and integration with the block editor. Creating beautiful web pages and advanced layouts has never been easier.' ); ?>
</p>
</div>
@@ -67,11 +232,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="about__section has-2-columns">
<div class="column is-edge-to-edge has-accent-background-color">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;utf8,%3Csvg width='660' height='818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='660' height='818' viewbox='0 0 660 818' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='99' y='178' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='231' y='310' width='99' height='99' fill='%2344141E'/%3E%3Crect x='330' y='409' width='132' height='132' fill='%23F4EFE1'/%3E%3Crect x='462' y='541' width='99' height='99' fill='%2344141E'/%3E%3C/svg%3E" alt="" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Block Editor Improvements' ); ?></h3>
<h2><?php _e( 'Block Editor Improvements' ); ?></h2>
<p>
<?php _e( 'This enhancement-focused update introduces over 150 new features and usability improvements, including improved large image support for uploading non-optimized, high-resolution pictures taken from your smartphone or other high-quality cameras. Combined with larger default image sizes, pictures always look their best.' ); ?>
</p>
@@ -84,7 +249,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Expanded Design Flexibility' ); ?></h3>
<h2><?php _e( 'Expanded Design Flexibility' ); ?></h2>
<p>
<?php
printf(
@@ -98,20 +263,20 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<li><?php _e( 'The new Group block lets you easily divide your page into colorful sections' ); ?></li>
<li><?php _e( 'The Columns block now supports fixed column widths' ); ?></li>
<li><?php _e( 'The new Predefined layouts make it a cinch to arrange content into advanced designs' ); ?></li>
<li><?php _e( 'Heading blocks now offer controls for text and background color' ); ?></li>
<li><?php _e( 'Heading blocks now offer controls for text color' ); ?></li>
<li><?php _e( 'Additional style options allow you to set your preferred style for any block that supports this feature' ); ?></li>
</ul>
</div>
<div class="column is-edge-to-edge has-accent-background-color">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;utf8,%3Csvg width='500' height='500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt="">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='500' height='500' viewbox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='75' y='200' width='150' height='75' fill='%2344141E'/%3E%3Crect x='175' y='75' width='50' height='100' fill='%2385273B'/%3E%3Crect x='75' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='250' y='200' width='175' height='75' fill='%2344141E'/%3E%3Crect x='350' y='75' width='75' height='100' fill='%2385273B'/%3E%3Crect x='250' y='75' width='75' height='100' fill='%23F4EFE1'/%3E%3Crect x='75' y='375' width='150' height='50' fill='%2344141E'/%3E%3Crect x='175' y='300' width='50' height='50' fill='%2385273B'/%3E%3Crect x='75' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3Crect x='250' y='372.5' width='175' height='52.5' fill='%2344141E'/%3E%3Crect x='350' y='300' width='75' height='50' fill='%2385273B'/%3E%3Crect x='250' y='300' width='75' height='50' fill='%23F4EFE1'/%3E%3C/svg%3E%0A" alt="">
</div>
</div>
</div>
<div class="about__section has-2-columns has-subtle-background-color">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Introducing Twenty Twenty' ); ?></h3>
<h2><?php _e( 'Introducing Twenty Twenty' ); ?></h2>
<p><?php _e( 'As the block editor celebrates its first birthday, we are proud that Twenty Twenty is designed with flexibility at its core. Show off your services or products with a combination of columns, groups, and media blocks. Set your content to wide or full alignment for dynamic and engaging layouts. Or let your thoughts be the star with a centered content column!' ); ?></p>
<p>
@@ -126,7 +291,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="https://cldup.com/rsaSI50LvZ.png" alt="" />
<img src="https://s.w.org/images/core/5.3/twentytwenty-mobile.png" alt="" />
</div>
</div>
</div>
@@ -134,7 +299,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="about__section has-subtle-background-color">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="https://cldup.com/8AuwuFLW0J.png" alt="" />
<img src="https://s.w.org/images/core/5.3/twentytwenty-desktop.png" alt="" />
</div>
</div>
</div>
@@ -142,26 +307,26 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<hr />
<div class="about__section has-3-columns">
<h3 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h3>
<h2 class="is-section-header"><?php _e( 'Improvements for Everyone' ); ?></h2>
<div class="column">
<h4><?php _e( 'Automatic Image Rotation' ); ?></h4>
<h3><?php _e( 'Automatic Image Rotation' ); ?></h3>
<p><?php _e( 'Your images will be correctly rotated upon upload according to the embedded orientation data. This feature was first proposed nine years ago and made possible through the perserverance of many dedicated contributors.' ); ?></p>
</div>
<div class="column">
<h4><?php _e( 'Site Health Checks' ); ?></h4>
<h3><?php _e( 'Site Health Checks' ); ?></h3>
<p><?php _e( 'The improvements introduced in 5.3 make it even easier to identify issues. Expanded recommendations highlight areas that may need troubleshooting on your site from the Health Check screen.' ); ?></p>
</div>
<div class="column">
<h4><?php _e( 'Admin Email Verification' ); ?></h4>
<p><?php _e( 'Youll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out out of your site if you change your email address.' ); ?></p>
<h3><?php _e( 'Admin Email Verification' ); ?></h3>
<p><?php _e( 'Youll now be periodically asked to confirm that your admin email address is up to date when you log in as an administrator. This reduces the chance of getting locked out of your site if you change your email address.' ); ?></p>
</div>
</div>
<div class="about__section">
<div class="column is-edge-to-edge">
<div class="about__image aligncenter">
<img src="data:image/svg+xml;utf8,%3Csvg width='1000' height='498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" />
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='498' viewbox='0 0 1000 498' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='865.463' y='36.8596' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='865.463' y='180.98' width='133.8' height='132.326' fill='%23942F44'/%3E%3Crect x='866.2' y='328.05' width='133.8' height='132.694' fill='%23942F44'/%3E%3Crect y='331.736' width='405.455' height='134.169' fill='%234E1521'/%3E%3Crect y='36.8596' width='405.455' height='129.008' fill='%234E1521'/%3E%3Crect y='184.298' width='387.025' height='133.8' fill='%234E1521'/%3E%3Crect x='719.13' y='34.6479' width='133.8' height='428.677' fill='%23BD3854'/%3E%3Crect x='571.323' y='18.4297' width='133.8' height='423.885' fill='%23BD3854'/%3E%3Crect x='423.516' y='35.0164' width='133.8' height='425.728' fill='%23BD3854'/%3E%3C/svg%3E" alt="" />
</div>
</div>
</div>
@@ -169,10 +334,10 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<hr />
<div class="about__section has-2-columns has-subtle-background-color">
<h3 class="is-section-header"><?php _e( 'For Developers' ); ?></h3>
<h2 class="is-section-header"><?php _e( 'For Developers' ); ?></h2>
<div class="column">
<h4><?php _e( 'Date/Time Component Fixes' ); ?></h4>
<h3><?php _e( 'Date/Time Component Fixes' ); ?></h3>
<p>
<?php
printf(
@@ -184,7 +349,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</p>
</div>
<div class="column">
<h4><?php _e( 'PHP 7.4 Compatibility' ); ?></h4>
<h3><?php _e( 'PHP 7.4 Compatibility' ); ?></h3>
<p>
<?php
printf(

View File

@@ -82,13 +82,13 @@ wp_enqueue_script( 'svg-painter' );
$admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix );
?>
<script type="text/javascript">
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
pagenow = '<?php echo $current_screen->id; ?>',
typenow = '<?php echo $current_screen->post_type; ?>',
adminpage = '<?php echo $admin_body_class; ?>',
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
isRtl = <?php echo (int) is_rtl(); ?>;
</script>
<meta name="viewport" content="width=device-width,initial-scale=1.0">

View File

@@ -15,8 +15,10 @@ $title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
$credits = wp_credits();
?>
<div class="wrap about-wrap full-width-layout">
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
@@ -26,15 +28,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</h1>
</div>
<div class="about__header-badge wp-badge">
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Version %s' ),
$display_version
);
?>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
@@ -56,88 +50,81 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</nav>
</div>
<div class="about-wrap-content">
<div class="about__section">
<div class="column">
<h2><?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?></h2>
<p>
<?php
if ( ! $credits ) {
printf(
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
__( 'https://wordpress.org/about/' ),
__( 'https://make.wordpress.org/' )
);
} else {
printf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
}
?>
</p>
</div>
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" />
</div>
</div>
<?php
$credits = wp_credits();
if ( ! $credits ) {
echo '<p class="about-description">';
printf(
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
__( 'https://wordpress.org/about/' ),
__( 'https://make.wordpress.org/' )
);
echo '</p>';
echo '</div>';
echo '</div>';
include( ABSPATH . 'wp-admin/admin-footer.php' );
exit;
}
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
echo '<p>' . sprintf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
) . '</p>';
foreach ( $credits['groups'] as $group_slug => $group_data ) {
if ( $group_data['name'] ) {
if ( 'Translators' == $group_data['name'] ) {
// Considered a special slug in the API response. (Also, will never be returned for en_US.)
$title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
} elseif ( isset( $group_data['placeholders'] ) ) {
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
$title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] );
} else {
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
$title = translate( $group_data['name'] );
}
echo '<h2 class="wp-people-group">' . esc_html( $title ) . "</h2>\n";
}
if ( ! empty( $group_data['shuffle'] ) ) {
shuffle( $group_data['data'] ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt.
}
switch ( $group_data['type'] ) {
case 'list':
array_walk( $group_data['data'], '_wp_credits_add_profile_link', $credits['data']['profiles'] );
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
break;
case 'libraries':
array_walk( $group_data['data'], '_wp_credits_build_object_link' );
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
break;
default:
$compact = 'compact' == $group_data['type'];
$classes = 'wp-people-group ' . ( $compact ? 'compact' : '' );
echo '<ul class="' . $classes . '" id="wp-people-group-' . $group_slug . '">' . "\n";
foreach ( $group_data['data'] as $person_data ) {
echo '<li class="wp-person" id="wp-person-' . esc_attr( $person_data[2] ) . '">' . "\n\t";
echo '<a href="' . esc_url( sprintf( $credits['data']['profiles'], $person_data[2] ) ) . '" class="web">';
$size = 'compact' == $group_data['type'] ? 30 : 60;
$data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
$size *= 2;
$data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
echo '<img src="' . esc_url( $data['url'] ) . '" srcset="' . esc_url( $data2x['url'] ) . ' 2x" class="gravatar" alt="" />' . "\n";
echo esc_html( $person_data[0] ) . "</a>\n\t";
if ( ! $compact ) {
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
}
echo "</li>\n";
}
echo "</ul>\n";
break;
}
}
?>
<hr />
<div class="about__section">
<div class="column has-subtle-background-color">
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
</div>
</div>
<hr />
<div class="about__section">
<div class="column">
<?php wp_credits_section_title( $credits['groups']['props'] ); ?>
<?php wp_credits_section_list( $credits, 'props' ); ?>
</div>
</div>
<hr />
<?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?>
<div class="about__section">
<div class="column">
<?php wp_credits_section_title( $credits['groups']['validators'] ); ?>
<?php wp_credits_section_list( $credits, 'validators' ); ?>
<?php wp_credits_section_list( $credits, 'translators' ); ?>
</div>
</div>
<hr />
<?php endif; ?>
<div class="about__section">
<div class="column">
<?php wp_credits_section_title( $credits['groups']['libraries'] ); ?>
<?php wp_credits_section_list( $credits, 'libraries' ); ?>
</div>
</div>
</div>
<?php

View File

@@ -1,18 +1,656 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms
1.1 Typography
1.2 Structure
1.3 Point Releases
2.0 About Page
2.1 Typography
2.2 Structure
3.0 Credits & Freedoms Pages
1.0 Global: About, Credits, Freedoms, Privacy
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
x.2.3 Point Releases
x.3.0 Legacy About Styles: About Page
x.3.1 Typography
x.3.2 Structure
x.4.0 Legacy About Styles: Credits & Freedoms Pages
x.5.0 Legacy About Styles: Media Queries
------------------------------------------------------------------------------*/
.about__container {
/* Section backgrounds */
--background: #f4efe1;
--subtle-background: #d7d2c5;
/* Main text color */
--text: #413e38;
/* Navigation colors. */
--nav-background: #fefcf7;
--nav-color: #716d64;
/* Reds, used as accents & in header. */
--accent-1: #bd3854;
--accent-2: #5f1b29;
--accent-3: #321017;
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms
1.0 - Global: About, Credits, Freedoms, Privacy
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php {
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: white;
padding: 0 24px;
}
@media screen and (max-width: 782px) {
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent {
padding-right: 24px;
}
}
.about__container {
max-width: 1000px;
margin: 24px auto;
clear: both;
}
.about__container .alignleft {
float: right;
}
.about__container .alignright {
float: left;
}
.about__container .aligncenter {
text-align: center;
}
.about__container .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about__container .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about__container .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
.about__section {
background: #F4EFE1;
background: var(--background);
}
.about__container .has-accent-background-color {
background-color: #BD3854;
background-color: var(--accent-1);
}
.about__container .has-subtle-background-color {
background-color: #D7D2C5;
background-color: var(--subtle-background);
}
/* 1.1 - Layout */
.about__section {
margin: 0;
}
.about__section .column {
padding: 32px;
}
.about__section .column.is-edge-to-edge {
padding: 0;
}
.about__section .column p:last-of-type {
margin-bottom: 0;
}
.about__section .is-section-header {
margin-bottom: 0;
padding: 32px 32px 0;
}
.about__section.is-feature {
padding: 32px;
}
.about__section.is-feature p {
margin: 0;
}
.about__section.has-2-columns,
.about__section.has-3-columns,
.about__section.has-4-columns {
display: -ms-grid;
display: grid;
}
.about__section.has-2-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about__section.has-2-columns.is-wider-right {
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
.about__section.has-2-columns.is-wider-left {
-ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
}
.about__section.has-2-columns .is-section-header {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns {
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns {
-ms-grid-columns: (1fr)[4];
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 4;
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 {
-ms-grid-row: 2;
grid-row-start: 2;
}
@media screen and (max-width: 782px) {
.about__section.has-3-columns,
.about__section.has-4-columns {
display: block;
padding-bottom: 16px;
}
.about__section.has-3-columns .column:nth-of-type(n),
.about__section.has-4-columns .column:nth-of-type(n) {
padding-top: 16px;
padding-bottom: 16px;
}
}
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
display: flex; /* This is flex, not block, so we can use order below. */
flex-wrap: wrap;
align-content: stretch;
padding-bottom: 16px;
}
.about__section.has-2-columns .column:nth-of-type(n) {
padding-top: 16px;
padding-bottom: 16px;
width: 100%;
}
.about__section.has-2-columns .is-edge-to-edge {
order: -1;
}
}
/* 1.2 - Typography & Elements */
.about__container {
line-height: 1.4;
}
.about__container h1 {
font-size: 5em;
line-height: 1;
}
.about__container h2 {
margin-top: 0;
font-size: 1.4em;
}
.about__container h3 {
margin-top: 0;
font-size: 1em;
}
.about__container p {
font-size: inherit;
line-height: inherit;
}
.about__section a {
color: #5f1b29;
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
text-decoration: none;
}
.wp-credits-list a {
text-decoration: none;
}
.wp-credits-list a:hover,
.wp-credits-list a:active,
.wp-credits-list a:focus {
text-decoration: underline;
}
.about__container ul {
list-style: disc;
margin-right: 16px;
}
.about__container img {
margin: 0;
vertical-align: middle;
}
.about__container .about__image {
display: -ms-grid;
display: grid;
align-items: center;
justify-content: center;
height: 100%;
}
.about__container .about__image img {
max-width: 100%;
width: 100%;
height: auto;
}
.about__container hr {
margin: 0;
height: 32px;
border: none;
}
.about__container div.updated,
.about__container div.error,
.about__container .notice {
display: none !important;
}
.about__section {
font-size: 1.2em;
}
.about__section.is-feature {
font-size: 1.6em;
font-weight: 600;
}
@media screen and (max-width: 782px) {
.about__container h1 {
font-size: 4em;
}
}
@media screen and (max-width: 480px) {
.about__container h1 {
font-size: 3.2em;
}
.about__section.is-feature {
font-size: 1.4em;
font-weight: 500;
}
}
/* 1.3 - Header */
.about__header {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
-ms-grid-rows: 1fr 1fr;
grid-template-rows: 1fr 1fr;
min-height: 28em;
max-height: 36em;
height: 90vh;
margin-bottom: 32px;
}
.about__header > div {
display: flex;
}
.about__header > div > * {
align-self: flex-end;
}
.about__header-title {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
grid-row: 1/span 2;
padding: 32px;
background-color: #BD3854;
background-color: var(--accent-1);
color: white;
padding: 32px;
}
.about__header-title h1 {
padding: 0;
color: inherit;
}
.about__header-title h1 span {
display: block;
font-weight: 600;
font-size: 1.2em;
line-height: 1;
}
.about__header-badge {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 1;
grid-row: 1;
background-color: #5f1b29;
background-color: var(--accent-2);
margin: 0;
padding: 32px;
justify-content: flex-end;
}
.about__header-badge img {
align-self: flex-start;
max-width: 100%;
}
.about__header-text {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 2;
grid-row: 2;
padding: 32px;
background-color: #321017;
background-color: var(--accent-3);
color: white;
font-size: 1.5em;
line-height: 1.4;
}
.about__header-text p {
margin: 0;
}
.about__header-navigation {
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1/span 2;
-ms-grid-row: 3;
grid-row: 3;
padding-top: 0;
background: #FEFCF7;
background: var(--nav-background);
color: #716d64;
color: var(--nav-color);
border-bottom: 3px solid currentColor;
}
.about__header-navigation .nav-tab {
margin-right: 0;
padding: 24px 32px;
font-size: 1.4em;
line-height: 1;
border-width: 0 0 3px;
border-style: solid;
border-color: transparent;
background: transparent;
color: inherit;
}
.about__header-navigation .nav-tab:hover,
.about__header-navigation .nav-tab:active {
background-color: #F4EFE1;
background-color: var(--background);
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
border-width: 0 0 6px;
color: #BD3854;
color: var(--accent-1);
border-color: currentColor;
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
background-color: transparent;
border-color: currentColor;
}
@media screen and (max-width: 782px) {
.about__container .about__header-text {
font-size: 1.4em;
}
}
@media screen and (max-width: 600px) {
.about__header {
display: block;
min-height: unset;
max-height: unset;
height: auto;
}
.about__header-badge {
justify-content: flex-start;
}
.about__header-navigation .nav-tab {
margin-top: 0;
margin-left: 0;
padding: 24px 16px;
}
}
@media screen and (max-width: 480px) {
.about__header-navigation .nav-tab {
float: none;
display: block;
margin-bottom: 0;
padding: 16px 16px;
border-right-width: 3px;
border-bottom: none;
}
.about__header-navigation .nav-tab-active {
border-bottom: none;
border-right-width: 3px;
background: #F4EFE1;
background: var(--background);
}
}
/*------------------------------------------------------------------------------
2.0 - Credits Page
------------------------------------------------------------------------------*/
.about__section .wp-people-group {
margin: 0;
}
.about__section .wp-person {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
padding: 0 0 1em 1em;
height: 6em;
width: calc( 33% - 4px );
min-width: 280px;
}
.about__section .compact .wp-person {
height: auto;
width: calc( 25% - 4px );
min-width: 220px;
padding-bottom: 0.5em;
}
.about__section .wp-person .gravatar {
float: right;
margin: -4px 0 0.85em 0.85em;
padding: 1px;
width: 80px;
height: 80px;
border-radius: 100%;
}
.about__section .compact .wp-person .gravatar {
width: 40px;
height: 40px;
}
.about__section .wp-person .web {
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
color: #413E38;
color: var(--text);
}
.about__section .wp-person .web:hover {
text-decoration: underline;
}
.about__section .compact .wp-person .web {
font-size: 1.2em;
}
.about__section .wp-person .title {
display: block;
margin-top: 0.5em;
}
@media screen and (max-width: 480px) {
.about__section .wp-person {
min-width: 100%;
}
.about__section .wp-person .gravatar {
width: 60px;
height: 60px;
}
.about__section .wp-person .web {
font-size: 1em;
}
.about__section .compact .wp-person .web {
font-size: 1em;
}
}
/*------------------------------------------------------------------------------
3.0 - Freedoms Page
------------------------------------------------------------------------------*/
.about__section .column .freedoms-image {
margin-bottom: 1em;
}
/*------------------------------------------------------------------------------
x.2.0 - Legacy About Styles: Global
------------------------------------------------------------------------------*/
.about-wrap {
@@ -98,7 +736,7 @@
line-height: 1.33333333;
}
/* 1.1 - Typography */
/* x.2.1 - Typography */
.about-wrap h1 {
margin: 0.2em 0 0 200px;
@@ -110,7 +748,7 @@
}
.about-wrap h2 {
margin: 40px 0 .6em;
margin: 40px 0 0.6em;
font-size: 2.7em;
line-height: 1.3;
font-weight: 300;
@@ -118,7 +756,7 @@
}
.about-wrap h3 {
margin: 1.25em 0 .6em;
margin: 1.25em 0 0.6em;
font-size: 1.4em;
line-height: 1.5;
}
@@ -159,7 +797,7 @@
color: #555d66;
}
/* 1.2 - Structure */
/* x.2.2 - Structure */
.about-wrap .has-1-columns,
.about-wrap .has-2-columns,
@@ -281,18 +919,21 @@
}
.about-wrap .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about-wrap .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about-wrap .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
/* 1.3 - Point Releases */
/* x.2.3 - Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
@@ -316,10 +957,10 @@
}
/*------------------------------------------------------------------------------
2.0 - About Page
x.3.0 - Legacy About Styles: About Page
------------------------------------------------------------------------------*/
/* 2.1 - Typography */
/* x.3.1 - Typography */
.about-wrap .lead-description {
font-size: 1.5em;
@@ -330,7 +971,7 @@
margin-top: 0.6em;
}
/* 2.2 - Structure */
/* x.3.2 - Structure */
.about-wrap .headline-feature {
margin: 0 auto 40px;
@@ -360,7 +1001,7 @@
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
x.4.0 - Legacy About Styles: Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/* Credits */
@@ -471,7 +1112,7 @@
}
/*------------------------------------------------------------------------------
4.0 - Media Queries
x.5.0 - Legacy About Styles: Media Queries
------------------------------------------------------------------------------*/
@media screen and (max-width: 782px) {

File diff suppressed because one or more lines are too long

View File

@@ -1,18 +1,656 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms
1.1 Typography
1.2 Structure
1.3 Point Releases
2.0 About Page
2.1 Typography
2.2 Structure
3.0 Credits & Freedoms Pages
1.0 Global: About, Credits, Freedoms, Privacy
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
x.2.0 Legacy About Styles: Global
x.2.1 Typography
x.2.2 Structure
x.2.3 Point Releases
x.3.0 Legacy About Styles: About Page
x.3.1 Typography
x.3.2 Structure
x.4.0 Legacy About Styles: Credits & Freedoms Pages
x.5.0 Legacy About Styles: Media Queries
------------------------------------------------------------------------------*/
.about__container {
/* Section backgrounds */
--background: #f4efe1;
--subtle-background: #d7d2c5;
/* Main text color */
--text: #413e38;
/* Navigation colors. */
--nav-background: #fefcf7;
--nav-color: #716d64;
/* Reds, used as accents & in header. */
--accent-1: #bd3854;
--accent-2: #5f1b29;
--accent-3: #321017;
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms
1.0 - Global: About, Credits, Freedoms, Privacy
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php {
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
background: white;
padding: 0 24px;
}
@media screen and (max-width: 782px) {
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent {
padding-left: 24px;
}
}
.about__container {
max-width: 1000px;
margin: 24px auto;
clear: both;
}
.about__container .alignleft {
float: left;
}
.about__container .alignright {
float: right;
}
.about__container .aligncenter {
text-align: center;
}
.about__container .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about__container .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about__container .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
.about__section {
background: #F4EFE1;
background: var(--background);
}
.about__container .has-accent-background-color {
background-color: #BD3854;
background-color: var(--accent-1);
}
.about__container .has-subtle-background-color {
background-color: #D7D2C5;
background-color: var(--subtle-background);
}
/* 1.1 - Layout */
.about__section {
margin: 0;
}
.about__section .column {
padding: 32px;
}
.about__section .column.is-edge-to-edge {
padding: 0;
}
.about__section .column p:last-of-type {
margin-bottom: 0;
}
.about__section .is-section-header {
margin-bottom: 0;
padding: 32px 32px 0;
}
.about__section.is-feature {
padding: 32px;
}
.about__section.is-feature p {
margin: 0;
}
.about__section.has-2-columns,
.about__section.has-3-columns,
.about__section.has-4-columns {
display: -ms-grid;
display: grid;
}
.about__section.has-2-columns {
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
.about__section.has-2-columns.is-wider-right {
-ms-grid-columns: 1fr 2fr;
grid-template-columns: 1fr 2fr;
}
.about__section.has-2-columns.is-wider-left {
-ms-grid-columns: 2fr 1fr;
grid-template-columns: 2fr 1fr;
}
.about__section.has-2-columns .is-section-header {
-ms-grid-column: 1;
grid-column-start: 1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns {
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns {
-ms-grid-columns: (1fr)[4];
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column: 1;
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) {
-ms-grid-column: 1;
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
-ms-grid-column: 2;
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
-ms-grid-column: 3;
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
-ms-grid-column: 4;
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 {
-ms-grid-row: 2;
grid-row-start: 2;
}
@media screen and (max-width: 782px) {
.about__section.has-3-columns,
.about__section.has-4-columns {
display: block;
padding-bottom: 16px;
}
.about__section.has-3-columns .column:nth-of-type(n),
.about__section.has-4-columns .column:nth-of-type(n) {
padding-top: 16px;
padding-bottom: 16px;
}
}
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
display: flex; /* This is flex, not block, so we can use order below. */
flex-wrap: wrap;
align-content: stretch;
padding-bottom: 16px;
}
.about__section.has-2-columns .column:nth-of-type(n) {
padding-top: 16px;
padding-bottom: 16px;
width: 100%;
}
.about__section.has-2-columns .is-edge-to-edge {
order: -1;
}
}
/* 1.2 - Typography & Elements */
.about__container {
line-height: 1.4;
}
.about__container h1 {
font-size: 5em;
line-height: 1;
}
.about__container h2 {
margin-top: 0;
font-size: 1.4em;
}
.about__container h3 {
margin-top: 0;
font-size: 1em;
}
.about__container p {
font-size: inherit;
line-height: inherit;
}
.about__section a {
color: #5f1b29;
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
text-decoration: none;
}
.wp-credits-list a {
text-decoration: none;
}
.wp-credits-list a:hover,
.wp-credits-list a:active,
.wp-credits-list a:focus {
text-decoration: underline;
}
.about__container ul {
list-style: disc;
margin-left: 16px;
}
.about__container img {
margin: 0;
vertical-align: middle;
}
.about__container .about__image {
display: -ms-grid;
display: grid;
align-items: center;
justify-content: center;
height: 100%;
}
.about__container .about__image img {
max-width: 100%;
width: 100%;
height: auto;
}
.about__container hr {
margin: 0;
height: 32px;
border: none;
}
.about__container div.updated,
.about__container div.error,
.about__container .notice {
display: none !important;
}
.about__section {
font-size: 1.2em;
}
.about__section.is-feature {
font-size: 1.6em;
font-weight: 600;
}
@media screen and (max-width: 782px) {
.about__container h1 {
font-size: 4em;
}
}
@media screen and (max-width: 480px) {
.about__container h1 {
font-size: 3.2em;
}
.about__section.is-feature {
font-size: 1.4em;
font-weight: 500;
}
}
/* 1.3 - Header */
.about__header {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
-ms-grid-rows: 1fr 1fr;
grid-template-rows: 1fr 1fr;
min-height: 28em;
max-height: 36em;
height: 90vh;
margin-bottom: 32px;
}
.about__header > div {
display: flex;
}
.about__header > div > * {
align-self: flex-end;
}
.about__header-title {
-ms-grid-column: 1;
grid-column: 1;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
grid-row: 1/span 2;
padding: 32px;
background-color: #BD3854;
background-color: var(--accent-1);
color: white;
padding: 32px;
}
.about__header-title h1 {
padding: 0;
color: inherit;
}
.about__header-title h1 span {
display: block;
font-weight: 600;
font-size: 1.2em;
line-height: 1;
}
.about__header-badge {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 1;
grid-row: 1;
background-color: #5f1b29;
background-color: var(--accent-2);
margin: 0;
padding: 32px;
justify-content: flex-end;
}
.about__header-badge img {
align-self: flex-start;
max-width: 100%;
}
.about__header-text {
-ms-grid-column: 2;
grid-column: 2;
-ms-grid-row: 2;
grid-row: 2;
padding: 32px;
background-color: #321017;
background-color: var(--accent-3);
color: white;
font-size: 1.5em;
line-height: 1.4;
}
.about__header-text p {
margin: 0;
}
.about__header-navigation {
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1/span 2;
-ms-grid-row: 3;
grid-row: 3;
padding-top: 0;
background: #FEFCF7;
background: var(--nav-background);
color: #716d64;
color: var(--nav-color);
border-bottom: 3px solid currentColor;
}
.about__header-navigation .nav-tab {
margin-left: 0;
padding: 24px 32px;
font-size: 1.4em;
line-height: 1;
border-width: 0 0 3px;
border-style: solid;
border-color: transparent;
background: transparent;
color: inherit;
}
.about__header-navigation .nav-tab:hover,
.about__header-navigation .nav-tab:active {
background-color: #F4EFE1;
background-color: var(--background);
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
border-width: 0 0 6px;
color: #BD3854;
color: var(--accent-1);
border-color: currentColor;
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
background-color: transparent;
border-color: currentColor;
}
@media screen and (max-width: 782px) {
.about__container .about__header-text {
font-size: 1.4em;
}
}
@media screen and (max-width: 600px) {
.about__header {
display: block;
min-height: unset;
max-height: unset;
height: auto;
}
.about__header-badge {
justify-content: flex-start;
}
.about__header-navigation .nav-tab {
margin-top: 0;
margin-right: 0;
padding: 24px 16px;
}
}
@media screen and (max-width: 480px) {
.about__header-navigation .nav-tab {
float: none;
display: block;
margin-bottom: 0;
padding: 16px 16px;
border-left-width: 3px;
border-bottom: none;
}
.about__header-navigation .nav-tab-active {
border-bottom: none;
border-left-width: 3px;
background: #F4EFE1;
background: var(--background);
}
}
/*------------------------------------------------------------------------------
2.0 - Credits Page
------------------------------------------------------------------------------*/
.about__section .wp-people-group {
margin: 0;
}
.about__section .wp-person {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
padding: 0 1em 1em 0;
height: 6em;
width: calc( 33% - 4px );
min-width: 280px;
}
.about__section .compact .wp-person {
height: auto;
width: calc( 25% - 4px );
min-width: 220px;
padding-bottom: 0.5em;
}
.about__section .wp-person .gravatar {
float: left;
margin: -4px 0.85em 0.85em 0;
padding: 1px;
width: 80px;
height: 80px;
border-radius: 100%;
}
.about__section .compact .wp-person .gravatar {
width: 40px;
height: 40px;
}
.about__section .wp-person .web {
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
color: #413E38;
color: var(--text);
}
.about__section .wp-person .web:hover {
text-decoration: underline;
}
.about__section .compact .wp-person .web {
font-size: 1.2em;
}
.about__section .wp-person .title {
display: block;
margin-top: 0.5em;
}
@media screen and (max-width: 480px) {
.about__section .wp-person {
min-width: 100%;
}
.about__section .wp-person .gravatar {
width: 60px;
height: 60px;
}
.about__section .wp-person .web {
font-size: 1em;
}
.about__section .compact .wp-person .web {
font-size: 1em;
}
}
/*------------------------------------------------------------------------------
3.0 - Freedoms Page
------------------------------------------------------------------------------*/
.about__section .column .freedoms-image {
margin-bottom: 1em;
}
/*------------------------------------------------------------------------------
x.2.0 - Legacy About Styles: Global
------------------------------------------------------------------------------*/
.about-wrap {
@@ -98,7 +736,7 @@
line-height: 1.33333333;
}
/* 1.1 - Typography */
/* x.2.1 - Typography */
.about-wrap h1 {
margin: 0.2em 200px 0 0;
@@ -110,7 +748,7 @@
}
.about-wrap h2 {
margin: 40px 0 .6em;
margin: 40px 0 0.6em;
font-size: 2.7em;
line-height: 1.3;
font-weight: 300;
@@ -118,7 +756,7 @@
}
.about-wrap h3 {
margin: 1.25em 0 .6em;
margin: 1.25em 0 0.6em;
font-size: 1.4em;
line-height: 1.5;
}
@@ -159,7 +797,7 @@
color: #555d66;
}
/* 1.2 - Structure */
/* x.2.2 - Structure */
.about-wrap .has-1-columns,
.about-wrap .has-2-columns,
@@ -281,18 +919,21 @@
}
.about-wrap .is-vertically-aligned-top {
-ms-grid-row-align: start;
align-self: start;
}
.about-wrap .is-vertically-aligned-center {
-ms-grid-row-align: center;
align-self: center;
}
.about-wrap .is-vertically-aligned-bottom {
-ms-grid-row-align: end;
align-self: end;
}
/* 1.3 - Point Releases */
/* x.2.3 - Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
@@ -316,10 +957,10 @@
}
/*------------------------------------------------------------------------------
2.0 - About Page
x.3.0 - Legacy About Styles: About Page
------------------------------------------------------------------------------*/
/* 2.1 - Typography */
/* x.3.1 - Typography */
.about-wrap .lead-description {
font-size: 1.5em;
@@ -330,7 +971,7 @@
margin-top: 0.6em;
}
/* 2.2 - Structure */
/* x.3.2 - Structure */
.about-wrap .headline-feature {
margin: 0 auto 40px;
@@ -360,7 +1001,7 @@
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
x.4.0 - Legacy About Styles: Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/* Credits */
@@ -471,7 +1112,7 @@
}
/*------------------------------------------------------------------------------
4.0 - Media Queries
x.5.0 - Legacy About Styles: Media Queries
------------------------------------------------------------------------------*/
@media screen and (max-width: 782px) {

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,7 @@
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
min-height: 28px;
min-height: 30px;
margin: 0 0px 6px 6px;
padding: 0 30px 0 0;
font-size: 11px;
@@ -22,7 +22,7 @@
border-right: 1px solid #ccc;
color: #555;
display: block;
line-height: 2.36363636; /* 26px */
line-height: 2.54545455; /* 28px */
padding: 0 6px;
text-align: center;
}
@@ -73,7 +73,9 @@
.wp-picker-input-wrap .button.wp-picker-default,
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
margin-right: 6px;
padding: 2px 8px;
padding: 0 8px;
line-height: 2.54545455; /* 28px */
min-height: 30px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -87,14 +89,14 @@
}
.wp-picker-container input[type="text"].wp-color-picker {
width: 65px;
width: 4rem;
font-size: 12px;
font-family: monospace;
line-height: 1.33333333; /* 16px */
line-height: 2.33333333; /* 28px */
margin: 0;
padding: 5px;
padding: 0 5px;
vertical-align: top;
min-height: 28px;
min-height: 30px;
}
.wp-color-picker::-webkit-input-placeholder {
@@ -132,26 +134,38 @@
@media screen and (max-width: 782px) {
.wp-picker-container input[type="text"].wp-color-picker {
width: 80px;
padding: 6px 5px 5px;
width: 5rem;
font-size: 16px;
line-height: 1.15;
line-height: 1.875; /* 30px */
min-height: 32px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
padding: 0 5px;
}
.wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
}
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
font-size: 14px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 40px 0 0;
font-size: 14px;
line-height: 2.1;
line-height: 2.14285714; /* 30px */
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 2;
font-size: 14px;
line-height: 2.14285714; /* 30px */
}
.wp-picker-container .wp-color-result-text {
@@ -164,14 +178,3 @@
padding: 0 10px;
}
}
@media screen and (max-width: 640px) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 2.1;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}

View File

@@ -1,2 +1,2 @@
/*! This file is auto-generated */
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:28px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:2.36363636;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:2px 8px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:1.33333333;margin:0;padding:5px;vertical-align:top;min-height:28px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:1.15}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 40px 0 0;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}

View File

@@ -10,7 +10,7 @@
/* Needs higher specificiity. */
.wp-picker-container .wp-color-result.button {
min-height: 28px;
min-height: 30px;
margin: 0 6px 6px 0px;
padding: 0 0 0 30px;
font-size: 11px;
@@ -22,7 +22,7 @@
border-left: 1px solid #ccc;
color: #555;
display: block;
line-height: 2.36363636; /* 26px */
line-height: 2.54545455; /* 28px */
padding: 0 6px;
text-align: center;
}
@@ -73,7 +73,9 @@
.wp-picker-input-wrap .button.wp-picker-default,
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
margin-left: 6px;
padding: 2px 8px;
padding: 0 8px;
line-height: 2.54545455; /* 28px */
min-height: 30px;
}
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -87,14 +89,14 @@
}
.wp-picker-container input[type="text"].wp-color-picker {
width: 65px;
width: 4rem;
font-size: 12px;
font-family: monospace;
line-height: 1.33333333; /* 16px */
line-height: 2.33333333; /* 28px */
margin: 0;
padding: 5px;
padding: 0 5px;
vertical-align: top;
min-height: 28px;
min-height: 30px;
}
.wp-color-picker::-webkit-input-placeholder {
@@ -132,26 +134,38 @@
@media screen and (max-width: 782px) {
.wp-picker-container input[type="text"].wp-color-picker {
width: 80px;
padding: 6px 5px 5px;
width: 5rem;
font-size: 16px;
line-height: 1.15;
line-height: 1.875; /* 30px */
min-height: 32px;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 5px 5px 4px;
padding: 0 5px;
}
.wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
}
.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
padding: 0 8px;
font-size: 14px;
line-height: 2.14285714; /* 30px */
min-height: 32px;
}
.wp-picker-container .wp-color-result.button {
height: auto;
padding: 0 0 0 40px;
font-size: 14px;
line-height: 2.1;
line-height: 2.14285714; /* 30px */
}
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 13px;
line-height: 2;
font-size: 14px;
line-height: 2.14285714; /* 30px */
}
.wp-picker-container .wp-color-result-text {
@@ -164,14 +178,3 @@
padding: 0 10px;
}
}
@media screen and (max-width: 640px) {
.wp-customizer .wp-picker-container .wp-color-result.button {
font-size: 14px;
line-height: 2.1;
}
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
padding: 6px 5px;
}
}

View File

@@ -1,2 +1,2 @@
/*! This file is auto-generated */
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:28px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:2.36363636;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:2px 8px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:1.33333333;margin:0;padding:5px;vertical-align:top;min-height:28px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:1.15}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 0 0 40px;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}

View File

@@ -75,41 +75,42 @@ textarea:focus {
.wp-core-ui {
.button,
.button-secondary {
color: $button-color;
border-color: $button-color;
.button {
border-color: #7e8993;
color: #32373c;
}
.button.hover,
.button:hover,
.button-secondary:hover,
.button.focus,
.button:focus,
.button-secondary:focus {
border-color: darken( $button-color, 5% );
color: darken( $button-color, 5% );
.button:focus {
border-color: darken( #7e8993, 5% );
color: darken( #32373c, 5% );
}
.button.focus,
.button:focus,
.button-secondary:focus {
border-color: $button-color;
color: darken( $button-color, 5% );
box-shadow: 0 0 0 1px $button-color;
.button:focus {
border-color: #7e8993;
color: darken( #32373c, 5% );
box-shadow: 0 0 0 1px #32373c;
}
.button:active {
background: darken( $button-color, 5% );
border-color: darken( $button-color, 5% );
border-color: #7e8993;
color: darken( #32373c, 5% );
box-shadow: none;
}
.button.active,
.button.active:focus,
.button.active:hover {
border-color: darken( $button-color, 5% );
color: darken( $button-color, 5% );
box-shadow: inset 0 2px 5px -3px darken( $button-color, 5% );
border-color: $button-color;
color: darken( #32373c, 5% );
box-shadow: inset 0 2px 5px -3px $button-color;
}
.button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.button-primary {

View File

@@ -2,16 +2,16 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
@mixin button( $button-color, $text-color: #fff ) {
@mixin button( $button-color, $button-text-color: #fff ) {
background: $button-color;
border-color: $button-color;
color: $text-color;
color: $button-text-color;
&:hover,
&:focus {
background: lighten( $button-color, 3% );
border-color: darken( $button-color, 3% );
color: $text-color;
color: $button-text-color;
}
&:focus {
@@ -23,14 +23,14 @@
&:active {
background: darken( $button-color, 5% );
border-color: darken( $button-color, 5% );
color: $text-color;
color: $button-text-color;
}
&.active,
&.active:focus,
&.active:hover {
background: $button-color;
color: $text-color;
color: $button-text-color;
border-color: darken( $button-color, 15% );
box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% );
}

View File

@@ -18,8 +18,9 @@ $link: #0073aa !default;
$link-focus: lighten( $link, 10% ) !default;
$button-color: $highlight-color !default;
$form-checked: $highlight-color !default;
$button-text-color: $text-color !default;
$form-checked: #7e8993 !default;
// admin menu & admin-bar

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23096484%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #096484;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #096484;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #e1a948;
border-color: #e1a948;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #dd9f32;
color: #dd9f32;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #e1a948;
color: #dd9f32;
box-shadow: 0 0 0 1px #e1a948;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #dd9f32;
border-color: #dd9f32;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #dd9f32;
color: #dd9f32;
box-shadow: inset 0 2px 5px -3px #dd9f32;
border-color: #e1a948;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #e1a948;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #e1a948;
border-color: #e1a948;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55;
border-color: #dfa33b;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948;
}
.wp-core-ui .button-primary:active {
background: #dd9f32;
border-color: #dd9f32;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #e1a948;
color: #fff;
border-color: #bd831f;
box-shadow: inset 0 2px 5px -3px #241906;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cdc7 !important;
background: #db9925 !important;
border-color: #db9925 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #e1a948;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #52accc;
}
.wp-core-ui .wp-ui-text-primary {
color: #52accc;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #096484;
}
.wp-core-ui .wp-ui-text-highlight {
color: #096484;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #e1a948;
}
.wp-core-ui .wp-ui-text-notification {
color: #e1a948;
}
.wp-core-ui .wp-ui-text-icon {
color: #e5f8ff;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #e2ecf1;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #096484;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23096484%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #096484;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #096484;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #e1a948;
border-color: #e1a948;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #dd9f32;
color: #dd9f32;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #e1a948;
color: #dd9f32;
box-shadow: 0 0 0 1px #e1a948;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #dd9f32;
border-color: #dd9f32;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #dd9f32;
color: #dd9f32;
box-shadow: inset 0 2px 5px -3px #dd9f32;
border-color: #e1a948;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #e1a948;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #e1a948;
border-color: #e1a948;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e3af55;
border-color: #dfa33b;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e1a948;
}
.wp-core-ui .button-primary:active {
background: #dd9f32;
border-color: #dd9f32;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #e1a948;
color: #fff;
border-color: #bd831f;
box-shadow: inset 0 2px 5px -3px #241906;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cdc7 !important;
background: #db9925 !important;
border-color: #db9925 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #e1a948;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #52accc;
}
.wp-core-ui .wp-ui-text-primary {
color: #52accc;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #096484;
}
.wp-core-ui .wp-ui-text-highlight {
color: #096484;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #e1a948;
}
.wp-core-ui .wp-ui-text-notification {
color: #e1a948;
}
.wp-core-ui .wp-ui-text-icon {
color: #e5f8ff;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #e2ecf1;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #096484;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -33,28 +32,28 @@ input[type=radio]:checked::before {
background: #59524c;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #c7a589;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #c7a589;
border-color: #c7a589;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #bf9878;
color: #bf9878;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #c7a589;
color: #bf9878;
box-shadow: 0 0 0 1px #c7a589;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #bf9878;
border-color: #bf9878;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #bf9878;
color: #bf9878;
box-shadow: inset 0 2px 5px -3px #bf9878;
border-color: #c7a589;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #c7a589;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #c7a589;
border-color: #c7a589;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93;
border-color: #c29d7f;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
.wp-core-ui .button-primary:active {
background: #bf9878;
border-color: #bf9878;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #c7a589;
color: #fff;
border-color: #ae7d55;
box-shadow: inset 0 2px 5px -3px #37271a;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1ccc7 !important;
background: #ba906d !important;
border-color: #ba906d !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #c7a589;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #59524c;
}
.wp-core-ui .wp-ui-text-primary {
color: #59524c;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #c7a589;
}
.wp-core-ui .wp-ui-text-highlight {
color: #c7a589;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #9ea476;
}
.wp-core-ui .wp-ui-text-notification {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: #f3f2f1;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cdcbc9;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #c7a589;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -33,28 +32,28 @@ input[type=radio]:checked::before {
background: #59524c;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #c7a589;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #c7a589;
border-color: #c7a589;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #bf9878;
color: #bf9878;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #c7a589;
color: #bf9878;
box-shadow: 0 0 0 1px #c7a589;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #bf9878;
border-color: #bf9878;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #bf9878;
color: #bf9878;
box-shadow: inset 0 2px 5px -3px #bf9878;
border-color: #c7a589;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #c7a589;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #c7a589;
border-color: #c7a589;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #ccad93;
border-color: #c29d7f;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
}
.wp-core-ui .button-primary:active {
background: #bf9878;
border-color: #bf9878;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #c7a589;
color: #fff;
border-color: #ae7d55;
box-shadow: inset 0 2px 5px -3px #37271a;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1ccc7 !important;
background: #ba906d !important;
border-color: #ba906d !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #c7a589;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #59524c;
}
.wp-core-ui .wp-ui-text-primary {
color: #59524c;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #c7a589;
}
.wp-core-ui .wp-ui-text-highlight {
color: #c7a589;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #9ea476;
}
.wp-core-ui .wp-ui-text-notification {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: #f3f2f1;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cdcbc9;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #c7a589;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -33,28 +32,28 @@ input[type=radio]:checked::before {
background: #523f6d;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #a3b745;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #a3b745;
border-color: #a3b745;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #93a43e;
color: #93a43e;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #a3b745;
color: #93a43e;
box-shadow: 0 0 0 1px #a3b745;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #93a43e;
border-color: #93a43e;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #93a43e;
color: #93a43e;
box-shadow: inset 0 2px 5px -3px #93a43e;
border-color: #a3b745;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #a3b745;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #a3b745;
border-color: #a3b745;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f;
border-color: #99ac41;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
}
.wp-core-ui .button-primary:active {
background: #93a43e;
border-color: #93a43e;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #a3b745;
color: #fff;
border-color: #727f30;
box-shadow: inset 0 2px 5px -3px black;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #cfd1c7 !important;
background: #89993a !important;
border-color: #89993a !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #a3b745;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #523f6d;
}
.wp-core-ui .wp-ui-text-primary {
color: #523f6d;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #a3b745;
}
.wp-core-ui .wp-ui-text-highlight {
color: #a3b745;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #d46f15;
}
.wp-core-ui .wp-ui-text-notification {
color: #d46f15;
}
.wp-core-ui .wp-ui-text-icon {
color: #ece6f6;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cbc5d3;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #a3b745;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -33,28 +32,28 @@ input[type=radio]:checked::before {
background: #523f6d;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #a3b745;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #a3b745;
border-color: #a3b745;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #93a43e;
color: #93a43e;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #a3b745;
color: #93a43e;
box-shadow: 0 0 0 1px #a3b745;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #93a43e;
border-color: #93a43e;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #93a43e;
color: #93a43e;
box-shadow: inset 0 2px 5px -3px #93a43e;
border-color: #a3b745;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #a3b745;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #a3b745;
border-color: #a3b745;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a9bd4f;
border-color: #99ac41;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
}
.wp-core-ui .button-primary:active {
background: #93a43e;
border-color: #93a43e;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #a3b745;
color: #fff;
border-color: #727f30;
box-shadow: inset 0 2px 5px -3px black;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #cfd1c7 !important;
background: #89993a !important;
border-color: #89993a !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #a3b745;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #523f6d;
}
.wp-core-ui .wp-ui-text-primary {
color: #523f6d;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #a3b745;
}
.wp-core-ui .wp-ui-text-highlight {
color: #a3b745;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #d46f15;
}
.wp-core-ui .wp-ui-text-notification {
color: #d46f15;
}
.wp-core-ui .wp-ui-text-icon {
color: #ece6f6;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #cbc5d3;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #a3b745;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2304a4cc%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #04a4cc;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #04a4cc;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #04a4cc;
border-color: #04a4cc;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #0490b3;
color: #0490b3;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #04a4cc;
color: #0490b3;
box-shadow: 0 0 0 1px #04a4cc;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #0490b3;
border-color: #0490b3;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #0490b3;
color: #0490b3;
box-shadow: inset 0 2px 5px -3px #0490b3;
border-color: #04a4cc;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #04a4cc;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #04a4cc;
border-color: #04a4cc;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db;
border-color: #0498bd;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
}
.wp-core-ui .button-primary:active {
background: #0490b3;
border-color: #0490b3;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #04a4cc;
color: #fff;
border-color: #036881;
box-shadow: inset 0 2px 5px -3px black;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7cfd1 !important;
background: #0384a4 !important;
border-color: #0384a4 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #04a4cc;
}
.wp-core-ui .wp-ui-primary {
color: #333;
background-color: #e5e5e5;
}
.wp-core-ui .wp-ui-text-primary {
color: #e5e5e5;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #888;
}
.wp-core-ui .wp-ui-text-highlight {
color: #888;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #d64e07;
}
.wp-core-ui .wp-ui-text-notification {
color: #d64e07;
}
.wp-core-ui .wp-ui-text-icon {
color: #999;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #686868;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #333;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -595,4 +574,4 @@ div#wp-responsive-toggle a:before {
.theme-section.current,
.theme-filter.current {
border-bottom-color: #04a4cc;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%2304a4cc%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #04a4cc;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #04a4cc;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #04a4cc;
border-color: #04a4cc;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #0490b3;
color: #0490b3;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #04a4cc;
color: #0490b3;
box-shadow: 0 0 0 1px #04a4cc;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #0490b3;
border-color: #0490b3;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #0490b3;
color: #0490b3;
box-shadow: inset 0 2px 5px -3px #0490b3;
border-color: #04a4cc;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #04a4cc;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #04a4cc;
border-color: #04a4cc;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #04b0db;
border-color: #0498bd;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
}
.wp-core-ui .button-primary:active {
background: #0490b3;
border-color: #0490b3;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #04a4cc;
color: #fff;
border-color: #036881;
box-shadow: inset 0 2px 5px -3px black;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7cfd1 !important;
background: #0384a4 !important;
border-color: #0384a4 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #04a4cc;
}
.wp-core-ui .wp-ui-primary {
color: #333;
background-color: #e5e5e5;
}
.wp-core-ui .wp-ui-text-primary {
color: #e5e5e5;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #888;
}
.wp-core-ui .wp-ui-text-highlight {
color: #888;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #d64e07;
}
.wp-core-ui .wp-ui-text-notification {
color: #d64e07;
}
.wp-core-ui .wp-ui-text-icon {
color: #999;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #686868;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #333;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -595,4 +574,4 @@ div#wp-responsive-toggle a:before {
.theme-section.current,
.theme-filter.current {
border-bottom-color: #04a4cc;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23e14d43%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #e14d43;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #e14d43;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #e14d43;
border-color: #e14d43;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #dd382d;
color: #dd382d;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #e14d43;
color: #dd382d;
box-shadow: 0 0 0 1px #e14d43;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #dd382d;
border-color: #dd382d;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #dd382d;
color: #dd382d;
box-shadow: inset 0 2px 5px -3px #dd382d;
border-color: #e14d43;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #e14d43;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #e14d43;
border-color: #e14d43;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950;
border-color: #df4136;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
}
.wp-core-ui .button-primary:active {
background: #dd382d;
border-color: #dd382d;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #e14d43;
color: #fff;
border-color: #ba281e;
box-shadow: inset 0 2px 5px -3px #200705;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1c8c7 !important;
background: #d92e23 !important;
border-color: #d92e23 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #e14d43;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #363b3f;
}
.wp-core-ui .wp-ui-text-primary {
color: #363b3f;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #e14d43;
}
.wp-core-ui .wp-ui-text-highlight {
color: #e14d43;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #69a8bb;
}
.wp-core-ui .wp-ui-text-notification {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: #f1f2f3;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #c3c4c5;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #e14d43;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23e14d43%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #e14d43;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #e14d43;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #e14d43;
border-color: #e14d43;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #dd382d;
color: #dd382d;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #e14d43;
color: #dd382d;
box-shadow: 0 0 0 1px #e14d43;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #dd382d;
border-color: #dd382d;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #dd382d;
color: #dd382d;
box-shadow: inset 0 2px 5px -3px #dd382d;
border-color: #e14d43;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #e14d43;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #e14d43;
border-color: #e14d43;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #e35950;
border-color: #df4136;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
}
.wp-core-ui .button-primary:active {
background: #dd382d;
border-color: #dd382d;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #e14d43;
color: #fff;
border-color: #ba281e;
box-shadow: inset 0 2px 5px -3px #200705;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1c8c7 !important;
background: #d92e23 !important;
border-color: #d92e23 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #e14d43;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #363b3f;
}
.wp-core-ui .wp-ui-text-primary {
color: #363b3f;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #e14d43;
}
.wp-core-ui .wp-ui-text-highlight {
color: #e14d43;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #69a8bb;
}
.wp-core-ui .wp-ui-text-notification {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: #f1f2f3;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #c3c4c5;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #e14d43;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -33,28 +32,28 @@ input[type=radio]:checked::before {
background: #738e96;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #9ebaa0;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #9ebaa0;
border-color: #9ebaa0;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #8faf91;
color: #8faf91;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #9ebaa0;
color: #8faf91;
box-shadow: 0 0 0 1px #9ebaa0;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #8faf91;
border-color: #8faf91;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #8faf91;
color: #8faf91;
box-shadow: inset 0 2px 5px -3px #8faf91;
border-color: #9ebaa0;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #9ebaa0;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #9ebaa0;
border-color: #9ebaa0;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9;
border-color: #95b497;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
}
.wp-core-ui .button-primary:active {
background: #8faf91;
border-color: #8faf91;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #9ebaa0;
color: #fff;
border-color: #719a74;
box-shadow: inset 0 2px 5px -3px #253426;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7d1c8 !important;
background: #86a989 !important;
border-color: #86a989 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #9ebaa0;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #738e96;
}
.wp-core-ui .wp-ui-text-primary {
color: #738e96;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #9ebaa0;
}
.wp-core-ui .wp-ui-text-highlight {
color: #9ebaa0;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #aa9d88;
}
.wp-core-ui .wp-ui-text-notification {
color: #aa9d88;
}
.wp-core-ui .wp-ui-text-icon {
color: #f2fcff;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #d5dde0;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #9ebaa0;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -33,28 +32,28 @@ input[type=radio]:checked::before {
background: #738e96;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #9ebaa0;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #9ebaa0;
border-color: #9ebaa0;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #8faf91;
color: #8faf91;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #9ebaa0;
color: #8faf91;
box-shadow: 0 0 0 1px #9ebaa0;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #8faf91;
border-color: #8faf91;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #8faf91;
color: #8faf91;
box-shadow: inset 0 2px 5px -3px #8faf91;
border-color: #9ebaa0;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #9ebaa0;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #9ebaa0;
border-color: #9ebaa0;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #a7c0a9;
border-color: #95b497;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
}
.wp-core-ui .button-primary:active {
background: #8faf91;
border-color: #8faf91;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #9ebaa0;
color: #fff;
border-color: #719a74;
box-shadow: inset 0 2px 5px -3px #253426;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7d1c8 !important;
background: #86a989 !important;
border-color: #86a989 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #9ebaa0;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #738e96;
}
.wp-core-ui .wp-ui-text-primary {
color: #738e96;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #9ebaa0;
}
.wp-core-ui .wp-ui-text-highlight {
color: #9ebaa0;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #aa9d88;
}
.wp-core-ui .wp-ui-text-notification {
color: #aa9d88;
}
.wp-core-ui .wp-ui-text-icon {
color: #f2fcff;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #d5dde0;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #9ebaa0;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23dd823b%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #dd823b;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #dd823b;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #dd823b;
border-color: #dd823b;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #d97426;
color: #d97426;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #dd823b;
color: #d97426;
box-shadow: 0 0 0 1px #dd823b;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #d97426;
border-color: #d97426;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #d97426;
color: #d97426;
box-shadow: inset 0 2px 5px -3px #d97426;
border-color: #dd823b;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #dd823b;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #dd823b;
border-color: #dd823b;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48;
border-color: #db7a2e;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
}
.wp-core-ui .button-primary:active {
background: #d97426;
border-color: #d97426;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #dd823b;
color: #fff;
border-color: #ad5d1e;
box-shadow: inset 0 2px 5px -3px #150b04;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cbc7 !important;
background: #cc6d23 !important;
border-color: #cc6d23 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #dd823b;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #cf4944;
}
.wp-core-ui .wp-ui-text-primary {
color: #cf4944;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #dd823b;
}
.wp-core-ui .wp-ui-text-highlight {
color: #dd823b;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-notification {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: #f3f1f1;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #f1c8c7;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #dd823b;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,6 @@ body {
a {
color: #0073aa;
}
a:hover, a:active, a:focus {
color: #0096dd;
}
@@ -26,35 +25,35 @@ span.wp-media-buttons-icon:before {
/* Forms */
input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23dd823b%27%2F%3E%3C%2Fsvg%3E");
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%237e8993%27%2F%3E%3C%2Fsvg%3E");
}
input[type=radio]:checked::before {
background: #dd823b;
background: #7e8993;
}
.wp-core-ui input[type="reset"]:hover,
.wp-core-ui input[type="reset"]:active {
.wp-core-ui input[type=reset]:hover,
.wp-core-ui input[type=reset]:active {
color: #0096dd;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
input[type=checkbox]:focus,
input[type=radio]:focus,
select:focus,
textarea:focus {
border-color: #dd823b;
@@ -62,110 +61,92 @@ textarea:focus {
}
/* Core UI */
.wp-core-ui .button,
.wp-core-ui .button-secondary {
color: #dd823b;
border-color: #dd823b;
.wp-core-ui .button {
border-color: #7e8993;
color: #32373c;
}
.wp-core-ui .button.hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-secondary:hover,
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #d97426;
color: #d97426;
.wp-core-ui .button:focus {
border-color: #717c87;
color: #262a2e;
}
.wp-core-ui .button.focus,
.wp-core-ui .button:focus,
.wp-core-ui .button-secondary:focus {
border-color: #dd823b;
color: #d97426;
box-shadow: 0 0 0 1px #dd823b;
.wp-core-ui .button:focus {
border-color: #7e8993;
color: #262a2e;
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button:active {
background: #d97426;
border-color: #d97426;
border-color: #7e8993;
color: #262a2e;
box-shadow: none;
}
.wp-core-ui .button.active,
.wp-core-ui .button.active:focus,
.wp-core-ui .button.active:hover {
border-color: #d97426;
color: #d97426;
box-shadow: inset 0 2px 5px -3px #d97426;
border-color: #dd823b;
color: #262a2e;
box-shadow: inset 0 2px 5px -3px #dd823b;
}
.wp-core-ui .button.active:focus {
box-shadow: 0 0 0 1px #32373c;
}
.wp-core-ui .button-primary {
background: #dd823b;
border-color: #dd823b;
color: #fff;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
background: #df8a48;
border-color: #db7a2e;
color: #fff;
}
.wp-core-ui .button-primary:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
}
.wp-core-ui .button-primary:active {
background: #d97426;
border-color: #d97426;
color: #fff;
}
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
background: #dd823b;
color: #fff;
border-color: #ad5d1e;
box-shadow: inset 0 2px 5px -3px #150b04;
}
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cbc7 !important;
background: #cc6d23 !important;
border-color: #cc6d23 !important;
text-shadow: none !important;
}
.wp-core-ui .button-group > .button.active {
border-color: #dd823b;
}
.wp-core-ui .wp-ui-primary {
color: #fff;
background-color: #cf4944;
}
.wp-core-ui .wp-ui-text-primary {
color: #cf4944;
}
.wp-core-ui .wp-ui-highlight {
color: #fff;
background-color: #dd823b;
}
.wp-core-ui .wp-ui-text-highlight {
color: #dd823b;
}
.wp-core-ui .wp-ui-notification {
color: #fff;
background-color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-notification {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: #f3f1f1;
}
@@ -245,7 +226,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
color: #f1c8c7;
}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
@@ -264,7 +244,6 @@ textarea:focus {
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
color: #fff;
}
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
@@ -577,4 +556,4 @@ div#wp-responsive-toggle a:before {
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
background: #dd823b;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -924,11 +924,11 @@ span.required,
#delete-action {
float: right;
line-height: 2.1;
line-height: 2.30769231; /* 30px */
}
#delete-link {
line-height: 2.1;
line-height: 2.30769231; /* 30px */
vertical-align: middle;
text-align: right;
margin-right: 8px;
@@ -945,7 +945,8 @@ span.required,
}
#publishing-action .spinner {
float: right;
float: none;
margin-top: 5px;
}
#misc-publishing-actions {
@@ -1086,12 +1087,9 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 0;
margin: 1px 0;
width: 280px;
max-width: 100%;
font-size: inherit;
/* inherits font size 13px */
line-height: 2.15384615; /* 28px */
}
.wp-filter .search-form select {
@@ -2478,11 +2476,11 @@ div.star-holder {
position: relative;
height: 17px;
width: 100px;
background: url(../images/stars.png?ver=20121108) repeat-x bottom left;
background: url(../images/stars.png?ver=20121108) repeat-x bottom right;
}
div.star-holder .star-rating {
background: url(../images/stars.png?ver=20121108) repeat-x top left;
background: url(../images/stars.png?ver=20121108) repeat-x top right;
height: 17px;
float: right;
}
@@ -2517,7 +2515,7 @@ div.star-holder .star-rating {
}
.rtl .star-rating .star-half {
transform: rotateY(180deg);
transform: rotateY(-180deg);
}
.star-rating .star-empty:before {
@@ -3681,7 +3679,7 @@ img {
/* Back-compat for pre-3.8 */
div.star-holder,
div.star-holder .star-rating {
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom right;
background-size: 21px 37px;
}
@@ -3924,7 +3922,7 @@ img {
.fileedit-sub input[type="submit"] {
margin-bottom: 0px;
padding: 4px 18px;
padding: 0px 18px;
}
#documentation label[for="docs-list"] {

File diff suppressed because one or more lines are too long

View File

@@ -924,11 +924,11 @@ span.required,
#delete-action {
float: left;
line-height: 2.1;
line-height: 2.30769231; /* 30px */
}
#delete-link {
line-height: 2.1;
line-height: 2.30769231; /* 30px */
vertical-align: middle;
text-align: left;
margin-left: 8px;
@@ -945,7 +945,8 @@ span.required,
}
#publishing-action .spinner {
float: left;
float: none;
margin-top: 5px;
}
#misc-publishing-actions {
@@ -1086,12 +1087,9 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 0;
margin: 1px 0;
width: 280px;
max-width: 100%;
font-size: inherit;
/* inherits font size 13px */
line-height: 2.15384615; /* 28px */
}
.wp-filter .search-form select {
@@ -3924,7 +3922,7 @@ img {
.fileedit-sub input[type="submit"] {
margin-bottom: 0px;
padding: 4px 18px;
padding: 0px 18px;
}
#documentation label[for="docs-list"] {

File diff suppressed because one or more lines are too long

View File

@@ -159,6 +159,7 @@ body:not(.ready) #customize-save-button-wrapper .save {
float: right;
transform: none;
margin-top: 0;
line-height: 2;
}
body:not(.ready) #publish-settings,
@@ -912,12 +913,6 @@ p.customize-section-description {
margin-bottom: 12px;
}
.customize-control select,
.customize-control input[type="radio"],
.customize-control input[type="checkbox"] {
line-height: 2;
}
.customize-control input[type="text"],
.customize-control input[type="password"],
.customize-control input[type="email"],
@@ -940,8 +935,6 @@ p.customize-section-description {
.customize-control select {
width: 100%;
height: 28px;
line-height: 2;
}
.customize-control select[multiple] {
@@ -2871,15 +2864,11 @@ body.adding-widget .add-new-widget:before,
}
.wp-core-ui.wp-customizer .button {
padding: 6px 14px;
line-height: normal;
min-height: 30px;
padding: 0 14px;
line-height: 2;
font-size: 14px;
vertical-align: middle;
height: auto;
}
#publish-settings {
height: 31px;
}
#customize-control-changeset_status .customize-inside-control-row {

File diff suppressed because one or more lines are too long

View File

@@ -159,6 +159,7 @@ body:not(.ready) #customize-save-button-wrapper .save {
float: left;
transform: none;
margin-top: 0;
line-height: 2;
}
body:not(.ready) #publish-settings,
@@ -912,12 +913,6 @@ p.customize-section-description {
margin-bottom: 12px;
}
.customize-control select,
.customize-control input[type="radio"],
.customize-control input[type="checkbox"] {
line-height: 2;
}
.customize-control input[type="text"],
.customize-control input[type="password"],
.customize-control input[type="email"],
@@ -940,8 +935,6 @@ p.customize-section-description {
.customize-control select {
width: 100%;
height: 28px;
line-height: 2;
}
.customize-control select[multiple] {
@@ -2871,15 +2864,11 @@ body.adding-widget .add-new-widget:before,
}
.wp-core-ui.wp-customizer .button {
padding: 6px 14px;
line-height: normal;
min-height: 30px;
padding: 0 14px;
line-height: 2;
font-size: 14px;
vertical-align: middle;
height: auto;
}
#publish-settings {
height: 31px;
}
#customize-control-changeset_status .customize-inside-control-row {

File diff suppressed because one or more lines are too long

View File

@@ -130,7 +130,7 @@
color: #72777c;
}
.welcome-panel a {
.welcome-panel li a {
text-decoration: none;
}
@@ -260,6 +260,16 @@
top: -2px;
}
.welcome-panel .welcome-widgets:before {
content: "\f538";
top: -2px;
}
.welcome-panel .welcome-menus:before {
content: "\f163";
top: -2px;
}
.welcome-panel .welcome-comments:before {
content: "\f117";
top: -1px;
@@ -886,8 +896,9 @@ body #dashboard-widgets .postbox form .submit {
min-width: 0;
}
#dashboard-widgets a,
#dashboard-widgets .button-link {
#dashboard-widgets li a,
#dashboard-widgets .button-link,
.community-events-footer a {
text-decoration: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -130,7 +130,7 @@
color: #72777c;
}
.welcome-panel a {
.welcome-panel li a {
text-decoration: none;
}
@@ -260,6 +260,16 @@
top: -2px;
}
.welcome-panel .welcome-widgets:before {
content: "\f538";
top: -2px;
}
.welcome-panel .welcome-menus:before {
content: "\f163";
top: -2px;
}
.welcome-panel .welcome-comments:before {
content: "\f117";
top: -1px;
@@ -886,8 +896,9 @@ body #dashboard-widgets .postbox form .submit {
min-width: 0;
}
#dashboard-widgets a,
#dashboard-widgets .button-link {
#dashboard-widgets li a,
#dashboard-widgets .button-link,
.community-events-footer a {
text-decoration: none;
}

File diff suppressed because one or more lines are too long

View File

@@ -107,19 +107,19 @@ th {
/* specific to the image upload form */
.image-align-none-label {
background: url(../images/align-none.png) no-repeat center left;
background: url(../images/align-none.png) no-repeat center right;
}
.image-align-left-label {
background: url(../images/align-left.png) no-repeat center left;
background: url(../images/align-left.png) no-repeat center right;
}
.image-align-center-label {
background: url(../images/align-center.png) no-repeat center left;
background: url(../images/align-center.png) no-repeat center right;
}
.image-align-right-label {
background: url(../images/align-right.png) no-repeat center left;
background: url(../images/align-right.png) no-repeat center right;
}
tr.image-size td {

File diff suppressed because one or more lines are too long

View File

@@ -421,7 +421,7 @@ form#tags-filter {
#timestampdiv select {
vertical-align: top;
font-size: 12px;
line-height: 1.5; /* 18px */
line-height: 2.33333333; /* 28px */
}
#aa, #jj, #hh, #mn {
@@ -1121,7 +1121,7 @@ p.popular-tags a {
margin: 5px 0 10px;
padding: 8px;
border: 1px solid #ddd;
line-height: 1.8;
line-height: 1.2;
word-spacing: 3px;
}
@@ -1387,6 +1387,40 @@ table.links-table {
}
}
/* one column on the attachment editor screen */
@media only screen and (max-width: 1200px) {
.post-type-attachment #poststuff {
min-width: 0;
}
.post-type-attachment #wpbody-content #poststuff #post-body {
margin: 0;
}
.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1 {
margin-left: 0;
width: 100%;
}
.post-type-attachment #poststuff #postbox-container-1 .empty-container,
.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty {
border: 0 none;
height: 0;
min-height: 0;
}
.post-type-attachment #poststuff #post-body.columns-2 #side-sortables {
min-height: 0;
width: auto;
}
/* hide the radio buttons for column prefs */
.post-type-attachment .screen-layout,
.post-type-attachment .columns-prefs {
display: none;
}
}
/* one column on the post write/edit screen */
@media only screen and (max-width: 850px) {
#poststuff {

File diff suppressed because one or more lines are too long

View File

@@ -421,7 +421,7 @@ form#tags-filter {
#timestampdiv select {
vertical-align: top;
font-size: 12px;
line-height: 1.5; /* 18px */
line-height: 2.33333333; /* 28px */
}
#aa, #jj, #hh, #mn {
@@ -1121,7 +1121,7 @@ p.popular-tags a {
margin: 5px 0 10px;
padding: 8px;
border: 1px solid #ddd;
line-height: 1.8;
line-height: 1.2;
word-spacing: 3px;
}
@@ -1387,6 +1387,40 @@ table.links-table {
}
}
/* one column on the attachment editor screen */
@media only screen and (max-width: 1200px) {
.post-type-attachment #poststuff {
min-width: 0;
}
.post-type-attachment #wpbody-content #poststuff #post-body {
margin: 0;
}
.post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1 {
margin-right: 0;
width: 100%;
}
.post-type-attachment #poststuff #postbox-container-1 .empty-container,
.post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty {
border: 0 none;
height: 0;
min-height: 0;
}
.post-type-attachment #poststuff #post-body.columns-2 #side-sortables {
min-height: 0;
width: auto;
}
/* hide the radio buttons for column prefs */
.post-type-attachment .screen-layout,
.post-type-attachment .columns-prefs {
display: none;
}
}
/* one column on the post write/edit screen */
@media only screen and (max-width: 850px) {
#poststuff {

File diff suppressed because one or more lines are too long

View File

@@ -28,7 +28,7 @@ label {
input,
select {
margin: 1px;
margin: 0 1px;
}
textarea.code {
@@ -308,48 +308,41 @@ input[type="radio"].disabled:checked:before {
------------------------------------------------------------------------------*/
/* Select styles are based on the default button in buttons.css */
.wp-admin select {
font-size: 13px;
line-height: 1.38461538; /* 18px */
.wp-core-ui select {
font-size: 14px;
line-height: 2; /* 28px */
color: #32373c;
border-color: #7e8993;
box-shadow: none;
border-radius: 3px;
padding: 3px 8px 3px 24px;
min-height: 28px;
padding: 0 8px 0 24px;
min-height: 30px;
max-width: 25rem;
vertical-align: middle;
-webkit-appearance: none;
/* The SVG is arrow-down-alt2 from Dashicons. */
background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat left 5px top 55%;
background-size: 16px 16px;
cursor: pointer;
}
vertical-align: middle;
}e
/* Color and font size in the core form tables. */
.wp-admin .form-table select {
font-size: 14px;
line-height: 1.28571428; /* 18px */
color: #32373c;
}
.wp-admin select:hover {
.wp-core-ui select:hover {
color: #007cba;
}
.wp-admin select:focus {
.wp-core-ui select:focus {
border-color: #007cba;
color: #016087;
box-shadow: 0 0 0 1px #007cba;
}
.wp-admin select:active {
.wp-core-ui select:active {
border-color: #999;
box-shadow: none;
}
.wp-admin select.disabled,
.wp-admin select:disabled {
.wp-core-ui select.disabled,
.wp-core-ui select:disabled {
color: #a0a5aa;
border-color: #ddd;
background-color: #f7f7f7;
@@ -363,32 +356,32 @@ input[type="radio"].disabled:checked:before {
/* Reset Firefox inner outline that appears on :focus. */
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
.wp-admin select:-moz-focusring {
.wp-core-ui select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #016087;
}
/* Remove background focus style from IE11 while keeping focus style available on option elements. */
.wp-admin select::-ms-value {
.wp-core-ui select::-ms-value {
background: transparent;
color: #555;
}
.wp-admin select:hover::-ms-value {
.wp-core-ui select:hover::-ms-value {
color: #007cba;
}
.wp-admin select:focus::-ms-value {
.wp-core-ui select:focus::-ms-value {
color: #016087;
}
.wp-admin select.disabled::-ms-value,
.wp-admin select:disabled::-ms-value {
.wp-core-ui select.disabled::-ms-value,
.wp-core-ui select:disabled::-ms-value {
color: #a0a5aa;
}
/* Hide the native down arrow for select element on IE. */
.wp-admin select::-ms-expand {
.wp-core-ui select::-ms-expand {
display: none;
}
@@ -403,11 +396,15 @@ input[type="radio"].disabled:checked:before {
max-width: 100%;
}
.meta-box-sortables input {
vertical-align: middle;
}
.misc-pub-post-status select {
margin-top: 0;
}
.wp-admin select[multiple] {
.wp-core-ui select[multiple] {
height: auto;
padding-left: 8px;
background: #fff;
@@ -484,14 +481,7 @@ input[type="number"].tiny-text {
#doaction,
#doaction2,
#post-query-submit {
margin: 1px 0 0 8px;
}
.tablenav #changeit,
.tablenav #delete_all,
.tablenav #clear-recent-list,
.wp-filter #delete_all {
margin-top: 1px;
margin: 0 0 0 8px;
}
.tablenav .actions select {
@@ -508,6 +498,10 @@ input[type="number"].tiny-text {
.wp-cancel-pw > .dashicons {
position: relative;
top: 3px;
width: 1.25rem;
height: 1.25rem;
top: 0.25rem;
font-size: 20px;
}
.wp-cancel-pw .dashicons-no {
@@ -601,9 +595,12 @@ fieldset label,
.wp-pwd [type="password"] {
margin-bottom: 0;
/* Same height as the buttons */
line-height: 20px;
min-height: 28px;
max-height: 40px;
min-height: 30px;
}
/* Hide the Edge "reveal password" native button */
.wp-pwd input::-ms-reveal {
display: none;
}
#pass1-text,
@@ -1325,6 +1322,8 @@ table.form-table td .updated p {
input[type="week"] {
-webkit-appearance: none;
padding: 3px 10px;
/* Only necessary for IE11 */
min-height: 40px;
}
::-webkit-datetime-edit {
@@ -1376,7 +1375,7 @@ table.form-table td .updated p {
margin-top: 10px;
}
.wp-admin select,
.wp-core-ui select,
.wp-admin .form-table select {
min-height: 40px;
font-size: 16px;
@@ -1526,6 +1525,10 @@ table.form-table td .updated p {
font-size: 14px;
}
.background-position-control .button-group > label {
font-size: 0;
}
.form-table fieldset label {
display: block;
}
@@ -1561,10 +1564,14 @@ table.form-table td .updated p {
position: absolute;
left: 0;
top: 0;
width: 2.375rem;
height: 2.375rem;
min-width: 40px;
min-height: 40px;
}
.wp-pwd button.wp-hide-pw {
left: 40px;
left: 2.5rem;
}
.wp-pwd button.button:hover,
@@ -1585,6 +1592,7 @@ table.form-table td .updated p {
.wp-pwd [type="text"],
.wp-pwd [type="password"] {
line-height: 2;
padding-left: 5rem;
}
.wp-cancel-pw .dashicons-no {

File diff suppressed because one or more lines are too long

View File

@@ -28,7 +28,7 @@ label {
input,
select {
margin: 1px;
margin: 0 1px;
}
textarea.code {
@@ -308,48 +308,41 @@ input[type="radio"].disabled:checked:before {
------------------------------------------------------------------------------*/
/* Select styles are based on the default button in buttons.css */
.wp-admin select {
font-size: 13px;
line-height: 1.38461538; /* 18px */
.wp-core-ui select {
font-size: 14px;
line-height: 2; /* 28px */
color: #32373c;
border-color: #7e8993;
box-shadow: none;
border-radius: 3px;
padding: 3px 24px 3px 8px;
min-height: 28px;
padding: 0 24px 0 8px;
min-height: 30px;
max-width: 25rem;
vertical-align: middle;
-webkit-appearance: none;
/* The SVG is arrow-down-alt2 from Dashicons. */
background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
background-size: 16px 16px;
cursor: pointer;
}
vertical-align: middle;
}e
/* Color and font size in the core form tables. */
.wp-admin .form-table select {
font-size: 14px;
line-height: 1.28571428; /* 18px */
color: #32373c;
}
.wp-admin select:hover {
.wp-core-ui select:hover {
color: #007cba;
}
.wp-admin select:focus {
.wp-core-ui select:focus {
border-color: #007cba;
color: #016087;
box-shadow: 0 0 0 1px #007cba;
}
.wp-admin select:active {
.wp-core-ui select:active {
border-color: #999;
box-shadow: none;
}
.wp-admin select.disabled,
.wp-admin select:disabled {
.wp-core-ui select.disabled,
.wp-core-ui select:disabled {
color: #a0a5aa;
border-color: #ddd;
background-color: #f7f7f7;
@@ -363,32 +356,32 @@ input[type="radio"].disabled:checked:before {
/* Reset Firefox inner outline that appears on :focus. */
/* This ruleset overrides the color change on :focus thus needs to be after select:focus. */
.wp-admin select:-moz-focusring {
.wp-core-ui select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #016087;
}
/* Remove background focus style from IE11 while keeping focus style available on option elements. */
.wp-admin select::-ms-value {
.wp-core-ui select::-ms-value {
background: transparent;
color: #555;
}
.wp-admin select:hover::-ms-value {
.wp-core-ui select:hover::-ms-value {
color: #007cba;
}
.wp-admin select:focus::-ms-value {
.wp-core-ui select:focus::-ms-value {
color: #016087;
}
.wp-admin select.disabled::-ms-value,
.wp-admin select:disabled::-ms-value {
.wp-core-ui select.disabled::-ms-value,
.wp-core-ui select:disabled::-ms-value {
color: #a0a5aa;
}
/* Hide the native down arrow for select element on IE. */
.wp-admin select::-ms-expand {
.wp-core-ui select::-ms-expand {
display: none;
}
@@ -403,11 +396,15 @@ input[type="radio"].disabled:checked:before {
max-width: 100%;
}
.meta-box-sortables input {
vertical-align: middle;
}
.misc-pub-post-status select {
margin-top: 0;
}
.wp-admin select[multiple] {
.wp-core-ui select[multiple] {
height: auto;
padding-right: 8px;
background: #fff;
@@ -484,14 +481,7 @@ input[type="number"].tiny-text {
#doaction,
#doaction2,
#post-query-submit {
margin: 1px 8px 0 0;
}
.tablenav #changeit,
.tablenav #delete_all,
.tablenav #clear-recent-list,
.wp-filter #delete_all {
margin-top: 1px;
margin: 0 8px 0 0;
}
.tablenav .actions select {
@@ -508,6 +498,10 @@ input[type="number"].tiny-text {
.wp-cancel-pw > .dashicons {
position: relative;
top: 3px;
width: 1.25rem;
height: 1.25rem;
top: 0.25rem;
font-size: 20px;
}
.wp-cancel-pw .dashicons-no {
@@ -601,9 +595,12 @@ fieldset label,
.wp-pwd [type="password"] {
margin-bottom: 0;
/* Same height as the buttons */
line-height: 20px;
min-height: 28px;
max-height: 40px;
min-height: 30px;
}
/* Hide the Edge "reveal password" native button */
.wp-pwd input::-ms-reveal {
display: none;
}
#pass1-text,
@@ -1325,6 +1322,8 @@ table.form-table td .updated p {
input[type="week"] {
-webkit-appearance: none;
padding: 3px 10px;
/* Only necessary for IE11 */
min-height: 40px;
}
::-webkit-datetime-edit {
@@ -1376,7 +1375,7 @@ table.form-table td .updated p {
margin-top: 10px;
}
.wp-admin select,
.wp-core-ui select,
.wp-admin .form-table select {
min-height: 40px;
font-size: 16px;
@@ -1526,6 +1525,10 @@ table.form-table td .updated p {
font-size: 14px;
}
.background-position-control .button-group > label {
font-size: 0;
}
.form-table fieldset label {
display: block;
}
@@ -1561,10 +1564,14 @@ table.form-table td .updated p {
position: absolute;
right: 0;
top: 0;
width: 2.375rem;
height: 2.375rem;
min-width: 40px;
min-height: 40px;
}
.wp-pwd button.wp-hide-pw {
right: 40px;
right: 2.5rem;
}
.wp-pwd button.button:hover,
@@ -1585,6 +1592,7 @@ table.form-table td .updated p {
.wp-pwd [type="text"],
.wp-pwd [type="password"] {
line-height: 2;
padding-right: 5rem;
}
.wp-cancel-pw .dashicons-no {

File diff suppressed because one or more lines are too long

View File

@@ -115,10 +115,7 @@ label {
padding: 0;
}
.language-chooser.wp-core-ui .step .button.button-large {
height: 36px;
font-size: 14px;
line-height: 2.35714285;
vertical-align: middle;
}
textarea {
border: 1px solid #ddd;
@@ -323,13 +320,22 @@ body.language-chooser {
width: 100%;
display: block;
border: 1px solid #ddd;
background-color: #fff;
background: #fff;
color: #32373c;
font-size: 16px;
font-family: Arial, sans-serif;
font-weight: 400;
}
.language-chooser select:focus {
color: #32373c;
}
.language-chooser select option:hover,
.language-chooser select option:focus {
color: #016087;
}
.language-chooser p {
text-align: left;
}

File diff suppressed because one or more lines are too long

View File

@@ -115,10 +115,7 @@ label {
padding: 0;
}
.language-chooser.wp-core-ui .step .button.button-large {
height: 36px;
font-size: 14px;
line-height: 2.35714285;
vertical-align: middle;
}
textarea {
border: 1px solid #ddd;
@@ -323,13 +320,22 @@ body.language-chooser {
width: 100%;
display: block;
border: 1px solid #ddd;
background-color: #fff;
background: #fff;
color: #32373c;
font-size: 16px;
font-family: Arial, sans-serif;
font-weight: 400;
}
.language-chooser select:focus {
color: #32373c;
}
.language-chooser select option:hover,
.language-chooser select option:focus {
color: #016087;
}
.language-chooser p {
text-align: right;
}

File diff suppressed because one or more lines are too long

View File

@@ -638,6 +638,7 @@ th.asc a:focus span.sorting-indicator {
clear: both;
height: 30px;
margin: 6px 0 4px;
padding-top: 5px;
vertical-align: middle;
}
@@ -647,7 +648,7 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages {
float: left;
margin: 3px 0 9px;
margin: 0 0 9px;
}
.tablenav .no-pages,
@@ -659,12 +660,12 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages .tablenav-pages-navspan {
display: inline-block;
vertical-align: baseline;
min-width: 28px;
min-height: 28px;
min-width: 30px;
min-height: 30px;
margin: 0;
padding: 0 4px;
font-size: 16px;
line-height: 1.5;
line-height: 1.625; /* 26px */
text-align: center;
}
@@ -678,8 +679,7 @@ th.asc a:focus span.sorting-indicator {
}
.tablenav .actions {
overflow: hidden;
padding: 2px 0 0 8px;
padding: 0 0 0 8px;
}
.wp-filter .actions {
@@ -1034,11 +1034,9 @@ tr.inline-edit-row td,
.inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] {
font-size: 12px;
line-height: 1.16666666;
vertical-align: middle;
text-align: center;
padding: 6px 4px;
padding: 0 4px;
}
.inline-edit-row fieldset label input.inline-edit-password-input {
@@ -1767,7 +1765,10 @@ div.action-links,
/* Checkboxes need to show */
.wp-list-table tr th.check-column {
display: table-cell;
width: 35px;
}
.wp-list-table .check-column {
width: 2.5em;
}
.wp-list-table .column-primary .toggle-row {
@@ -1957,6 +1958,15 @@ div.action-links,
box-sizing: border-box;
}
.inline-edit-row fieldset input[name=jj],
.inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] {
font-size: 16px;
line-height: 2;
padding: 3px 4px;
}
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-size: 16px;

File diff suppressed because one or more lines are too long

View File

@@ -638,6 +638,7 @@ th.asc a:focus span.sorting-indicator {
clear: both;
height: 30px;
margin: 6px 0 4px;
padding-top: 5px;
vertical-align: middle;
}
@@ -647,7 +648,7 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages {
float: right;
margin: 3px 0 9px;
margin: 0 0 9px;
}
.tablenav .no-pages,
@@ -659,12 +660,12 @@ th.asc a:focus span.sorting-indicator {
.tablenav .tablenav-pages .tablenav-pages-navspan {
display: inline-block;
vertical-align: baseline;
min-width: 28px;
min-height: 28px;
min-width: 30px;
min-height: 30px;
margin: 0;
padding: 0 4px;
font-size: 16px;
line-height: 1.5;
line-height: 1.625; /* 26px */
text-align: center;
}
@@ -678,8 +679,7 @@ th.asc a:focus span.sorting-indicator {
}
.tablenav .actions {
overflow: hidden;
padding: 2px 8px 0 0;
padding: 0 8px 0 0;
}
.wp-filter .actions {
@@ -1034,11 +1034,9 @@ tr.inline-edit-row td,
.inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] {
font-size: 12px;
line-height: 1.16666666;
vertical-align: middle;
text-align: center;
padding: 6px 4px;
padding: 0 4px;
}
.inline-edit-row fieldset label input.inline-edit-password-input {
@@ -1767,7 +1765,10 @@ div.action-links,
/* Checkboxes need to show */
.wp-list-table tr th.check-column {
display: table-cell;
width: 35px;
}
.wp-list-table .check-column {
width: 2.5em;
}
.wp-list-table .column-primary .toggle-row {
@@ -1957,6 +1958,15 @@ div.action-links,
box-sizing: border-box;
}
.inline-edit-row fieldset input[name=jj],
.inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] {
font-size: 16px;
line-height: 2;
padding: 3px 4px;
}
.inline-edit-row fieldset ul.cat-checklist label,
.inline-edit-row #bulk-titles div {
font-size: 16px;

File diff suppressed because one or more lines are too long

View File

@@ -852,6 +852,8 @@ border color while dragging a file over the uploader drop area */
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: right;
padding: 3px 0 0 16px;
min-width: 400px;
max-width: calc( 100% - 266px );
}
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
@@ -1199,7 +1201,6 @@ audio, video {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 60px;
font-size: 16px;
padding: 6px 10px;
}
@@ -1208,6 +1209,7 @@ audio, video {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: none;
width: auto;
max-width: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -852,6 +852,8 @@ border color while dragging a file over the uploader drop area */
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: left;
padding: 3px 16px 0 0;
min-width: 400px;
max-width: calc( 100% - 266px );
}
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
@@ -1199,7 +1201,6 @@ audio, video {
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
width: 60px;
font-size: 16px;
padding: 6px 10px;
}
@@ -1208,6 +1209,7 @@ audio, video {
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
float: none;
width: auto;
max-width: none;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -34,7 +34,6 @@ body.js .theme-browser.search-loading {
right: 20px;
margin: 0;
width: 280px;
font-size: inherit;
}
/* Position admin messages */

File diff suppressed because one or more lines are too long

View File

@@ -34,7 +34,6 @@ body.js .theme-browser.search-loading {
left: 20px;
margin: 0;
width: 280px;
font-size: inherit;
}
/* Position admin messages */

File diff suppressed because one or more lines are too long

View File

@@ -21,7 +21,7 @@ list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
@@ -31,15 +31,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</h1>
</div>
<div class="about__header-badge wp-badge">
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Version %s' ),
$display_version
);
?>
</div>
<div class="about__header-badge"></div>
<div class="about__header-text">
<p>
@@ -61,44 +53,47 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</nav>
</div>
<div class="about-wrap-content">
<div class="feature-section has-1-columns">
<h2><?php _e( 'Freedoms' ); ?></h2>
<p class="about-description">
<?php
printf(
/* translators: %s: https://wordpress.org/about/license/ */
__( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ),
__( 'https://wordpress.org/about/license/' )
);
?>
</p>
</div>
<div class="about__section has-subtle-background-color is-feature">
<h2><?php _e( 'Freedoms' ); ?></h2>
<div class="feature-section has-4-columns is-fullwidth">
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 1st Freedom' ); ?></h3>
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 2nd Freedom' ); ?></h3>
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 3rd Freedom' ); ?></h3>
<p><?php _e( 'To redistribute.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 4th Freedom' ); ?></h3>
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
</div>
</div>
<p class="about-description">
<?php
printf(
/* translators: %s: https://wordpress.org/about/license/ */
__( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ),
__( 'https://wordpress.org/about/license/' )
);
?>
</p>
</div>
<div class="feature-section has-1-columns">
<hr />
<div class="about__section has-4-columns">
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 1st Freedom' ); ?></h3>
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 2nd Freedom' ); ?></h3>
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 3rd Freedom' ); ?></h3>
<p><?php _e( 'To redistribute.' ); ?></p>
</div>
<div class="column">
<div class="freedoms-image"></div>
<h3><?php _e( 'The 4th Freedom' ); ?></h3>
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
</div>
</div>
<div class="about__section">
<div class="column">
<p>
<?php
printf(

View File

@@ -581,6 +581,8 @@ class Custom_Background {
* @deprecated 3.5.0
*/
public function wp_set_background_image() {
check_ajax_referer( 'custom-background' );
if ( ! current_user_can( 'edit_theme_options' ) || ! isset( $_POST['attachment_id'] ) ) {
exit;
}

View File

@@ -343,7 +343,7 @@ class Custom_Image_Header {
?>
<script type="text/javascript">
(function($){
var default_color = '<?php echo $default_color; ?>',
var default_color = '<?php echo esc_js( $default_color ); ?>',
header_text_fields;
function pickColor(color) {

View File

@@ -62,7 +62,8 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
*
* @since 3.0.0
*
* @global int $_nav_menu_placeholder
* @global int $_nav_menu_placeholder
* @global int|string $nav_menu_selected_id
*
* @param string $output Used to append additional content (passed by reference).
* @param object $item Menu item data object.
@@ -71,7 +72,7 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
* @param int $id Not used.
*/
public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
global $_nav_menu_placeholder;
global $_nav_menu_placeholder, $nav_menu_selected_id;
$_nav_menu_placeholder = ( 0 > $_nav_menu_placeholder ) ? intval( $_nav_menu_placeholder ) - 1 : -1;
$possible_object_id = isset( $item->post_type ) && 'nav_menu_item' == $item->post_type ? $item->object_id : $_nav_menu_placeholder;
@@ -81,7 +82,7 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
$output .= $indent . '<li>';
$output .= '<label class="menu-item-title">';
$output .= '<input type="checkbox" class="menu-item-checkbox';
$output .= '<input type="checkbox"' . wp_nav_menu_disabled_check( $nav_menu_selected_id, false ) . ' class="menu-item-checkbox';
if ( ! empty( $item->front_or_home ) ) {
$output .= ' add-to-top';

View File

@@ -631,12 +631,15 @@ class WP_List_Table {
<div class="view-switch">
<?php
foreach ( $this->modes as $mode => $title ) {
$classes = array( 'view-' . $mode );
$classes = array( 'view-' . $mode );
$aria_current = '';
if ( $current_mode === $mode ) {
$classes[] = 'current';
$classes[] = 'current';
$aria_current = ' aria-current="page"';
}
printf(
"<a href='%s' class='%s' id='view-switch-$mode'><span class='screen-reader-text'>%s</span></a>\n",
"<a href='%s' class='%s' id='view-switch-$mode'$aria_current><span class='screen-reader-text'>%s</span></a>\n",
esc_url( add_query_arg( 'mode', $mode ) ),
implode( ' ', $classes ),
$title

View File

@@ -1015,6 +1015,46 @@ class WP_Site_Health {
return $result;
}
/**
* Test if the PHP default timezone is set to UTC.
*
* @since 5.3.1
*
* @return array The test results.
*/
public function get_test_php_default_timezone() {
$result = array(
'label' => __( 'PHP default timezone is valid' ),
'status' => 'good',
'badge' => array(
'label' => __( 'Performance' ),
'color' => 'blue',
),
'description' => sprintf(
'<p>%s</p>',
__( 'PHP default timezone was configured by WordPress on loading. This is necessary for correct calculations of dates and times.' )
),
'test' => 'php_default_timezone',
);
if ( 'UTC' !== date_default_timezone_get() ) {
$result['status'] = 'critical';
$result['label'] = __( 'PHP default timezone is invalid' );
$result['description'] = sprintf(
'<p>%s</p>',
sprintf(
/* translators: %s: date_default_timezone_set() */
__( 'PHP default timezone was changed after WordPress loading by a %s function call. This interferes with correct calculations of dates and times.' ),
'<code>date_default_timezone_set()</code>'
)
);
}
return $result;
}
/**
* Test if the SQL server is up to date.
*
@@ -1842,51 +1882,55 @@ class WP_Site_Health {
public static function get_tests() {
$tests = array(
'direct' => array(
'wordpress_version' => array(
'wordpress_version' => array(
'label' => __( 'WordPress Version' ),
'test' => 'wordpress_version',
),
'plugin_version' => array(
'plugin_version' => array(
'label' => __( 'Plugin Versions' ),
'test' => 'plugin_version',
),
'theme_version' => array(
'theme_version' => array(
'label' => __( 'Theme Versions' ),
'test' => 'theme_version',
),
'php_version' => array(
'php_version' => array(
'label' => __( 'PHP Version' ),
'test' => 'php_version',
),
'sql_server' => array(
'label' => __( 'Database Server version' ),
'test' => 'sql_server',
),
'php_extensions' => array(
'php_extensions' => array(
'label' => __( 'PHP Extensions' ),
'test' => 'php_extensions',
),
'utf8mb4_support' => array(
'php_default_timezone' => array(
'label' => __( 'PHP Default Timezone' ),
'test' => 'php_default_timezone',
),
'sql_server' => array(
'label' => __( 'Database Server version' ),
'test' => 'sql_server',
),
'utf8mb4_support' => array(
'label' => __( 'MySQL utf8mb4 support' ),
'test' => 'utf8mb4_support',
),
'https_status' => array(
'https_status' => array(
'label' => __( 'HTTPS status' ),
'test' => 'https_status',
),
'ssl_support' => array(
'ssl_support' => array(
'label' => __( 'Secure communication' ),
'test' => 'ssl_support',
),
'scheduled_events' => array(
'scheduled_events' => array(
'label' => __( 'Scheduled events' ),
'test' => 'scheduled_events',
),
'http_requests' => array(
'http_requests' => array(
'label' => __( 'HTTP Requests' ),
'test' => 'http_requests',
),
'debug_enabled' => array(
'debug_enabled' => array(
'label' => __( 'Debugging enabled' ),
'test' => 'is_in_debug_mode',
),

View File

@@ -76,3 +76,82 @@ function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) {
function _wp_credits_build_object_link( &$data ) {
$data = '<a href="' . esc_url( $data[1] ) . '">' . esc_html( $data[0] ) . '</a>';
}
/**
* Displays the title for a given group of contributors.
*
* @since 5.3.0
*
* @param array $group_data The current contributor group.
*/
function wp_credits_section_title( $group_data = array() ) {
if ( ! count( $group_data ) ) {
return;
}
if ( $group_data['name'] ) {
if ( 'Translators' === $group_data['name'] ) {
// Considered a special slug in the API response. (Also, will never be returned for en_US.)
$title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
} elseif ( isset( $group_data['placeholders'] ) ) {
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
$title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] );
} else {
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
$title = translate( $group_data['name'] );
}
echo '<h2 class="wp-people-group-title">' . esc_html( $title ) . "</h2>\n";
}
}
/**
* Displays a list of contributors for a given group.
*
* @since 5.3.0
*
* @param array $credits The credits groups returned from the API.
* @param string $slug The current group to display.
*/
function wp_credits_section_list( $credits = array(), $slug = '' ) {
$group_data = isset( $credits['groups'][ $slug ] ) ? $credits['groups'][ $slug ] : array();
$credits_data = $credits['data'];
if ( ! count( $group_data ) ) {
return;
}
if ( ! empty( $group_data['shuffle'] ) ) {
shuffle( $group_data['data'] ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt.
}
switch ( $group_data['type'] ) {
case 'list':
array_walk( $group_data['data'], '_wp_credits_add_profile_link', $credits_data['profiles'] );
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
break;
case 'libraries':
array_walk( $group_data['data'], '_wp_credits_build_object_link' );
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
break;
default:
$compact = 'compact' === $group_data['type'];
$classes = 'wp-people-group ' . ( $compact ? 'compact' : '' );
echo '<ul class="' . $classes . '" id="wp-people-group-' . $slug . '">' . "\n";
foreach ( $group_data['data'] as $person_data ) {
echo '<li class="wp-person" id="wp-person-' . esc_attr( $person_data[2] ) . '">' . "\n\t";
echo '<a href="' . esc_url( sprintf( $credits_data['profiles'], $person_data[2] ) ) . '" class="web">';
$size = $compact ? 40 : 80;
$data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
$data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size * 2 ) );
echo '<img src="' . esc_url( $data['url'] ) . '" srcset="' . esc_url( $data2x['url'] ) . ' 2x" class="gravatar" alt="" />' . "\n";
echo esc_html( $person_data[0] ) . "</a>\n\t";
if ( ! $compact ) {
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
}
echo "</li>\n";
}
echo "</ul>\n";
break;
}
}

View File

@@ -1797,22 +1797,11 @@ function wp_welcome_panel() {
<div class="welcome-panel-column welcome-panel-last">
<h3><?php _e( 'More Actions' ); ?></h3>
<ul>
<?php
if ( current_theme_supports( 'widgets' ) || current_theme_supports( 'menus' ) ) :
if ( current_theme_supports( 'widgets' ) && current_theme_supports( 'menus' ) ) {
$widgets_menus_link = sprintf(
/* translators: 1: URL to Widgets screen, 2: URL to Menus screen. */
__( 'Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>' ),
admin_url( 'widgets.php' ),
admin_url( 'nav-menus.php' )
);
} elseif ( current_theme_supports( 'widgets' ) ) {
$widgets_menus_link = '<a href="' . admin_url( 'widgets.php' ) . '">' . __( 'Manage widgets' ) . '</a>';
} else {
$widgets_menus_link = '<a href="' . admin_url( 'nav-menus.php' ) . '">' . __( 'Manage menus' ) . '</a>';
}
?>
<li><div class="welcome-icon welcome-widgets-menus"><?php echo $widgets_menus_link; ?></div></li>
<?php if ( current_theme_supports( 'widgets' ) ) : ?>
<li><?php printf( '<a href="%s" class="welcome-icon welcome-widgets">' . __( 'Manage widgets' ) . '</a>', admin_url( 'widgets.php' ) ); ?></li>
<?php endif; ?>
<?php if ( current_theme_supports( 'menus' ) ) : ?>
<li><?php printf( '<a href="%s" class="welcome-icon welcome-menus">' . __( 'Manage menus' ) . '</a>', admin_url( 'nav-menus.php' ) ); ?></li>
<?php endif; ?>
<?php if ( current_user_can( 'manage_options' ) ) : ?>
<li><?php printf( '<a href="%s" class="welcome-icon welcome-comments">' . __( 'Turn comments on or off' ) . '</a>', admin_url( 'options-discussion.php' ) ); ?></li>

View File

@@ -90,8 +90,20 @@ function wp_get_missing_image_subsizes( $attachment_id ) {
return $registered_sizes;
}
$full_width = (int) $image_meta['width'];
$full_height = (int) $image_meta['height'];
// Use the originally uploaded image dimensions as full_width and full_height.
if ( ! empty( $image_meta['original_image'] ) ) {
$image_file = wp_get_original_image_path( $attachment_id );
$imagesize = @getimagesize( $image_file );
}
if ( ! empty( $imagesize ) ) {
$full_width = $imagesize[0];
$full_height = $imagesize[1];
} else {
$full_width = (int) $image_meta['width'];
$full_height = (int) $image_meta['height'];
}
$possible_sizes = array();
// Skip registered sizes that are too large for the uploaded image.
@@ -142,20 +154,28 @@ function wp_update_image_subsizes( $attachment_id ) {
// Previously failed upload?
// If there is an uploaded file, make all sub-sizes and generate all of the attachment meta.
if ( ! empty( $image_file ) ) {
return wp_create_image_subsizes( $image_file, $attachment_id );
$image_meta = wp_create_image_subsizes( $image_file, $attachment_id );
} else {
return new WP_Error( 'invalid_attachment', __( 'The attached file cannot be found.' ) );
}
} else {
$missing_sizes = wp_get_missing_image_subsizes( $attachment_id );
if ( empty( $missing_sizes ) ) {
return $image_meta;
}
// This also updates the image meta.
$image_meta = _wp_make_subsizes( $missing_sizes, $image_file, $image_meta, $attachment_id );
}
$missing_sizes = wp_get_missing_image_subsizes( $attachment_id );
/** This filter is documented in wp-admin/includes/image.php */
$image_meta = apply_filters( 'wp_generate_attachment_metadata', $image_meta, $attachment_id, 'update' );
if ( empty( $missing_sizes ) ) {
return $image_meta;
}
// Save the updated metadata.
wp_update_attachment_metadata( $attachment_id, $image_meta );
// This also updates the image meta.
return _wp_make_subsizes( $missing_sizes, $image_file, $image_meta, $attachment_id );
return $image_meta;
}
/**
@@ -224,96 +244,106 @@ function wp_create_image_subsizes( $file, $attachment_id ) {
$image_meta['image_meta'] = $exif_meta;
}
/**
* Filters the "BIG image" threshold value.
*
* If the original image width or height is above the threshold, it will be scaled down. The threshold is
* used as max width and max height. The scaled down image will be used as the largest available size, including
* the `_wp_attached_file` post meta value.
*
* Returning `false` from the filter callback will disable the scaling.
*
* @since 5.3.0
*
* @param int $threshold The threshold value in pixels. Default 2560.
* @param array $imagesize Indexed array of the image width and height (in that order).
* @param string $file Full path to the uploaded image file.
* @param int $attachment_id Attachment post ID.
*/
$threshold = (int) apply_filters( 'big_image_size_threshold', 2560, $imagesize, $file, $attachment_id );
// Do not scale (large) PNG images. May result in sub-sizes that have greater file size than the original. See #48736.
if ( $imagesize['mime'] !== 'image/png' ) {
// If the original image's dimensions are over the threshold, scale the image
// and use it as the "full" size.
if ( $threshold && ( $image_meta['width'] > $threshold || $image_meta['height'] > $threshold ) ) {
$editor = wp_get_image_editor( $file );
/**
* Filters the "BIG image" threshold value.
*
* If the original image width or height is above the threshold, it will be scaled down. The threshold is
* used as max width and max height. The scaled down image will be used as the largest available size, including
* the `_wp_attached_file` post meta value.
*
* Returning `false` from the filter callback will disable the scaling.
*
* @since 5.3.0
*
* @param int $threshold The threshold value in pixels. Default 2560.
* @param array $imagesize {
* Indexed array of the image width and height in pixels.
*
* @type int $0 The image width.
* @type int $1 The image height.
* }
* @param string $file Full path to the uploaded image file.
* @param int $attachment_id Attachment post ID.
*/
$threshold = (int) apply_filters( 'big_image_size_threshold', 2560, $imagesize, $file, $attachment_id );
if ( is_wp_error( $editor ) ) {
// This image cannot be edited.
return $image_meta;
}
// If the original image's dimensions are over the threshold, scale the image
// and use it as the "full" size.
if ( $threshold && ( $image_meta['width'] > $threshold || $image_meta['height'] > $threshold ) ) {
$editor = wp_get_image_editor( $file );
// Resize the image
$resized = $editor->resize( $threshold, $threshold );
$rotated = null;
if ( is_wp_error( $editor ) ) {
// This image cannot be edited.
return $image_meta;
}
// If there is EXIF data, rotate according to EXIF Orientation.
if ( ! is_wp_error( $resized ) && is_array( $exif_meta ) ) {
$resized = $editor->maybe_exif_rotate();
$rotated = $resized;
}
// Resize the image
$resized = $editor->resize( $threshold, $threshold );
$rotated = null;
if ( ! is_wp_error( $resized ) ) {
// Append the threshold size to the image file name. It will look like "my-image-scaled-2560.jpg".
// This doesn't affect the sub-sizes names as they are generated from the original image (for best quality).
$saved = $editor->save( $editor->generate_filename( 'scaled-' . $threshold ) );
// If there is EXIF data, rotate according to EXIF Orientation.
if ( ! is_wp_error( $resized ) && is_array( $exif_meta ) ) {
$resized = $editor->maybe_exif_rotate();
$rotated = $resized;
}
if ( ! is_wp_error( $saved ) ) {
$image_meta = _wp_image_meta_replace_original( $saved, $file, $image_meta, $attachment_id );
if ( ! is_wp_error( $resized ) ) {
// Append "-scaled" to the image file name. It will look like "my_image-scaled.jpg".
// This doesn't affect the sub-sizes names as they are generated from the original image (for best quality).
$saved = $editor->save( $editor->generate_filename( 'scaled' ) );
// If the image was rotated update the stored EXIF data.
if ( true === $rotated && ! empty( $image_meta['image_meta']['orientation'] ) ) {
$image_meta['image_meta']['orientation'] = 1;
if ( ! is_wp_error( $saved ) ) {
$image_meta = _wp_image_meta_replace_original( $saved, $file, $image_meta, $attachment_id );
// If the image was rotated update the stored EXIF data.
if ( true === $rotated && ! empty( $image_meta['image_meta']['orientation'] ) ) {
$image_meta['image_meta']['orientation'] = 1;
}
} else {
// TODO: log errors.
}
wp_update_attachment_metadata( $attachment_id, $image_meta );
} else {
// TODO: log errors.
}
} else {
// TODO: log errors.
}
} elseif ( ! empty( $exif_meta['orientation'] ) && (int) $exif_meta['orientation'] !== 1 ) {
// Rotate the whole original image if there is EXIF data and "orientation" is not 1.
} elseif ( ! empty( $exif_meta['orientation'] ) && (int) $exif_meta['orientation'] !== 1 ) {
// Rotate the whole original image if there is EXIF data and "orientation" is not 1.
$editor = wp_get_image_editor( $file );
$editor = wp_get_image_editor( $file );
if ( is_wp_error( $editor ) ) {
// This image cannot be edited.
return $image_meta;
}
if ( is_wp_error( $editor ) ) {
// This image cannot be edited.
return $image_meta;
}
// Rotate the image
$rotated = $editor->maybe_exif_rotate();
// Rotate the image
$rotated = $editor->maybe_exif_rotate();
if ( true === $rotated ) {
// Append `-rotated` to the image file name.
$saved = $editor->save( $editor->generate_filename( 'rotated' ) );
if ( true === $rotated ) {
// Append `-rotated` to the image file name.
$saved = $editor->save( $editor->generate_filename( 'rotated' ) );
if ( ! is_wp_error( $saved ) ) {
$image_meta = _wp_image_meta_replace_original( $saved, $file, $image_meta, $attachment_id );
if ( ! is_wp_error( $saved ) ) {
$image_meta = _wp_image_meta_replace_original( $saved, $file, $image_meta, $attachment_id );
// Update the stored EXIF data.
if ( ! empty( $image_meta['image_meta']['orientation'] ) ) {
$image_meta['image_meta']['orientation'] = 1;
// Update the stored EXIF data.
if ( ! empty( $image_meta['image_meta']['orientation'] ) ) {
$image_meta['image_meta']['orientation'] = 1;
}
} else {
// TODO: log errors.
}
wp_update_attachment_metadata( $attachment_id, $image_meta );
} else {
// TODO: log errors.
}
}
}
// Initial save of the new metadata.
// At this point the file was uploaded and moved to the uploads directory
// but the image sub-sizes haven't been created yet and the `sizes` array is empty.
wp_update_attachment_metadata( $attachment_id, $image_meta );
$new_sizes = wp_get_registered_image_subsizes();
/**
@@ -520,8 +550,8 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
*
* @since 4.7.0
*
* @param array $fallback_sizes An array of image size names.
* @param array $metadata Current attachment metadata.
* @param string[] $fallback_sizes An array of image size names.
* @param array $metadata Current attachment metadata.
*/
$fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );
@@ -577,11 +607,14 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
* Filters the generated attachment meta data.
*
* @since 2.1.0
* @since 5.3.0 The `$context` parameter was added.
*
* @param array $metadata An array of attachment meta data.
* @param int $attachment_id Current attachment ID.
* @param array $metadata An array of attachment meta data.
* @param int $attachment_id Current attachment ID.
* @param string $context Additional context. Can be 'create' when metadata was initially created for new attachment
* or 'update' when the metadata was updated.
*/
return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id );
return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id, 'create' );
}
/**

View File

@@ -531,7 +531,7 @@ function wp_iframe( $content_func, ...$args ) {
?>
<script type="text/javascript">
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
isRtl = <?php echo (int) is_rtl(); ?>;
</script>
<?php
@@ -3212,7 +3212,7 @@ function edit_form_image_editor( $post ) {
?>
</label>
<?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?>
<?php wp_editor( format_to_edit( $post->post_content ), 'attachment_content', $editor_args ); ?>
</div>
<?php

View File

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

View File

@@ -840,7 +840,7 @@ function can_edit_network( $network_id ) {
function _thickbox_path_admin_subfolder() {
?>
<script type="text/javascript">
var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
var tb_pathToImage = "<?php echo esc_js( includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ) ); ?>";
</script>
<?php
}

View File

@@ -255,23 +255,25 @@ function wp_nav_menu_taxonomy_meta_boxes() {
}
/**
* Check whether to disable the Menu Locations meta box submit button
* Check whether to disable the Menu Locations meta box submit button and inputs.
*
* @since 3.6.0
* @since 5.3.1 The `$echo` parameter was added.
*
* @global bool $one_theme_location_no_menus to determine if no menus exist
*
* @param int|string $nav_menu_selected_id (id, name or slug) of the currently-selected menu
* @return string Disabled attribute if at least one menu exists, false if not
* @param int|string $nav_menu_selected_id ID, name, or slug of the currently selected menu.
* @param bool $echo Whether to echo or just return the string.
* @return string|false Disabled attribute if at least one menu exists, false if not.
*/
function wp_nav_menu_disabled_check( $nav_menu_selected_id ) {
function wp_nav_menu_disabled_check( $nav_menu_selected_id, $echo = true ) {
global $one_theme_location_no_menus;
if ( $one_theme_location_no_menus ) {
return false;
}
return disabled( $nav_menu_selected_id, 0 );
return disabled( $nav_menu_selected_id, 0, $echo );
}
/**
@@ -292,12 +294,12 @@ function wp_nav_menu_item_link_meta_box() {
<input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />
<p id="menu-item-url-wrap" class="wp-clearfix">
<label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label>
<input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text" class="code menu-item-textbox" placeholder="https://" />
<input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="code menu-item-textbox" placeholder="https://" />
</p>
<p id="menu-item-name-wrap" class="wp-clearfix">
<label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label>
<input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text" class="regular-text menu-item-textbox" />
<input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="regular-text menu-item-textbox" />
</p>
<p class="button-controls wp-clearfix">
@@ -569,7 +571,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $box ) {
?>
<p class="quick-search-wrap">
<label for="quick-search-posttype-<?php echo $post_type_name; ?>" class="screen-reader-text"><?php _e( 'Search' ); ?></label>
<input type="search" class="quick-search" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" id="quick-search-posttype-<?php echo $post_type_name; ?>" />
<input type="search"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="quick-search" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" id="quick-search-posttype-<?php echo $post_type_name; ?>" />
<span class="spinner"></span>
<?php submit_button( __( 'Search' ), 'small quick-search-submit hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
</p>
@@ -651,7 +653,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $box ) {
<p class="button-controls wp-clearfix" data-items-type="posttype-<?php echo esc_attr( $post_type_name ); ?>">
<span class="list-controls hide-if-no-js">
<input type="checkbox" id="<?php echo esc_attr( $post_type_name . '-tab' ); ?>" class="select-all" />
<input type="checkbox"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> id="<?php echo esc_attr( $post_type_name . '-tab' ); ?>" class="select-all" />
<label for="<?php echo esc_attr( $post_type_name . '-tab' ); ?>"><?php _e( 'Select All' ); ?></label>
</span>
@@ -880,7 +882,7 @@ function wp_nav_menu_item_taxonomy_meta_box( $object, $box ) {
<p class="button-controls wp-clearfix" data-items-type="taxonomy-<?php echo esc_attr( $taxonomy_name ); ?>">
<span class="list-controls hide-if-no-js">
<input type="checkbox" id="<?php echo esc_attr( $taxonomy_name . '-tab' ); ?>" class="select-all" />
<input type="checkbox"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> id="<?php echo esc_attr( $taxonomy_name . '-tab' ); ?>" class="select-all" />
<label for="<?php echo esc_attr( $taxonomy_name . '-tab' ); ?>"><?php _e( 'Select All' ); ?></label>
</span>

View File

@@ -1388,8 +1388,9 @@ function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability,
$submenu[ $parent_slug ][] = $new_sub_menu;
} else {
// If position is equal or higher than the number of items in the array, append the submenu.
if ( $position >= count( $submenu[ $parent_slug ] ) ) {
// Append the submenu if the parent item is not present in the submenu,
// or if position is equal or higher than the number of items in the array.
if ( ! isset( $submenu[ $parent_slug ] ) || $position >= count( $submenu[ $parent_slug ] ) ) {
$submenu[ $parent_slug ][] = $new_sub_menu;
} else {
// Test for a negative position.

View File

@@ -1967,12 +1967,12 @@ function iframe_header( $title = '', $deprecated = false ) {
<script type="text/javascript">
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();}
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
pagenow = '<?php echo $current_screen->id; ?>',
typenow = '<?php echo $current_screen->post_type; ?>',
adminpage = '<?php echo $admin_body_class; ?>',
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
isRtl = <?php echo (int) is_rtl(); ?>;
</script>
<?php

View File

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

View File

@@ -1 +1 @@
!function(e){e(document).ready(function(){e(".accordion-container").on("click keydown",".accordion-section-title",function(n){"keydown"===n.type&&13!==n.which||(n.preventDefault(),function(n){var e=n.closest(".accordion-section"),o=e.find("[aria-expanded]").first(),a=e.closest(".accordion-container"),i=a.find(".open"),t=i.find("[aria-expanded]").first(),s=e.find(".accordion-section-content");if(e.hasClass("cannot-expand"))return;a.addClass("opening"),e.hasClass("open")?(e.toggleClass("open"),s.toggle(!0).slideToggle(150)):(t.attr("aria-expanded","false"),i.removeClass("open"),i.find(".accordion-section-content").show().slideUp(150),s.toggle(!1).slideToggle(150),e.toggleClass("open"));setTimeout(function(){a.removeClass("opening")},150),o&&o.attr("aria-expanded",String("false"===o.attr("aria-expanded")))}(e(this)))})})}(jQuery);
!function(s){s(document).ready(function(){s(".accordion-container").on("click keydown",".accordion-section-title",function(e){var n,o,a,i,t;"keydown"===e.type&&13!==e.which||(e.preventDefault(),n=s(this),o=n.closest(".accordion-section"),a=o.find("[aria-expanded]").first(),i=o.closest(".accordion-container"),t=i.find(".open"),e=t.find("[aria-expanded]").first(),n=o.find(".accordion-section-content"),o.hasClass("cannot-expand")||(i.addClass("opening"),o.hasClass("open")?(o.toggleClass("open"),n.toggle(!0).slideToggle(150)):(e.attr("aria-expanded","false"),t.removeClass("open"),t.find(".accordion-section-content").show().slideUp(150),n.toggle(!1).slideToggle(150),o.toggleClass("open")),setTimeout(function(){i.removeClass("opening")},150),a&&a.attr("aria-expanded",String("false"===a.attr("aria-expanded")))))})})}(jQuery);

View File

@@ -1 +1 @@
void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(l,d){"use strict";d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,n){var e,a,o,i;return e=l("string"==typeof t?"#"+t:t),(o=l.extend({},d.codeEditor.defaultSettings,n)).codemirror=l.extend({},o.codemirror),function(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function u(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=l.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&l.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&l.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=l.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint&&(t.options.rules.csslint=s.csslint)),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,n,e){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,n,e),_.isEqual(o,a)||(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,n,e),(!r.state.focused||0===a.length||0<d.length)&&c())}),t)}r.setOption("lint",u()),r.on("optionChange",function(t,n){var e,o,i="CodeMirror-lint-markers";"lint"===n&&(o=r.getOption("gutters")||[],!0===(e=r.getOption("lint"))?(_.contains(o,i)||r.setOption("gutters",[i].concat(o)),r.setOption("lint",u())):e||r.setOption("gutters",_.without(o,i)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),l(document.body).on("mousedown",function(t){!r.state.focused||l.contains(r.display.wrapper,t.target)||l(t.target).hasClass("CodeMirror-hint")||c()})}(a=d.CodeMirror.fromTextArea(e[0],o.codemirror),o),i={settings:o,codemirror:a},a.showHint&&a.on("keyup",function(t,n){var e,o,i,r,s=/^[a-zA-Z]$/.test(n.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?e="<"===n.key||"/"===n.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?e=s||":"===n.key||" "===n.key&&/:\s+$/.test(o):"javascript"===i?e=s||"."===n.key:"clike"===i&&"php"===a.options.mode&&(e="keyword"===r.type||"variable"===r.type),e&&a.showHint({completeSingle:!1}))}),function(e,o){var i=l(e.getTextArea());e.on("blur",function(){i.data("next-tab-blurs",!1)}),e.on("keydown",function(t,n){27!==n.keyCode?9===n.keyCode&&i.data("next-tab-blurs")&&(n.shiftKey?o.onTabPrevious(e,n):o.onTabNext(e,n),i.data("next-tab-blurs",!1),n.preventDefault()):i.data("next-tab-blurs",!0)})}(a,n),i}}(window.jQuery,window.wp);
void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,d){"use strict";function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint&&(t.options.rules.csslint=s.csslint)),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,e,n){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,e,n),_.isEqual(o,a)||(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,e,n),(!r.state.focused||0===a.length||0<d.length)&&c())}),t)}r.setOption("lint",i()),r.on("optionChange",function(t,e){var n,o="CodeMirror-lint-markers";"lint"===e&&(n=r.getOption("gutters")||[],!0===(e=r.getOption("lint"))?(_.contains(n,o)||r.setOption("gutters",[o].concat(n)),r.setOption("lint",i())):e||r.setOption("gutters",_.without(n,o)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),u(document.body).on("mousedown",function(t){!r.state.focused||u.contains(r.display.wrapper,t.target)||u(t.target).hasClass("CodeMirror-hint")||c()})}d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,e){var a,n,o,i,r=u("string"==typeof t?"#"+t:t),t=u.extend({},d.codeEditor.defaultSettings,e);return t.codemirror=u.extend({},t.codemirror),s(a=d.CodeMirror.fromTextArea(r[0],t.codemirror),t),t={settings:t,codemirror:a},a.showHint&&a.on("keyup",function(t,e){var n,o,i,r,s=/^[a-zA-Z]$/.test(e.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?n="<"===e.key||"/"===e.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?n=s||":"===e.key||" "===e.key&&/:\s+$/.test(o):"javascript"===i?n=s||"."===e.key:"clike"===i&&"php"===a.options.mode&&(n="keyword"===r.type||"variable"===r.type),n&&a.showHint({completeSingle:!1}))}),o=e,i=u((n=a).getTextArea()),n.on("blur",function(){i.data("next-tab-blurs",!1)}),n.on("keydown",function(t,e){27!==e.keyCode?9===e.keyCode&&i.data("next-tab-blurs")&&(e.shiftKey?o.onTabPrevious(n,e):o.onTabNext(n,e),i.data("next-tab-blurs",!1),e.preventDefault()):i.data("next-tab-blurs",!0)}),t}}(window.jQuery,window.wp);

View File

@@ -1 +1 @@
!function(i,t){var e;e={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){i.isFunction(o.options.change)&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=i.proxy(o.close,o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap("<label></label>"),o.wrappingLabelText=i('<span class="screen-reader-text"></span>').insertBefore(e).text(wpColorPickerL10n.defaultLabel)),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('<div class="wp-picker-container" />'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),o.pickerContainer=i('<div class="wp-picker-holder" />').insertAfter(o.wrappingLabel),o.button=i('<input type="button" class="button button-small" />'),o.options.defaultColor?o.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString).attr("aria-label",wpColorPickerL10n.defaultAriaLabel):o.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear).attr("aria-label",wpColorPickerL10n.clearAriaLabel),o.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(o.button),o.inputWrapper=e.closest(".wp-picker-input-wrap"),e.iris({target:o.pickerContainer,hide:o.options.hide,width:o.options.width,mode:o.options.mode,palettes:o.options.palettes,change:function(e,t){o.toggler.css({backgroundColor:t.color.toString()}),i.isFunction(o.options.change)&&o.options.change.call(this,e,t)}}),e.val(o.initialValue),o._addListeners(),o.options.hide||o.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(e){e.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.change(function(e){var t=i(this).val();""!==t&&"#"!==t||(o.toggler.css("backgroundColor",""),i.isFunction(o.options.clear)&&o.options.clear.call(this,e))}),o.button.click(function(e){var t=i(this);t.hasClass("wp-picker-clear")?(o.element.val(""),o.toggler.css("backgroundColor",""),i.isFunction(o.options.clear)&&o.options.clear.call(this,e)):t.hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),i("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),i("body").off("click.wpcolorpicker",this.close)},color:function(e){if(e===t)return this.element.iris("option","color");this.element.iris("option","color",e)},defaultColor:function(e){if(e===t)return this.options.defaultColor;this.options.defaultColor=e}},i.widget("wp.wpColorPicker",e)}(jQuery);
!function(i,t){var e={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){i.isFunction(o.options.change)&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=i.proxy(o.close,o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap("<label></label>"),o.wrappingLabelText=i('<span class="screen-reader-text"></span>').insertBefore(e).text(wpColorPickerL10n.defaultLabel)),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('<div class="wp-picker-container" />'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),o.pickerContainer=i('<div class="wp-picker-holder" />').insertAfter(o.wrappingLabel),o.button=i('<input type="button" class="button button-small" />'),o.options.defaultColor?o.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString).attr("aria-label",wpColorPickerL10n.defaultAriaLabel):o.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear).attr("aria-label",wpColorPickerL10n.clearAriaLabel),o.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(o.button),o.inputWrapper=e.closest(".wp-picker-input-wrap"),e.iris({target:o.pickerContainer,hide:o.options.hide,width:o.options.width,mode:o.options.mode,palettes:o.options.palettes,change:function(e,t){o.toggler.css({backgroundColor:t.color.toString()}),i.isFunction(o.options.change)&&o.options.change.call(this,e,t)}}),e.val(o.initialValue),o._addListeners(),o.options.hide||o.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(e){e.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.change(function(e){var t=i(this).val();""!==t&&"#"!==t||(o.toggler.css("backgroundColor",""),i.isFunction(o.options.clear)&&o.options.clear.call(this,e))}),o.button.click(function(e){var t=i(this);t.hasClass("wp-picker-clear")?(o.element.val(""),o.toggler.css("backgroundColor",""),i.isFunction(o.options.clear)&&o.options.clear.call(this,e)):t.hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),i("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),i("body").off("click.wpcolorpicker",this.close)},color:function(e){if(e===t)return this.element.iris("option","color");this.element.iris("option","color",e)},defaultColor:function(e){if(e===t)return this.options.defaultColor;this.options.defaultColor=e}};i.widget("wp.wpColorPicker",e)}(jQuery);

File diff suppressed because one or more lines are too long

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