Compare commits
165 Commits
master
...
5.5-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9d15b9258 | ||
|
|
455aa62ec7 | ||
|
|
91bc3134ff | ||
|
|
4f0d2197b6 | ||
|
|
ce1e18ac33 | ||
|
|
3b946f8047 | ||
|
|
54eb24feb7 | ||
|
|
7692dd406b | ||
|
|
f2387898e2 | ||
|
|
bc3f96de92 | ||
|
|
c0fd5b8c8f | ||
|
|
28b01cf262 | ||
|
|
52734cdc4e | ||
|
|
9d38fc1ea9 | ||
|
|
e1c0530d22 | ||
|
|
4e03cbf8bf | ||
|
|
daf9eff56a | ||
|
|
da240f21e2 | ||
|
|
356a49af41 | ||
|
|
aae37f1790 | ||
|
|
3a58019c39 | ||
|
|
3623a537fa | ||
|
|
879e812239 | ||
|
|
88e3d8ef14 | ||
|
|
64dc3f9159 | ||
|
|
fa18a89a67 | ||
|
|
425d33ee65 | ||
|
|
2d74427834 | ||
|
|
54362b988a | ||
|
|
317f7331fc | ||
|
|
9c3b41b023 | ||
|
|
eb3e30b6e8 | ||
|
|
30cfb5eed3 | ||
|
|
2b186198ca | ||
|
|
21df5a2520 | ||
|
|
433f7ec7a1 | ||
|
|
18b7e09efb | ||
|
|
3448d022f8 | ||
|
|
fd75e76255 | ||
|
|
1efd16777a | ||
|
|
f9e0a7396c | ||
|
|
67a606b0f4 | ||
|
|
13bdf36937 | ||
|
|
d80104976c | ||
|
|
f2b1d503c0 | ||
|
|
270c69eacd | ||
|
|
951e583bb4 | ||
|
|
107e7856e6 | ||
|
|
a428042e49 | ||
|
|
8518cbeea9 | ||
|
|
180e707b2e | ||
|
|
55e14b6d32 | ||
|
|
9e31b4e809 | ||
|
|
fa2673ce4b | ||
|
|
321e099745 | ||
|
|
ecd6a4c549 | ||
|
|
3bdec70780 | ||
|
|
8f1ac79d9f | ||
|
|
f062c1a2cc | ||
|
|
bb32328f5e | ||
|
|
1d0dc9f672 | ||
|
|
82ed257403 | ||
|
|
542c3d4bb1 | ||
|
|
59ca490c66 | ||
|
|
f7533ee854 | ||
|
|
5188ab0ce7 | ||
|
|
f2b876135c | ||
|
|
4c768414d6 | ||
|
|
2434d8188d | ||
|
|
a4b9563038 | ||
|
|
ff206bc029 | ||
|
|
0fb385f897 | ||
|
|
e56d08be94 | ||
|
|
bb254465ec | ||
|
|
0cf22af9bc | ||
|
|
e803596246 | ||
|
|
f06114fff2 | ||
|
|
26e1ea0fe0 | ||
|
|
fdad915022 | ||
|
|
649a2dbd38 | ||
|
|
bb9c99c489 | ||
|
|
8fd734ae42 | ||
|
|
22ceef8ed5 | ||
|
|
f5a90352b3 | ||
|
|
26edd1d039 | ||
|
|
15ed5a9e75 | ||
|
|
94b419b058 | ||
|
|
5d3eb85af8 | ||
|
|
280739e72c | ||
|
|
a6f6950507 | ||
|
|
825f0e01b4 | ||
|
|
a0096893c3 | ||
|
|
de7200c257 | ||
|
|
128ba6a38a | ||
|
|
9fceb56948 | ||
|
|
8096a67b7c | ||
|
|
5228943449 | ||
|
|
5b5de79ffd | ||
|
|
522904bde6 | ||
|
|
8e1d2765d0 | ||
|
|
466316ef95 | ||
|
|
9135fd39a6 | ||
|
|
b0038c85f1 | ||
|
|
7c2369f292 | ||
|
|
97bbea6001 | ||
|
|
559fcbdfed | ||
|
|
0ef27cd212 | ||
|
|
202f167106 | ||
|
|
b923eed063 | ||
|
|
c3e02f4262 | ||
|
|
3f25fa66be | ||
|
|
be19de843c | ||
|
|
fa9d78cc8c | ||
|
|
aed2402ea9 | ||
|
|
4604f4766d | ||
|
|
5ddabef439 | ||
|
|
ea3c57f303 | ||
|
|
65a1d15089 | ||
|
|
62a5dbff7b | ||
|
|
b2e4cc384d | ||
|
|
f6dfc217e7 | ||
|
|
2867dadfa7 | ||
|
|
260dd52af5 | ||
|
|
f86e37faae | ||
|
|
3557ce0af2 | ||
|
|
38da35836a | ||
|
|
6c78faf991 | ||
|
|
e9cf4f9c48 | ||
|
|
abd91fb7c9 | ||
|
|
c5dca80b90 | ||
|
|
9c1800d57b | ||
|
|
5028fdb02b | ||
|
|
f2656febbf | ||
|
|
fa8f759dc2 | ||
|
|
d5c3cd0293 | ||
|
|
d5b78890ed | ||
|
|
8e47fe0608 | ||
|
|
e7f689b9a8 | ||
|
|
931826a203 | ||
|
|
2460e1b0c8 | ||
|
|
52b59a5f07 | ||
|
|
719ef3461b | ||
|
|
081d50e68f | ||
|
|
96a9d51e11 | ||
|
|
dc9e56955d | ||
|
|
80f9c9b8ab | ||
|
|
8f16fd5be2 | ||
|
|
79e668950f | ||
|
|
b21d6c49ff | ||
|
|
d4dcfc37f6 | ||
|
|
4710457463 | ||
|
|
12d6a09ff5 | ||
|
|
afbbb3baa5 | ||
|
|
067856838b | ||
|
|
bfc7b4f50b | ||
|
|
08a594aaae | ||
|
|
e4188db213 | ||
|
|
e3e4523695 | ||
|
|
fc4dd704c2 | ||
|
|
fd27e2560b | ||
|
|
bb983b936c | ||
|
|
5ca7f64672 | ||
|
|
f6b9ae8a6f | ||
|
|
9e23c609e9 | ||
|
|
807aa76d7e |
@@ -61,35 +61,312 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section has-2-columns is-wider-left">
|
||||
<div class="about__section has-subtle-background-color">
|
||||
<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.5.13'
|
||||
);
|
||||
?>
|
||||
<?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.5.13' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.5.12'
|
||||
);
|
||||
?>
|
||||
<?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.5.12' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.5.11'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.5.11' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.5.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.5.10' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.5.9'
|
||||
);
|
||||
?>
|
||||
<?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.5.9' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.5.8'
|
||||
);
|
||||
?>
|
||||
<?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.5.7' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.5.8'
|
||||
);
|
||||
?>
|
||||
<?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.5.7' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.5.6'
|
||||
);
|
||||
?>
|
||||
<?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.5.6' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.5.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.5.5' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.5.4'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.5.4' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</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.5.3',
|
||||
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.5.3' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
14
|
||||
),
|
||||
'5.5.2',
|
||||
number_format_i18n( 14 )
|
||||
);
|
||||
?>
|
||||
<?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.5.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
44
|
||||
),
|
||||
'5.5.1',
|
||||
number_format_i18n( 44 )
|
||||
);
|
||||
?>
|
||||
<?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.5.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section has-1-column">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Speed' ); ?></h2>
|
||||
<p><strong><?php _e( 'Posts and pages feel faster, thanks to lazy-loaded images.' ); ?></strong></p>
|
||||
<p><?php _e( 'Images give your story a lot of impact, but they can sometimes make your site seem slow.' ); ?></p>
|
||||
<p><?php _e( 'In WordPress 5.5, images wait to load until they’re just about to scroll into view. The technical term is ‘lazy loading.’' ); ?></p>
|
||||
<p><?php _e( 'In WordPress 5.5, images wait to load until they’re just about to scroll into view. The technical term is ‘lazy loading’.' ); ?></p>
|
||||
<p><?php _e( 'On mobile, lazy loading can also keep browsers from loading files meant for other devices. That can save your readers money on data — and help preserve battery life.' ); ?></p>
|
||||
</div>
|
||||
<div class="column is-edge-to-edge" style="background-color:skyblue;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="is-small" />
|
||||
|
||||
<div class="about__section has-2-columns is-wider-right">
|
||||
<div class="column is-edge-to-edge" style="background-color:skyblue;">
|
||||
</div>
|
||||
<div class="about__section has-1-column">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Search' ); ?></h2>
|
||||
<h2><?php _ex( 'Search', 'sitemap' ); ?></h2>
|
||||
<p><strong><?php _e( 'Say hello to your new sitemap.' ); ?></strong></p>
|
||||
<p><?php _e( 'WordPress sites work well with search engines. ' ); ?></p>
|
||||
<p><?php _e( 'WordPress sites work well with search engines.' ); ?></p>
|
||||
<p><?php _e( 'Now, by default, WordPress 5.5 includes an XML sitemap that helps search engines discover your most important pages from the very minute you go live.' ); ?></p>
|
||||
<p><?php _e( 'So more people will find your site sooner, giving you more time to engage, retain and convert them to subscribers, customers or whatever fits your definition of success.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="is-small" />
|
||||
<hr />
|
||||
|
||||
<div class="about__section has-2-columns is-wider-left">
|
||||
<div class="about__section has-2-columns has-accent-background-color is-wider-right">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Security' ); ?></h2>
|
||||
<p><strong><?php _e( 'Auto-updates for Plugins and Themes' ); ?></strong></p>
|
||||
@@ -98,48 +375,67 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<p><strong><?php _e( 'Update by uploading ZIP files' ); ?></strong></p>
|
||||
<p><?php _e( 'If updating plugins and themes manually is your thing, now that’s easier too — just upload a ZIP file.' ); ?></p>
|
||||
</div>
|
||||
<div class="column is-edge-to-edge" style="background-color:skyblue;">
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<figure aria-labelledby="about-security" class="about__image">
|
||||
<video controls poster="https://s.w.org/images/core/5.5/auto-updates-poster.png">
|
||||
<source src="https://s.w.org/images/core/5.5/auto-updates.mp4" type="video/mp4" />
|
||||
<source src="https://s.w.org/images/core/5.5/auto-updates.webm" type="video/webm" />
|
||||
</video>
|
||||
<figcaption id="about-security" class="screen-reader-text"><?php _e( 'Video: Installed plugin screen, which shows a new column, Automatic Updates. In this column are buttons that say "Enable auto-updates". When clicked, the auto-updates feature is turned on for that plugin, and the button switches to say "Disable auto-updates".' ); ?></figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column is-edge-to-edge" style="height:200px;background-color:skyblue;">
|
||||
</div>
|
||||
<div class="about__section has-subtle-background-color">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Highlights from the block editor' ); ?></h2>
|
||||
<p><?php _e( 'Once again, the latest WordPress release packs a long list of exciting new features for the block editor. For example:' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Inline image editing' ); ?></h3>
|
||||
<p><?php _e( 'Crop, rotate, and zoom your photos right from the image block. If you spend a lot of time on images, this could save you hours!' ); ?></p>
|
||||
<h3><?php _e( 'Block patterns' ); ?></h3>
|
||||
<p><?php _e( 'New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.' ); ?></p>
|
||||
<p><?php _e( 'You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single dropdown — just click and go!' ); ?></p>
|
||||
<div class="about__section has-2-columns has-subtle-background-color">
|
||||
<div class="column about__image is-vertically-aligned-center">
|
||||
<figure aria-labelledby="about-block-pattern" class="about__image">
|
||||
<video controls poster="https://s.w.org/images/core/5.5/block-patterns-poster.png">
|
||||
<source src="https://s.w.org/images/core/5.5/block-patterns.mp4" type="video/mp4" />
|
||||
<source src="https://s.w.org/images/core/5.5/block-patterns.webm" type="video/webm" />
|
||||
</video>
|
||||
<figcaption id="about-block-pattern" class="screen-reader-text"><?php _e( 'Video: In the editor, the block inserter shows two tabs, Blocks and Patterns. The Patterns tab is selected. There are different block layouts in this tab. After scrolling through options including buttons and columns, a pattern called "Large header with a heading" is chosen. This adds a cover block, which is customized with a photo and the name of the WordPress 5.5 jazz musician.' ); ?></figcaption>
|
||||
</figure>
|
||||
<hr />
|
||||
<figure aria-labelledby="about-image-editor" class="about__image">
|
||||
<video controls poster="https://s.w.org/images/core/5.5/inline-image-editing-poster.png">
|
||||
<source src="https://s.w.org/images/core/5.5/inline-image-editing.mp4" type="video/mp4" />
|
||||
<source src="https://s.w.org/images/core/5.5/inline-image-editing-1.webm" type="video/webm" />
|
||||
</video>
|
||||
<figcaption id="about-image-editor" class="screen-reader-text"><?php _e( 'Video: An image is added with an image block. In the block toolbar, an icon called "Crop" is selected, which changes the toolbar to show image resizing tools. First, zoom is used to zoom into the center of the image. Next, aspect ratio is clicked. This shows a dropdown of common aspect ratios. Square is chosen, and the image is moved within the new square outline. The crop is completed by clicking "Apply."' ); ?></figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Block patterns' ); ?></h3>
|
||||
<p><?php _e( 'New block patterns make it simple and fun to create complex, beautiful layouts, using combinations of text and media that you can mix and match to fit your story.' ); ?></p>
|
||||
<p><?php _e( 'You will also find block patterns in a wide variety of plugins and themes, with more added all the time. Pick any of them from a single place — just click and go!' ); ?></p>
|
||||
<h3><?php _e( 'Inline image editing' ); ?></h3>
|
||||
<p><?php _e( 'Crop, rotate, and zoom your photos right from the image block. If you spend a lot of time on images, this could save you hours!' ); ?></p>
|
||||
|
||||
<h3><?php _e( 'The New Block Directory' ); ?></h3>
|
||||
<p><?php _e( 'Now it’s easier than ever to find the block you need. The new block directory is built right into the block editor, so you can install new block types to your site without ever leaving the editor.' ); ?></p>
|
||||
|
||||
<h3><?php _e( 'And so much more.' ); ?></h3>
|
||||
<p><?php _e( 'The highlights above are a tiny fraction of the new block-editor features you’ve just installed. Open the block editor and enjoy!' ); ?></p>
|
||||
<p><?php _e( 'The highlights above are a tiny fraction of the new block editor features you’ve just installed. Open the block editor and enjoy!' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="about__section has-1-column">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Accessibility' ); ?></h2>
|
||||
<p><?php _e( 'Every release adds improvements to the accessible publishing experience, and that remains true for WordPress 5.5. ' ); ?></p>
|
||||
<p><?php _e( 'Every release adds improvements to the accessible publishing experience, and that remains true for WordPress 5.5.' ); ?></p>
|
||||
<p><?php _e( 'Now you can copy links in media screens and modal dialogs with a button, instead of trying to highlight a line of text.' ); ?></p>
|
||||
<p><?php _e( 'You can also move meta boxes with the keyboard, and edit images in WordPress with your assistive device, as it can read you the instructions in the image editor.' ); ?></p>
|
||||
</div>
|
||||
<div class="column is-edge-to-edge" style="background-color:skyblue;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
@@ -155,7 +451,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Dashicons' ); ?></h3>
|
||||
<p><?php _e( 'The Dashicons library has received its final update in 5.5. It adds 39 block-editor icons along with 26 others.' ); ?></p>
|
||||
<p><?php _e( 'The Dashicons library has received its final update in 5.5. It adds 39 block editor icons along with 26 others.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -211,7 +507,25 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
);
|
||||
?>
|
||||
</li>
|
||||
<li><?php _e( 'New filters let custom post types associated with the category taxonomy have a default term beyond “Uncategorized.”' ); ?></li>
|
||||
<li><?php _e( 'Custom post types associated with the category taxonomy can now opt-in to supporting the default term.' ); ?></li>
|
||||
<li>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: 'register_taxonomy' function name. */
|
||||
__( 'Default terms can now be specified for custom taxonomies in %s.' ),
|
||||
'<code>register_taxonomy()</code>'
|
||||
);
|
||||
?>
|
||||
</li>
|
||||
<li>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: 'register_meta' function name. */
|
||||
__( 'The REST API now officially supports specifying default metadata values through %s.' ),
|
||||
'<code>register_meta()</code>'
|
||||
);
|
||||
?>
|
||||
</li>
|
||||
<li><?php _e( 'You will find updated versions of these bundled libraries: SimplePie, Twemoji, Masonry, imagesLoaded, getID3, Moment.js, and clipboard.js.' ); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -219,12 +533,6 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<hr class="is-small" />
|
||||
|
||||
<div class="about__section">
|
||||
|
||||
</div>
|
||||
|
||||
<hr class="is-small" />
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Check the Field Guide for more!' ); ?></h3>
|
||||
@@ -292,3 +600,15 @@ _n_noop(
|
||||
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: Link to update WordPress */
|
||||
__( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: Link to update WordPress */
|
||||
__( 'Important! Your version of WordPress (%1$s) will stop receiving security updates in the near future. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
|
||||
|
||||
/* translators: %s: The major version of WordPress for this branch. */
|
||||
__( 'This is the final release of WordPress %s' );
|
||||
|
||||
/* translators: The localized WordPress download URL. */
|
||||
__( 'https://wordpress.org/download/' );
|
||||
|
||||
@@ -82,12 +82,12 @@ $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'] ); ?>',
|
||||
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
|
||||
@@ -198,11 +198,19 @@ if ( $current_screen->is_block_editor() ) {
|
||||
}
|
||||
}
|
||||
|
||||
$error_get_last = error_get_last();
|
||||
|
||||
// Print a CSS class to make PHP errors visible.
|
||||
if ( error_get_last() && WP_DEBUG && WP_DEBUG_DISPLAY && ini_get( 'display_errors' ) ) {
|
||||
if ( $error_get_last && WP_DEBUG && WP_DEBUG_DISPLAY && ini_get( 'display_errors' )
|
||||
// Don't print the class for PHP notices in wp-config.php, as they happen before WP_DEBUG takes effect,
|
||||
// and should not be displayed with the `error_reporting` level previously set in wp-load.php.
|
||||
&& ( E_NOTICE !== $error_get_last['type'] || 'wp-config.php' !== wp_basename( $error_get_last['file'] ) )
|
||||
) {
|
||||
$admin_body_class .= ' php-error';
|
||||
}
|
||||
|
||||
unset( $error_get_last );
|
||||
|
||||
?>
|
||||
</head>
|
||||
<?php
|
||||
|
||||
@@ -36,14 +36,18 @@ if ( isset( $_GET['dt'] ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
$comment = get_comment( $comment_id );
|
||||
if ( isset( $_REQUEST['c'] ) ) {
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
$comment = get_comment( $comment_id );
|
||||
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||
wp_die(
|
||||
__( 'You can’t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
|
||||
);
|
||||
// Prevent actions on a comment associated with a trashed post.
|
||||
if ( $comment && 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||
wp_die(
|
||||
__( 'You can’t edit this comment because the associated post is in the Trash. Please restore the post first, then try again.' )
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$comment = null;
|
||||
}
|
||||
|
||||
switch ( $action ) {
|
||||
|
||||
@@ -74,10 +74,6 @@ $credits = wp_credits();
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="about__image aligncenter">
|
||||
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='300' viewbox='0 0 1000 300' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h1000v300H0z'/%3E%3Cpath style='mix-blend-mode:multiply' d='M39.6 140.22l931.1 3.36.8 76.5-929.5 6.6-2.4-86.46z' fill='%23216DD2'/%3E%3Cpath style='mix-blend-mode:multiply' d='M963.7 275.14s-.9-59.58-1-64.14c-.1-4.2-932.3 1.74-932.3 1.74L29 268.48v8.4' fill='%237FCDE6'/%3E%3Cpath style='mix-blend-mode:multiply' d='M958 73.32L47.8 70.26l1.2 78.66 907.3 4.26 1.7-79.86z' fill='%23072CF0'/%3E%3Cpath style='mix-blend-mode:multiply' d='M34 91.32l910.4-2.16L939.2 21 33.3 23.82l.7 67.5z' fill='%230188D9'/%3E%3C/svg%3E" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
.about__container {
|
||||
/* Section backgrounds */
|
||||
--background: #f3f4f5;
|
||||
--background: #fff;
|
||||
--subtle-background: #f2edd4;
|
||||
/* Main text color */
|
||||
--text: #322d2b;
|
||||
@@ -29,10 +29,10 @@
|
||||
/* Accent colors: used in header, on special classes. */
|
||||
--accent-1: #ebcd3d; /* Accent background */
|
||||
--accent-2: #bd7331;
|
||||
--accent-3: #bc5131;
|
||||
--accent-3: #b04329;
|
||||
/* Navigation colors. */
|
||||
--nav-background: var( --subtle-background );
|
||||
--nav-border: var( --accent-1 );
|
||||
--nav-background: var(--subtle-background);
|
||||
--nav-border: var(--accent-1);
|
||||
--nav-color: var(--accent-3);
|
||||
--nav-current: var(--accent-3);
|
||||
}
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
|
||||
.about__section {
|
||||
background: #f3f4f5;
|
||||
background: #fff;
|
||||
background: var(--background);
|
||||
clear: both;
|
||||
}
|
||||
@@ -109,13 +109,12 @@
|
||||
background-color: var(--accent-1);
|
||||
}
|
||||
|
||||
|
||||
.about__container .has-transparent-background-color {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.about__container .has-accent-color {
|
||||
color: #bc5131;
|
||||
color: #b04329;
|
||||
color: var(--accent-3);
|
||||
}
|
||||
|
||||
@@ -183,6 +182,12 @@
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.about__section.has-1-column {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
max-width: 36em;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns,
|
||||
.about__section.has-3-columns,
|
||||
.about__section.has-4-columns {
|
||||
@@ -290,6 +295,8 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about__section.has-2-columns.is-wider-right,
|
||||
.about__section.has-2-columns.is-wider-left,
|
||||
.about__section.has-3-columns,
|
||||
.about__section.has-4-columns {
|
||||
display: block;
|
||||
@@ -314,7 +321,6 @@
|
||||
.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 {
|
||||
@@ -354,7 +360,7 @@
|
||||
}
|
||||
|
||||
.about__section a {
|
||||
color: #bc5131;
|
||||
color: #b04329;
|
||||
color: var(--accent-3);
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -384,16 +390,12 @@
|
||||
|
||||
.about__container img {
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.about__container .about__image {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about__container .about__image img {
|
||||
@@ -402,6 +404,15 @@
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about__container .about__image .wp-video {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.about__container .about__image + h3 {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
.about__container hr {
|
||||
margin: 0;
|
||||
height: 32px;
|
||||
@@ -438,7 +449,7 @@
|
||||
/* 1.3 - Header */
|
||||
|
||||
.about__header {
|
||||
padding-top: 10vh;
|
||||
padding-top: 8em;
|
||||
margin-bottom: 32px;
|
||||
background-color: #ebcd3d;
|
||||
background-color: var(--accent-1);
|
||||
@@ -448,10 +459,13 @@
|
||||
|
||||
.about__header-title {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 20vh;
|
||||
max-height: 16em;
|
||||
padding: 32px;
|
||||
margin-bottom: 4em;
|
||||
text-align: center;
|
||||
padding: 10vh 32px 15vh;
|
||||
}
|
||||
|
||||
.about__header-title p {
|
||||
@@ -473,7 +487,7 @@
|
||||
padding: 16px 48px;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.4;
|
||||
background: #bc5131;
|
||||
background: #b04329;
|
||||
background: var(--accent-3);
|
||||
color: #f2edd4;
|
||||
color: var(--text-light);
|
||||
@@ -484,10 +498,11 @@
|
||||
}
|
||||
|
||||
.about__header-navigation {
|
||||
clear: both;
|
||||
padding-top: 0;
|
||||
background: #f2edd4;
|
||||
background: var(--nav-background);
|
||||
color: #bc5131;
|
||||
color: #b04329;
|
||||
color: var(--nav-color);
|
||||
border-bottom: 3px solid #ebcd3d;
|
||||
border-bottom: 3px solid var(--nav-border);
|
||||
@@ -516,7 +531,7 @@
|
||||
.about__header-navigation .nav-tab-active {
|
||||
margin-bottom: -3px;
|
||||
border-width: 0 0 6px;
|
||||
border-color: #bc5131;
|
||||
border-color: #b04329;
|
||||
border-color: var(--nav-current);
|
||||
}
|
||||
|
||||
@@ -526,7 +541,7 @@
|
||||
background-color: var(--text);
|
||||
color: #f2edd4;
|
||||
color: var(--text-light);
|
||||
border-color: #bc5131;
|
||||
border-color: #b04329;
|
||||
border-color: var(--nav-current);
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/about-rtl.min.css
vendored
2
wp-admin/css/about-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -20,7 +20,7 @@
|
||||
|
||||
.about__container {
|
||||
/* Section backgrounds */
|
||||
--background: #f3f4f5;
|
||||
--background: #fff;
|
||||
--subtle-background: #f2edd4;
|
||||
/* Main text color */
|
||||
--text: #322d2b;
|
||||
@@ -28,10 +28,10 @@
|
||||
/* Accent colors: used in header, on special classes. */
|
||||
--accent-1: #ebcd3d; /* Accent background */
|
||||
--accent-2: #bd7331;
|
||||
--accent-3: #bc5131;
|
||||
--accent-3: #b04329;
|
||||
/* Navigation colors. */
|
||||
--nav-background: var( --subtle-background );
|
||||
--nav-border: var( --accent-1 );
|
||||
--nav-background: var(--subtle-background);
|
||||
--nav-border: var(--accent-1);
|
||||
--nav-color: var(--accent-3);
|
||||
--nav-current: var(--accent-3);
|
||||
}
|
||||
@@ -98,7 +98,7 @@
|
||||
}
|
||||
|
||||
.about__section {
|
||||
background: #f3f4f5;
|
||||
background: #fff;
|
||||
background: var(--background);
|
||||
clear: both;
|
||||
}
|
||||
@@ -108,13 +108,12 @@
|
||||
background-color: var(--accent-1);
|
||||
}
|
||||
|
||||
|
||||
.about__container .has-transparent-background-color {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.about__container .has-accent-color {
|
||||
color: #bc5131;
|
||||
color: #b04329;
|
||||
color: var(--accent-3);
|
||||
}
|
||||
|
||||
@@ -182,6 +181,12 @@
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.about__section.has-1-column {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 36em;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns,
|
||||
.about__section.has-3-columns,
|
||||
.about__section.has-4-columns {
|
||||
@@ -289,6 +294,8 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about__section.has-2-columns.is-wider-right,
|
||||
.about__section.has-2-columns.is-wider-left,
|
||||
.about__section.has-3-columns,
|
||||
.about__section.has-4-columns {
|
||||
display: block;
|
||||
@@ -313,7 +320,6 @@
|
||||
.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 {
|
||||
@@ -353,7 +359,7 @@
|
||||
}
|
||||
|
||||
.about__section a {
|
||||
color: #bc5131;
|
||||
color: #b04329;
|
||||
color: var(--accent-3);
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -383,16 +389,12 @@
|
||||
|
||||
.about__container img {
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.about__container .about__image {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about__container .about__image img {
|
||||
@@ -401,6 +403,15 @@
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about__container .about__image .wp-video {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.about__container .about__image + h3 {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
.about__container hr {
|
||||
margin: 0;
|
||||
height: 32px;
|
||||
@@ -437,7 +448,7 @@
|
||||
/* 1.3 - Header */
|
||||
|
||||
.about__header {
|
||||
padding-top: 10vh;
|
||||
padding-top: 8em;
|
||||
margin-bottom: 32px;
|
||||
background-color: #ebcd3d;
|
||||
background-color: var(--accent-1);
|
||||
@@ -447,10 +458,13 @@
|
||||
|
||||
.about__header-title {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 20vh;
|
||||
max-height: 16em;
|
||||
padding: 32px;
|
||||
margin-bottom: 4em;
|
||||
text-align: center;
|
||||
padding: 10vh 32px 15vh;
|
||||
}
|
||||
|
||||
.about__header-title p {
|
||||
@@ -472,7 +486,7 @@
|
||||
padding: 16px 48px;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.4;
|
||||
background: #bc5131;
|
||||
background: #b04329;
|
||||
background: var(--accent-3);
|
||||
color: #f2edd4;
|
||||
color: var(--text-light);
|
||||
@@ -483,10 +497,11 @@
|
||||
}
|
||||
|
||||
.about__header-navigation {
|
||||
clear: both;
|
||||
padding-top: 0;
|
||||
background: #f2edd4;
|
||||
background: var(--nav-background);
|
||||
color: #bc5131;
|
||||
color: #b04329;
|
||||
color: var(--nav-color);
|
||||
border-bottom: 3px solid #ebcd3d;
|
||||
border-bottom: 3px solid var(--nav-border);
|
||||
@@ -515,7 +530,7 @@
|
||||
.about__header-navigation .nav-tab-active {
|
||||
margin-bottom: -3px;
|
||||
border-width: 0 0 6px;
|
||||
border-color: #bc5131;
|
||||
border-color: #b04329;
|
||||
border-color: var(--nav-current);
|
||||
}
|
||||
|
||||
@@ -525,7 +540,7 @@
|
||||
background-color: var(--text);
|
||||
color: #f2edd4;
|
||||
color: var(--text-light);
|
||||
border-color: #bc5131;
|
||||
border-color: #b04329;
|
||||
border-color: var(--nav-current);
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/about.min.css
vendored
2
wp-admin/css/about.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #096484;
|
||||
border-color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #064054;
|
||||
color: #064054;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #021c25;
|
||||
box-shadow: 0 0 0 1px #0c88b4;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #096484;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #096484;
|
||||
border-color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #064054;
|
||||
color: #064054;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #021c25;
|
||||
box-shadow: 0 0 0 1px #0c88b4;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #096484;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/blue/colors.min.css
vendored
2
wp-admin/css/colors/blue/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,71 +115,57 @@ textarea:focus {
|
||||
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-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;
|
||||
}
|
||||
@@ -264,7 +244,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,
|
||||
@@ -283,7 +262,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,
|
||||
@@ -699,4 +677,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #c7a589;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,71 +115,57 @@ textarea:focus {
|
||||
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-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;
|
||||
}
|
||||
@@ -264,7 +244,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,
|
||||
@@ -283,7 +262,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,
|
||||
@@ -699,4 +677,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #c7a589;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/coffee/colors.min.css
vendored
2
wp-admin/css/colors/coffee/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #a3b745;
|
||||
border-color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #829237;
|
||||
color: #829237;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #616d29;
|
||||
box-shadow: 0 0 0 1px #b6c669;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #a3b745;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #a3b745;
|
||||
border-color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #829237;
|
||||
color: #829237;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #616d29;
|
||||
box-shadow: 0 0 0 1px #b6c669;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #a3b745;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #04a4cc;
|
||||
border-color: #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #037c9a;
|
||||
color: #037c9a;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #025468;
|
||||
box-shadow: 0 0 0 1px #09cafa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -754,4 +728,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #04a4cc;
|
||||
border-color: #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #037c9a;
|
||||
color: #037c9a;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #025468;
|
||||
box-shadow: 0 0 0 1px #09cafa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -754,4 +728,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #e14d43;
|
||||
border-color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #d02c21;
|
||||
color: #d02c21;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #a4231a;
|
||||
box-shadow: 0 0 0 1px #e8776f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #e14d43;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #e14d43;
|
||||
border-color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #d02c21;
|
||||
color: #d02c21;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #a4231a;
|
||||
box-shadow: 0 0 0 1px #e8776f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #e14d43;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/midnight/colors.min.css
vendored
2
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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: #183ad6;
|
||||
}
|
||||
|
||||
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: #3858e9;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #3858e9;
|
||||
border-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #183ad6;
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #132ea8;
|
||||
box-shadow: 0 0 0 1px #667fee;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #3858e9;
|
||||
border-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #4664eb;
|
||||
border-color: #2a4ce7;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #2145e6;
|
||||
border-color: #2145e6;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #3858e9;
|
||||
color: #fff;
|
||||
border-color: #1534bf;
|
||||
box-shadow: inset 0 2px 5px -3px #03081f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
@@ -301,7 +277,6 @@ textarea:focus {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,8 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #183ad6;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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: #183ad6;
|
||||
}
|
||||
|
||||
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: #3858e9;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
color: #262a2e;
|
||||
box-shadow: inset 0 2px 5px -3px #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.active:focus {
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #3858e9;
|
||||
border-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #183ad6;
|
||||
color: #183ad6;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #132ea8;
|
||||
box-shadow: 0 0 0 1px #667fee;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary {
|
||||
background: #3858e9;
|
||||
border-color: #3858e9;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #4664eb;
|
||||
border-color: #2a4ce7;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #2145e6;
|
||||
border-color: #2145e6;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #3858e9;
|
||||
color: #fff;
|
||||
border-color: #1534bf;
|
||||
box-shadow: inset 0 2px 5px -3px #03081f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-group > .button.active {
|
||||
border-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
@@ -301,7 +277,6 @@ textarea:focus {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,8 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #3858e9;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/modern/colors.min.css
vendored
2
wp-admin/css/colors/modern/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -6,9 +6,4 @@ $notification-color: $highlight-color;
|
||||
$link: $highlight-color;
|
||||
$link-focus: darken($highlight-color, 10%);
|
||||
|
||||
|
||||
@import "../_admin.scss";
|
||||
|
||||
#adminmenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,71 +115,57 @@ textarea:focus {
|
||||
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-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;
|
||||
}
|
||||
@@ -264,7 +244,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,
|
||||
@@ -283,7 +262,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,
|
||||
@@ -699,4 +677,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,71 +115,57 @@ textarea:focus {
|
||||
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-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;
|
||||
}
|
||||
@@ -264,7 +244,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,
|
||||
@@ -283,7 +262,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,
|
||||
@@ -699,4 +677,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/ocean/colors.min.css
vendored
2
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #dd823b;
|
||||
border-color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #c36922;
|
||||
color: #c36922;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #98511a;
|
||||
box-shadow: 0 0 0 1px #e59e66;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #dd823b;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -27,7 +26,6 @@ span.wp-media-buttons-icon:before {
|
||||
.wp-core-ui .button-link {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-link:hover, .wp-core-ui .button-link:active, .wp-core-ui .button-link:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -59,28 +57,28 @@ input[type=radio]:checked::before {
|
||||
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;
|
||||
@@ -92,7 +90,6 @@ textarea:focus {
|
||||
border-color: #7e8993;
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button.focus,
|
||||
@@ -100,20 +97,17 @@ textarea:focus {
|
||||
border-color: #717c87;
|
||||
color: #262a2e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus {
|
||||
border-color: #7e8993;
|
||||
color: #262a2e;
|
||||
box-shadow: 0 0 0 1px #32373c;
|
||||
}
|
||||
|
||||
.wp-core-ui .button:active {
|
||||
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 {
|
||||
@@ -121,24 +115,20 @@ textarea:focus {
|
||||
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,
|
||||
.wp-core-ui .button-secondary {
|
||||
color: #dd823b;
|
||||
border-color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.hover,
|
||||
.wp-core-ui .button:hover,
|
||||
.wp-core-ui .button-secondary:hover {
|
||||
border-color: #c36922;
|
||||
color: #c36922;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.focus,
|
||||
.wp-core-ui .button:focus,
|
||||
.wp-core-ui .button-secondary:focus {
|
||||
@@ -146,71 +136,57 @@ textarea:focus {
|
||||
color: #98511a;
|
||||
box-shadow: 0 0 0 1px #e59e66;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.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-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;
|
||||
}
|
||||
@@ -301,7 +277,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,
|
||||
@@ -320,7 +295,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,
|
||||
@@ -736,4 +710,4 @@ div#wp-responsive-toggle a:before {
|
||||
.wp-full-overlay-footer .devices button:hover:before,
|
||||
.wp-full-overlay-footer .devices button:focus:before {
|
||||
color: #dd823b;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -30,6 +30,46 @@
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* inner 2 column liquid layout */
|
||||
|
||||
.inner-sidebar {
|
||||
float: left;
|
||||
clear: left;
|
||||
display: none;
|
||||
width: 281px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.columns-2 .inner-sidebar {
|
||||
margin-left: auto;
|
||||
width: 286px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.inner-sidebar #side-sortables,
|
||||
.columns-2 .inner-sidebar #side-sortables {
|
||||
min-height: 300px;
|
||||
width: 280px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.has-right-sidebar .inner-sidebar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.has-right-sidebar #post-body {
|
||||
float: right;
|
||||
clear: right;
|
||||
width: 100%;
|
||||
margin-left: -2000px;
|
||||
}
|
||||
|
||||
.has-right-sidebar #post-body-content {
|
||||
margin-left: 300px;
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* 2 columns main area */
|
||||
|
||||
#col-left {
|
||||
@@ -1946,9 +1986,9 @@ html.wp-toolbar {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.metabox-holder .postbox-container .empty-container {
|
||||
outline: 3px dashed #b4b9be;
|
||||
height: 250px;
|
||||
.metabox-holder .postbox-container .meta-box-sortables {
|
||||
/* The jQuery UI Sortables need some initial height to work properly. */
|
||||
min-height: 1px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -2481,7 +2521,7 @@ div.star-holder .star-rating {
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
transform: rotateY(180deg);
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
|
||||
.star-rating .star-empty:before {
|
||||
|
||||
2
wp-admin/css/common-rtl.min.css
vendored
2
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -29,6 +29,46 @@
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* inner 2 column liquid layout */
|
||||
|
||||
.inner-sidebar {
|
||||
float: right;
|
||||
clear: right;
|
||||
display: none;
|
||||
width: 281px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.columns-2 .inner-sidebar {
|
||||
margin-right: auto;
|
||||
width: 286px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.inner-sidebar #side-sortables,
|
||||
.columns-2 .inner-sidebar #side-sortables {
|
||||
min-height: 300px;
|
||||
width: 280px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.has-right-sidebar .inner-sidebar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.has-right-sidebar #post-body {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
margin-right: -2000px;
|
||||
}
|
||||
|
||||
.has-right-sidebar #post-body-content {
|
||||
margin-right: 300px;
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* 2 columns main area */
|
||||
|
||||
#col-left {
|
||||
@@ -1945,9 +1985,9 @@ html.wp-toolbar {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.metabox-holder .postbox-container .empty-container {
|
||||
outline: 3px dashed #b4b9be;
|
||||
height: 250px;
|
||||
.metabox-holder .postbox-container .meta-box-sortables {
|
||||
/* The jQuery UI Sortables need some initial height to work properly. */
|
||||
min-height: 1px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/common.min.css
vendored
2
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/customize-controls-rtl.min.css
vendored
2
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -55,6 +55,11 @@
|
||||
margin: 0 8px 20px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox-container .empty-container {
|
||||
outline: 3px dashed #b4b9be;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
|
||||
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
|
||||
outline: 3px dashed #606a73;
|
||||
|
||||
2
wp-admin/css/dashboard-rtl.min.css
vendored
2
wp-admin/css/dashboard-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -54,6 +54,11 @@
|
||||
margin: 0 8px 20px;
|
||||
}
|
||||
|
||||
#dashboard-widgets .postbox-container .empty-container {
|
||||
outline: 3px dashed #b4b9be;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
|
||||
.is-dragging-metaboxes #dashboard-widgets .meta-box-sortables {
|
||||
outline: 3px dashed #606a73;
|
||||
|
||||
2
wp-admin/css/dashboard.min.css
vendored
2
wp-admin/css/dashboard.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -149,25 +149,8 @@ body.post-new-php .submitbox .submitdelete {
|
||||
|
||||
/* Post Screen */
|
||||
|
||||
/* Only target the sortables in the post screen excluding the ones in the Dashboard. */
|
||||
#post-body .meta-box-sortables {
|
||||
/* Required min-height to make the jQuery UI Sortable drop zone work. */
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
/* Resets height and outline inherited from common.css. */
|
||||
#post-body.columns-1 #side-sortables.empty-container,
|
||||
#post-body #normal-sortables.empty-container,
|
||||
#post-body #advanced-sortables.empty-container {
|
||||
/* Sortables need some initial height to work correctly. */
|
||||
height: 1px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
|
||||
.is-dragging-metaboxes #post-body.columns-2 #side-sortables,
|
||||
.is-dragging-metaboxes #post-body #normal-sortables,
|
||||
.is-dragging-metaboxes #post-body #advanced-sortables {
|
||||
.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables {
|
||||
outline: 3px dashed #606a73;
|
||||
/* Prevent margin on the child from collapsing with margin on the parent. */
|
||||
display: flow-root;
|
||||
@@ -1543,7 +1526,6 @@ table.links-table {
|
||||
|
||||
#poststuff #postbox-container-1 .empty-container,
|
||||
#poststuff #postbox-container-1 #side-sortables:empty {
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
@@ -1553,6 +1535,15 @@ table.links-table {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Increase min-height while dragging for the #side-sortables and any potential sortables area with custom ID. */
|
||||
.is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container,
|
||||
.is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty,
|
||||
.is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables,
|
||||
.is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables {
|
||||
height: auto;
|
||||
min-height: 60px;
|
||||
}
|
||||
|
||||
/* hide the radio buttons for column prefs */
|
||||
.screen-layout,
|
||||
.columns-prefs {
|
||||
|
||||
2
wp-admin/css/edit-rtl.min.css
vendored
2
wp-admin/css/edit-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -148,25 +148,8 @@ body.post-new-php .submitbox .submitdelete {
|
||||
|
||||
/* Post Screen */
|
||||
|
||||
/* Only target the sortables in the post screen excluding the ones in the Dashboard. */
|
||||
#post-body .meta-box-sortables {
|
||||
/* Required min-height to make the jQuery UI Sortable drop zone work. */
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
/* Resets height and outline inherited from common.css. */
|
||||
#post-body.columns-1 #side-sortables.empty-container,
|
||||
#post-body #normal-sortables.empty-container,
|
||||
#post-body #advanced-sortables.empty-container {
|
||||
/* Sortables need some initial height to work correctly. */
|
||||
height: 1px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
|
||||
.is-dragging-metaboxes #post-body.columns-2 #side-sortables,
|
||||
.is-dragging-metaboxes #post-body #normal-sortables,
|
||||
.is-dragging-metaboxes #post-body #advanced-sortables {
|
||||
.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables {
|
||||
outline: 3px dashed #606a73;
|
||||
/* Prevent margin on the child from collapsing with margin on the parent. */
|
||||
display: flow-root;
|
||||
@@ -1542,7 +1525,6 @@ table.links-table {
|
||||
|
||||
#poststuff #postbox-container-1 .empty-container,
|
||||
#poststuff #postbox-container-1 #side-sortables:empty {
|
||||
outline: none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
@@ -1552,6 +1534,15 @@ table.links-table {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Increase min-height while dragging for the #side-sortables and any potential sortables area with custom ID. */
|
||||
.is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container,
|
||||
.is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty,
|
||||
.is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables,
|
||||
.is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables {
|
||||
height: auto;
|
||||
min-height: 60px;
|
||||
}
|
||||
|
||||
/* hide the radio buttons for column prefs */
|
||||
.screen-layout,
|
||||
.columns-prefs {
|
||||
|
||||
2
wp-admin/css/edit.min.css
vendored
2
wp-admin/css/edit.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/forms-rtl.min.css
vendored
2
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/forms.min.css
vendored
2
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -2604,10 +2604,11 @@ function wp_ajax_image_editor() {
|
||||
include_once ABSPATH . 'wp-admin/includes/image-edit.php';
|
||||
|
||||
$msg = false;
|
||||
|
||||
switch ( $_POST['do'] ) {
|
||||
case 'save':
|
||||
$msg = wp_save_image( $attachment_id );
|
||||
if ( $msg->error ) {
|
||||
if ( ! empty( $msg->error ) ) {
|
||||
wp_send_json_error( $msg );
|
||||
}
|
||||
|
||||
@@ -2625,7 +2626,7 @@ function wp_ajax_image_editor() {
|
||||
wp_image_editor( $attachment_id, $msg );
|
||||
$html = ob_get_clean();
|
||||
|
||||
if ( $msg->error ) {
|
||||
if ( ! empty( $msg->error ) ) {
|
||||
wp_send_json_error(
|
||||
array(
|
||||
'message' => $msg,
|
||||
@@ -2722,6 +2723,10 @@ function wp_ajax_set_attachment_thumbnail() {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
if ( false === check_ajax_referer( 'set-attachment-thumbnail', '_ajax_nonce', false ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
$post_ids = array();
|
||||
// For each URL, try to find its corresponding post ID.
|
||||
foreach ( $_POST['urls'] as $url ) {
|
||||
@@ -2974,7 +2979,7 @@ function wp_ajax_query_attachments() {
|
||||
|
||||
// Filter query clauses to include filenames.
|
||||
if ( isset( $query['s'] ) ) {
|
||||
add_filter( 'posts_clauses', '_filter_query_attachment_filenames' );
|
||||
add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3761,13 +3766,29 @@ function wp_ajax_parse_media_shortcode() {
|
||||
|
||||
$shortcode = wp_unslash( $_POST['shortcode'] );
|
||||
|
||||
// Only process previews for media related shortcodes:
|
||||
$found_shortcodes = get_shortcode_tags_in_content( $shortcode );
|
||||
$media_shortcodes = array(
|
||||
'audio',
|
||||
'embed',
|
||||
'playlist',
|
||||
'video',
|
||||
'gallery',
|
||||
);
|
||||
|
||||
$other_shortcodes = array_diff( $found_shortcodes, $media_shortcodes );
|
||||
|
||||
if ( ! empty( $other_shortcodes ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
if ( ! empty( $_POST['post_ID'] ) ) {
|
||||
$post = get_post( (int) $_POST['post_ID'] );
|
||||
}
|
||||
|
||||
// The embed shortcode requires a post.
|
||||
if ( ! $post || ! current_user_can( 'edit_post', $post->ID ) ) {
|
||||
if ( 'embed' === $shortcode ) {
|
||||
if ( in_array( 'embed', $found_shortcodes, true ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -64,9 +64,6 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
$this->strings['process_failed'] = __( 'Plugin update failed.' );
|
||||
$this->strings['process_success'] = __( 'Plugin updated successfully.' );
|
||||
$this->strings['process_bulk_success'] = __( 'Plugins updated successfully.' );
|
||||
|
||||
/* translators: 1: Plugin name, 2: Plugin version. */
|
||||
$this->strings['process_success_specific'] = __( 'Successfully installed the plugin <strong>%1$s %2$s</strong>.' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -85,6 +82,8 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
$this->strings['no_files'] = __( 'The plugin contains no files.' );
|
||||
$this->strings['process_failed'] = __( 'Plugin installation failed.' );
|
||||
$this->strings['process_success'] = __( 'Plugin installed successfully.' );
|
||||
/* translators: 1: Plugin name, 2: Plugin version. */
|
||||
$this->strings['process_success_specific'] = __( 'Successfully installed the plugin <strong>%1$s %2$s</strong>.' );
|
||||
|
||||
if ( ! empty( $this->skin->overwrite ) ) {
|
||||
if ( 'update-plugin' === $this->skin->overwrite ) {
|
||||
@@ -127,6 +126,7 @@ class Plugin_Upgrader extends WP_Upgrader {
|
||||
$this->install_strings();
|
||||
|
||||
add_filter( 'upgrader_source_selection', array( $this, 'check_package' ) );
|
||||
|
||||
if ( $parsed_args['clear_update_cache'] ) {
|
||||
// Clear cache so wp_update_plugins() knows about the new plugin.
|
||||
add_action( 'upgrader_process_complete', 'wp_clean_plugins_cache', 9, 0 );
|
||||
|
||||
@@ -206,7 +206,9 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
|
||||
$all_themes = wp_get_themes( array( 'errors' => null ) );
|
||||
|
||||
foreach ( $all_themes as $theme ) {
|
||||
if ( rtrim( $theme->get_stylesheet_directory(), '/' ) !== $folder ) {
|
||||
$stylesheet_dir = wp_normalize_path( $theme->get_stylesheet_directory() );
|
||||
|
||||
if ( rtrim( $stylesheet_dir, '/' ) !== $folder ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
// Override them.
|
||||
$this->skin->api = $api;
|
||||
|
||||
$this->strings['process_success_specific'] = $this->strings['parent_theme_install_success']; //, $api->name, $api->version );
|
||||
$this->strings['process_success_specific'] = $this->strings['parent_theme_install_success'];
|
||||
|
||||
$this->skin->feedback( 'parent_theme_prepare_install', $api->name, $api->version );
|
||||
|
||||
@@ -239,6 +239,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
|
||||
add_filter( 'upgrader_source_selection', array( $this, 'check_package' ) );
|
||||
add_filter( 'upgrader_post_install', array( $this, 'check_parent_theme_filter' ), 10, 3 );
|
||||
|
||||
if ( $parsed_args['clear_update_cache'] ) {
|
||||
// Clear cache so wp_update_themes() knows about the new theme.
|
||||
add_action( 'upgrader_process_complete', 'wp_clean_themes_cache', 9, 0 );
|
||||
@@ -248,7 +249,7 @@ class Theme_Upgrader extends WP_Upgrader {
|
||||
array(
|
||||
'package' => $package,
|
||||
'destination' => get_theme_root(),
|
||||
'clear_destination' => $args['overwrite_package'],
|
||||
'clear_destination' => $parsed_args['overwrite_package'],
|
||||
'clear_working' => true,
|
||||
'hook_extra' => array(
|
||||
'type' => 'theme',
|
||||
|
||||
@@ -81,11 +81,11 @@ class Walker_Category_Checklist extends Walker {
|
||||
$name = 'tax_input[' . $taxonomy . ']';
|
||||
}
|
||||
|
||||
$args['popular_cats'] = empty( $args['popular_cats'] ) ? array() : $args['popular_cats'];
|
||||
$args['popular_cats'] = ! empty( $args['popular_cats'] ) ? array_map( 'intval', $args['popular_cats'] ) : array();
|
||||
|
||||
$class = in_array( $category->term_id, $args['popular_cats'], true ) ? ' class="popular-category"' : '';
|
||||
|
||||
$args['selected_cats'] = empty( $args['selected_cats'] ) ? array() : $args['selected_cats'];
|
||||
$args['selected_cats'] = ! empty( $args['selected_cats'] ) ? array_map( 'intval', $args['selected_cats'] ) : array();
|
||||
|
||||
if ( ! empty( $args['list_only'] ) ) {
|
||||
$aria_checked = 'false';
|
||||
|
||||
@@ -170,11 +170,21 @@ class WP_Automatic_Updater {
|
||||
$update = ! empty( $item->autoupdate );
|
||||
}
|
||||
|
||||
// If the `disable_autoupdate` flag is set, override any user-choice, but allow filters.
|
||||
if ( ! empty( $item->disable_autoupdate ) ) {
|
||||
$update = $item->disable_autoupdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters whether to automatically update core, a plugin, a theme, or a language.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$type`, refers to the type of update
|
||||
* being checked. Can be 'core', 'theme', 'plugin', or 'translation'.
|
||||
* being checked. Potential hook names include:
|
||||
*
|
||||
* - `auto_update_core`
|
||||
* - `auto_update_plugin`
|
||||
* - `auto_update_theme`
|
||||
* - `auto_update_translation`
|
||||
*
|
||||
* Generally speaking, plugins, themes, and major core versions are not updated
|
||||
* by default, while translations and minor and development versions for core
|
||||
@@ -185,9 +195,11 @@ class WP_Automatic_Updater {
|
||||
* adjust core updates.
|
||||
*
|
||||
* @since 3.7.0
|
||||
* @since 5.5.0 The `$update` parameter accepts the value of null.
|
||||
*
|
||||
* @param bool $update Whether to update.
|
||||
* @param object $item The update offer.
|
||||
* @param bool|null $update Whether to update. The value of null is internally used
|
||||
* to detect whether nothing has hooked into this filter.
|
||||
* @param object $item The update offer.
|
||||
*/
|
||||
$update = apply_filters( "auto_update_{$type}", $update, $item );
|
||||
|
||||
@@ -869,46 +881,54 @@ class WP_Automatic_Updater {
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param array $update_results The result of updates tasks.
|
||||
* @param array $update_results The results of update tasks.
|
||||
*/
|
||||
protected function after_plugin_theme_update( $update_results ) {
|
||||
$successful_updates = array();
|
||||
$failed_updates = array();
|
||||
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background plugin update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param bool $enabled True if plugins notifications are enabled, false otherwise.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true );
|
||||
if ( ! empty( $update_results['plugin'] ) ) {
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background plugin update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
* @since 5.5.1 Added the `$update_results` parameter.
|
||||
*
|
||||
* @param bool $enabled True if plugin update notifications are enabled, false otherwise.
|
||||
* @param array $update_results The results of plugins update tasks.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] );
|
||||
|
||||
if ( ! empty( $update_results['plugin'] ) && $notifications_enabled ) {
|
||||
foreach ( $update_results['plugin'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['plugin'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['plugin'][] = $update_result;
|
||||
if ( $notifications_enabled ) {
|
||||
foreach ( $update_results['plugin'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['plugin'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['plugin'][] = $update_result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background theme update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param bool $enabled True if notifications are enabled, false otherwise.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true );
|
||||
if ( ! empty( $update_results['theme'] ) ) {
|
||||
/**
|
||||
* Filters whether to send an email following an automatic background theme update.
|
||||
*
|
||||
* @since 5.5.0
|
||||
* @since 5.5.1 Added the `$update_results` parameter.
|
||||
*
|
||||
* @param bool $enabled True if theme update notifications are enabled, false otherwise.
|
||||
* @param array $update_results The results of theme update tasks.
|
||||
*/
|
||||
$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );
|
||||
|
||||
if ( ! empty( $update_results['theme'] ) && $notifications_enabled ) {
|
||||
foreach ( $update_results['theme'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['theme'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['theme'][] = $update_result;
|
||||
if ( $notifications_enabled ) {
|
||||
foreach ( $update_results['theme'] as $update_result ) {
|
||||
if ( true === $update_result->result ) {
|
||||
$successful_updates['theme'][] = $update_result;
|
||||
} else {
|
||||
$failed_updates['theme'][] = $update_result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -614,6 +614,19 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
}
|
||||
$this->user_can = current_user_can( 'edit_comment', $comment->comment_ID );
|
||||
|
||||
$edit_post_cap = $post ? 'edit_post' : 'edit_posts';
|
||||
if (
|
||||
current_user_can( $edit_post_cap, $comment->comment_post_ID ) ||
|
||||
(
|
||||
empty( $post->post_password ) &&
|
||||
current_user_can( 'read_post', $comment->comment_post_ID )
|
||||
)
|
||||
) {
|
||||
// The user has access to the post
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
echo "<tr id='comment-$comment->comment_ID' class='$the_comment_class'>";
|
||||
$this->single_row_columns( $comment );
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -77,6 +77,8 @@ class WP_Community_Events {
|
||||
* mitigates possible privacy concerns.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @since 5.5.2 Response no longer contains formatted date field. They're added
|
||||
* in `wp.communityEvents.populateDynamicEventFields()` now.
|
||||
*
|
||||
* @param string $location_search Optional. City name to help determine the location.
|
||||
* e.g., "Seattle". Default empty string.
|
||||
@@ -158,10 +160,13 @@ class WP_Community_Events {
|
||||
$response_body['location']['description'] = $this->user_location['description'];
|
||||
}
|
||||
|
||||
/*
|
||||
* Store the raw response, because events will expire before the cache does.
|
||||
* The response will need to be processed every page load.
|
||||
*/
|
||||
$this->cache_events( $response_body, $expiration );
|
||||
|
||||
$response_body = $this->trim_events( $response_body );
|
||||
$response_body = $this->format_event_data_time( $response_body );
|
||||
$response_body['events'] = $this->trim_events( $response_body['events'] );
|
||||
|
||||
return $response_body;
|
||||
}
|
||||
@@ -340,15 +345,20 @@ class WP_Community_Events {
|
||||
* Gets cached events.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @since 5.5.2 Response no longer contains formatted date field. They're added
|
||||
* in `wp.communityEvents.populateDynamicEventFields()` now.
|
||||
*
|
||||
* @return array|false An array containing `location` and `events` items
|
||||
* on success, false on failure.
|
||||
*/
|
||||
public function get_cached_events() {
|
||||
$cached_response = get_site_transient( $this->get_events_transient_key( $this->user_location ) );
|
||||
$cached_response = $this->trim_events( $cached_response );
|
||||
|
||||
return $this->format_event_data_time( $cached_response );
|
||||
if ( isset( $cached_response['events'] ) ) {
|
||||
$cached_response['events'] = $this->trim_events( $cached_response['events'] );
|
||||
}
|
||||
|
||||
return $cached_response;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -360,11 +370,18 @@ class WP_Community_Events {
|
||||
* of the user who triggered the cache refresh, rather than their own.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @deprecated 5.6.0 No longer used in core.
|
||||
*
|
||||
* @param array $response_body The response which contains the events.
|
||||
* @return array The response with dates and times formatted.
|
||||
*/
|
||||
protected function format_event_data_time( $response_body ) {
|
||||
_deprecated_function(
|
||||
__METHOD__,
|
||||
'5.5.2',
|
||||
'This is no longer used by core, and only kept for backward compatibility.'
|
||||
);
|
||||
|
||||
if ( isset( $response_body['events'] ) ) {
|
||||
foreach ( $response_body['events'] as $key => $event ) {
|
||||
$timestamp = strtotime( $event['date'] );
|
||||
@@ -435,44 +452,44 @@ class WP_Community_Events {
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @since 4.9.7 Stick a WordCamp to the final list.
|
||||
* @since 5.5.2 Accepts and returns only the events, rather than an entire HTTP response.
|
||||
*
|
||||
* @param array $response_body The response body which contains the events.
|
||||
* @param array $events The events that will be prepared.
|
||||
* @return array The response body with events trimmed.
|
||||
*/
|
||||
protected function trim_events( $response_body ) {
|
||||
if ( isset( $response_body['events'] ) ) {
|
||||
$wordcamps = array();
|
||||
$today = current_time( 'Y-m-d' );
|
||||
protected function trim_events( array $events ) {
|
||||
$future_events = array();
|
||||
|
||||
foreach ( $response_body['events'] as $key => $event ) {
|
||||
/*
|
||||
* Skip WordCamps, because they might be multi-day events.
|
||||
* Save a copy so they can be pinned later.
|
||||
*/
|
||||
if ( 'wordcamp' === $event['type'] ) {
|
||||
$wordcamps[] = $event;
|
||||
continue;
|
||||
}
|
||||
foreach ( $events as $event ) {
|
||||
/*
|
||||
* The API's `date` and `end_date` fields are in the _event's_ local timezone, but UTC is needed so
|
||||
* it can be converted to the _user's_ local time.
|
||||
*/
|
||||
$end_time = (int) $event['end_unix_timestamp'];
|
||||
|
||||
// We don't get accurate time with timezone from API, so we only take the date part (Y-m-d).
|
||||
$event_date = substr( $event['date'], 0, 10 );
|
||||
|
||||
if ( $today > $event_date ) {
|
||||
unset( $response_body['events'][ $key ] );
|
||||
}
|
||||
}
|
||||
|
||||
$response_body['events'] = array_slice( $response_body['events'], 0, 3 );
|
||||
$trimmed_event_types = wp_list_pluck( $response_body['events'], 'type' );
|
||||
|
||||
// Make sure the soonest upcoming WordCamp is pinned in the list.
|
||||
if ( ! in_array( 'wordcamp', $trimmed_event_types, true ) && $wordcamps ) {
|
||||
array_pop( $response_body['events'] );
|
||||
array_push( $response_body['events'], $wordcamps[0] );
|
||||
if ( time() < $end_time ) {
|
||||
array_push( $future_events, $event );
|
||||
}
|
||||
}
|
||||
|
||||
return $response_body;
|
||||
$future_wordcamps = array_filter(
|
||||
$future_events,
|
||||
function( $wordcamp ) {
|
||||
return 'wordcamp' === $wordcamp['type'];
|
||||
}
|
||||
);
|
||||
|
||||
$future_wordcamps = array_values( $future_wordcamps ); // Remove gaps in indices.
|
||||
$trimmed_events = array_slice( $future_events, 0, 3 );
|
||||
$trimmed_event_types = wp_list_pluck( $trimmed_events, 'type' );
|
||||
|
||||
// Make sure the soonest upcoming WordCamp is pinned in the list.
|
||||
if ( $future_wordcamps && ! in_array( 'wordcamp', $trimmed_event_types, true ) ) {
|
||||
array_pop( $trimmed_events );
|
||||
array_push( $trimmed_events, $future_wordcamps[0] );
|
||||
}
|
||||
|
||||
return $trimmed_events;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -39,10 +39,11 @@ class WP_Debug_Data {
|
||||
$upload_dir = wp_upload_dir();
|
||||
$permalink_structure = get_option( 'permalink_structure' );
|
||||
$is_ssl = is_ssl();
|
||||
$is_multisite = is_multisite();
|
||||
$users_can_register = get_option( 'users_can_register' );
|
||||
$blog_public = get_option( 'blog_public' );
|
||||
$default_comment_status = get_option( 'default_comment_status' );
|
||||
$is_multisite = is_multisite();
|
||||
$environment_type = wp_get_environment_type();
|
||||
$core_version = get_bloginfo( 'version' );
|
||||
$core_updates = get_core_updates();
|
||||
$core_update_needed = '';
|
||||
@@ -99,6 +100,11 @@ class WP_Debug_Data {
|
||||
'value' => $is_ssl ? __( 'Yes' ) : __( 'No' ),
|
||||
'debug' => $is_ssl,
|
||||
),
|
||||
'multisite' => array(
|
||||
'label' => __( 'Is this a multisite?' ),
|
||||
'value' => $is_multisite ? __( 'Yes' ) : __( 'No' ),
|
||||
'debug' => $is_multisite,
|
||||
),
|
||||
'user_registration' => array(
|
||||
'label' => __( 'Can anyone register on this site?' ),
|
||||
'value' => $users_can_register ? __( 'Yes' ) : __( 'No' ),
|
||||
@@ -114,10 +120,10 @@ class WP_Debug_Data {
|
||||
'value' => 'open' === $default_comment_status ? _x( 'Open', 'comment status' ) : _x( 'Closed', 'comment status' ),
|
||||
'debug' => $default_comment_status,
|
||||
),
|
||||
'multisite' => array(
|
||||
'label' => __( 'Is this a multisite?' ),
|
||||
'value' => $is_multisite ? __( 'Yes' ) : __( 'No' ),
|
||||
'debug' => $is_multisite,
|
||||
'environment_type' => array(
|
||||
'label' => __( 'Environment type' ),
|
||||
'value' => $environment_type,
|
||||
'debug' => $environment_type,
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -531,10 +537,10 @@ class WP_Debug_Data {
|
||||
);
|
||||
} else {
|
||||
// Get the PHP ini directive values.
|
||||
$post_max_size = ini_get( 'post_max_size' );
|
||||
$upload_max_size = ini_get( 'upload_max_filesize' );
|
||||
$max_file_uploads = ini_get( 'max_file_uploads' );
|
||||
$effective = min( wp_convert_hr_to_bytes( $post_max_size ), wp_convert_hr_to_bytes( $upload_max_size ) );
|
||||
$post_max_size = ini_get( 'post_max_size' );
|
||||
$upload_max_filesize = ini_get( 'upload_max_filesize' );
|
||||
$max_file_uploads = ini_get( 'max_file_uploads' );
|
||||
$effective = min( wp_convert_hr_to_bytes( $post_max_size ), wp_convert_hr_to_bytes( $upload_max_filesize ) );
|
||||
|
||||
// Add info in Media section.
|
||||
$info['wp-media']['fields']['file_uploads'] = array(
|
||||
@@ -548,7 +554,7 @@ class WP_Debug_Data {
|
||||
);
|
||||
$info['wp-media']['fields']['upload_max_filesize'] = array(
|
||||
'label' => __( 'Max size of an uploaded file' ),
|
||||
'value' => $upload_max_size,
|
||||
'value' => $upload_max_filesize,
|
||||
);
|
||||
$info['wp-media']['fields']['max_effective_size'] = array(
|
||||
'label' => __( 'Max effective file size' ),
|
||||
@@ -711,15 +717,15 @@ class WP_Debug_Data {
|
||||
);
|
||||
}
|
||||
|
||||
$info['wp-server']['fields']['max_input_time'] = array(
|
||||
$info['wp-server']['fields']['max_input_time'] = array(
|
||||
'label' => __( 'Max input time' ),
|
||||
'value' => ini_get( 'max_input_time' ),
|
||||
);
|
||||
$info['wp-server']['fields']['upload_max_size'] = array(
|
||||
$info['wp-server']['fields']['upload_max_filesize'] = array(
|
||||
'label' => __( 'Upload max filesize' ),
|
||||
'value' => ini_get( 'upload_max_filesize' ),
|
||||
);
|
||||
$info['wp-server']['fields']['php_post_max_size'] = array(
|
||||
$info['wp-server']['fields']['php_post_max_size'] = array(
|
||||
'label' => __( 'PHP post max size' ),
|
||||
'value' => ini_get( 'post_max_size' ),
|
||||
);
|
||||
@@ -905,7 +911,9 @@ class WP_Debug_Data {
|
||||
// List all available plugins.
|
||||
$plugins = get_plugins();
|
||||
$plugin_updates = get_plugin_updates();
|
||||
$auto_updates = array();
|
||||
$transient = get_site_transient( 'update_plugins' );
|
||||
|
||||
$auto_updates = array();
|
||||
|
||||
$auto_updates_enabled = wp_is_auto_update_enabled_for_type( 'plugin' );
|
||||
|
||||
@@ -947,28 +955,56 @@ class WP_Debug_Data {
|
||||
}
|
||||
|
||||
if ( $auto_updates_enabled ) {
|
||||
if ( in_array( $plugin_path, $auto_updates, true ) ) {
|
||||
$auto_updates_string = __( 'Auto-updates enabled' );
|
||||
$enabled = true;
|
||||
if ( isset( $transient->response[ $plugin_path ] ) ) {
|
||||
$item = $transient->response[ $plugin_path ];
|
||||
} elseif ( isset( $transient->no_update[ $plugin_path ] ) ) {
|
||||
$item = $transient->no_update[ $plugin_path ];
|
||||
} else {
|
||||
$item = array(
|
||||
'id' => $plugin_path,
|
||||
'slug' => '',
|
||||
'plugin' => $plugin_path,
|
||||
'new_version' => '',
|
||||
'url' => '',
|
||||
'package' => '',
|
||||
'icons' => array(),
|
||||
'banners' => array(),
|
||||
'banners_rtl' => array(),
|
||||
'tested' => '',
|
||||
'requires_php' => '',
|
||||
'compatibility' => new stdClass(),
|
||||
);
|
||||
$item = array_merge( $item, array_intersect_key( $plugin, $item ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the text string of the auto-updates setting for each plugin in the Site Health debug data.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $auto_updates_string The string output for the auto-updates column.
|
||||
* @param array $plugin An array of plugin data.
|
||||
* @param bool $enabled Whether auto-updates are enabled for this item.
|
||||
*/
|
||||
$auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin, $enabled );
|
||||
$type = 'plugin';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item );
|
||||
|
||||
if ( ! is_null( $auto_update_forced ) ) {
|
||||
$enabled = $auto_update_forced;
|
||||
} else {
|
||||
$enabled = in_array( $plugin_path, $auto_updates, true );
|
||||
}
|
||||
|
||||
if ( $enabled ) {
|
||||
$auto_updates_string = __( 'Auto-updates enabled' );
|
||||
} else {
|
||||
$auto_updates_string = __( 'Auto-updates disabled' );
|
||||
$enabled = false;
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
|
||||
$auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin, $enabled );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the text string of the auto-updates setting for each plugin in the Site Health debug data.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $auto_updates_string The string output for the auto-updates column.
|
||||
* @param string $plugin_path The path to the plugin file.
|
||||
* @param array $plugin An array of plugin data.
|
||||
* @param bool $enabled Whether auto-updates are enabled for this item.
|
||||
*/
|
||||
$auto_updates_string = apply_filters( 'plugin_auto_update_debug_string', $auto_updates_string, $plugin_path, $plugin, $enabled );
|
||||
|
||||
$plugin_version_string .= ' | ' . $auto_updates_string;
|
||||
$plugin_version_string_debug .= ', ' . $auto_updates_string;
|
||||
}
|
||||
@@ -992,6 +1028,7 @@ class WP_Debug_Data {
|
||||
|
||||
$active_theme = wp_get_theme();
|
||||
$theme_updates = get_theme_updates();
|
||||
$transient = get_site_transient( 'update_themes' );
|
||||
|
||||
$active_theme_version = $active_theme->version;
|
||||
$active_theme_version_debug = $active_theme_version;
|
||||
@@ -1069,28 +1106,40 @@ class WP_Debug_Data {
|
||||
);
|
||||
|
||||
if ( $auto_updates_enabled ) {
|
||||
if ( in_array( $active_theme->stylesheet, $auto_updates, true ) ) {
|
||||
$auto_updates_string = __( 'Enabled' );
|
||||
$enabled = true;
|
||||
if ( isset( $transient->response[ $active_theme->stylesheet ] ) ) {
|
||||
$item = $transient->response[ $active_theme->stylesheet ];
|
||||
} elseif ( isset( $transient->no_update[ $active_theme->stylesheet ] ) ) {
|
||||
$item = $transient->no_update[ $active_theme->stylesheet ];
|
||||
} else {
|
||||
$item = array(
|
||||
'theme' => $active_theme->stylesheet,
|
||||
'new_version' => $active_theme->version,
|
||||
'url' => '',
|
||||
'package' => '',
|
||||
'requires' => '',
|
||||
'requires_php' => '',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the text string of the auto-updates setting for each theme in the Site Health debug data.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $auto_updates_string The string output for the auto-updates column.
|
||||
* @param WP_Theme $theme An object of theme data.
|
||||
* @param bool $enabled Whether auto-updates are enabled for this item.
|
||||
*/
|
||||
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
|
||||
$type = 'theme';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item );
|
||||
|
||||
if ( ! is_null( $auto_update_forced ) ) {
|
||||
$enabled = $auto_update_forced;
|
||||
} else {
|
||||
$enabled = in_array( $active_theme->stylesheet, $auto_updates, true );
|
||||
}
|
||||
|
||||
if ( $enabled ) {
|
||||
$auto_updates_string = __( 'Enabled' );
|
||||
} else {
|
||||
$auto_updates_string = __( 'Disabled' );
|
||||
$enabled = false;
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
|
||||
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
|
||||
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $active_theme, $enabled );
|
||||
|
||||
$info['wp-active-theme']['fields']['auto_update'] = array(
|
||||
'label' => __( 'Auto-updates' ),
|
||||
'value' => $auto_updates_string,
|
||||
@@ -1143,13 +1192,42 @@ class WP_Debug_Data {
|
||||
'value' => get_template_directory(),
|
||||
),
|
||||
);
|
||||
|
||||
if ( $auto_updates_enabled ) {
|
||||
if ( in_array( $parent_theme->stylesheet, $auto_updates, true ) ) {
|
||||
if ( isset( $transient->response[ $parent_theme->stylesheet ] ) ) {
|
||||
$item = $transient->response[ $parent_theme->stylesheet ];
|
||||
} elseif ( isset( $transient->no_update[ $parent_theme->stylesheet ] ) ) {
|
||||
$item = $transient->no_update[ $parent_theme->stylesheet ];
|
||||
} else {
|
||||
$item = array(
|
||||
'theme' => $parent_theme->stylesheet,
|
||||
'new_version' => $parent_theme->version,
|
||||
'url' => '',
|
||||
'package' => '',
|
||||
'requires' => '',
|
||||
'requires_php' => '',
|
||||
);
|
||||
}
|
||||
|
||||
$type = 'theme';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item );
|
||||
|
||||
if ( ! is_null( $auto_update_forced ) ) {
|
||||
$enabled = $auto_update_forced;
|
||||
} else {
|
||||
$enabled = in_array( $parent_theme->stylesheet, $auto_updates, true );
|
||||
}
|
||||
|
||||
if ( $enabled ) {
|
||||
$parent_theme_auto_update_string = __( 'Enabled' );
|
||||
} else {
|
||||
$parent_theme_auto_update_string = __( 'Disabled' );
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
|
||||
$parent_theme_auto_update_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $parent_theme, $enabled );
|
||||
|
||||
$info['wp-parent-theme']['fields']['auto_update'] = array(
|
||||
'label' => __( 'Auto-update' ),
|
||||
'value' => $parent_theme_auto_update_string,
|
||||
@@ -1206,20 +1284,48 @@ class WP_Debug_Data {
|
||||
}
|
||||
|
||||
if ( $auto_updates_enabled ) {
|
||||
if ( in_array( $theme_slug, $auto_updates, true ) ) {
|
||||
$auto_updates_string = __( 'Auto-updates enabled' );
|
||||
$enabled = true;
|
||||
if ( isset( $transient->response[ $theme_slug ] ) ) {
|
||||
$item = $transient->response[ $theme_slug ];
|
||||
} elseif ( isset( $transient->no_update[ $theme_slug ] ) ) {
|
||||
$item = $transient->no_update[ $theme_slug ];
|
||||
} else {
|
||||
$item = array(
|
||||
'theme' => $theme_slug,
|
||||
'new_version' => $theme->version,
|
||||
'url' => '',
|
||||
'package' => '',
|
||||
'requires' => '',
|
||||
'requires_php' => '',
|
||||
);
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
|
||||
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $theme, $enabled );
|
||||
$type = 'theme';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item );
|
||||
|
||||
if ( ! is_null( $auto_update_forced ) ) {
|
||||
$enabled = $auto_update_forced;
|
||||
} else {
|
||||
$enabled = in_array( $theme_slug, $auto_updates, true );
|
||||
}
|
||||
|
||||
if ( $enabled ) {
|
||||
$auto_updates_string = __( 'Auto-updates enabled' );
|
||||
} else {
|
||||
$auto_updates_string = __( 'Auto-updates disabled' );
|
||||
$enabled = false;
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-debug-data.php */
|
||||
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $theme, $enabled );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the text string of the auto-updates setting for each theme in the Site Health debug data.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $auto_updates_string The string output for the auto-updates column.
|
||||
* @param WP_Theme $theme An object of theme data.
|
||||
* @param bool $enabled Whether auto-updates are enabled for this item.
|
||||
*/
|
||||
$auto_updates_string = apply_filters( 'theme_auto_update_debug_string', $auto_updates_string, $theme, $enabled );
|
||||
|
||||
$theme_version_string .= ' | ' . $auto_updates_string;
|
||||
$theme_version_string_debug .= ',' . $auto_updates_string;
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
$contents .= fread( $temphandle, 8 * KB_IN_BYTES );
|
||||
}
|
||||
|
||||
fclose( $temphangle );
|
||||
fclose( $temphandle );
|
||||
unlink( $tempfile );
|
||||
|
||||
return $contents;
|
||||
|
||||
@@ -477,7 +477,7 @@ class WP_List_Table {
|
||||
|
||||
echo "</select>\n";
|
||||
|
||||
submit_button( __( 'Apply' ), 'action', "doaction$two", false, array( 'id' => "doaction$two" ) );
|
||||
submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => "doaction$two" ) );
|
||||
echo "\n";
|
||||
}
|
||||
|
||||
@@ -493,14 +493,14 @@ class WP_List_Table {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['doaction2'] ) && isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
|
||||
return $_REQUEST['action2'];
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) {
|
||||
return $_REQUEST['action'];
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['action2'] ) && -1 != $_REQUEST['action2'] ) {
|
||||
return $_REQUEST['action2'];
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -698,6 +698,20 @@ class WP_List_Table {
|
||||
$pending_comments_number
|
||||
);
|
||||
|
||||
$post_object = get_post( $post_id );
|
||||
$edit_post_cap = $post_object ? 'edit_post' : 'edit_posts';
|
||||
if (
|
||||
current_user_can( $edit_post_cap, $post_id ) ||
|
||||
(
|
||||
empty( $post_object->post_password ) &&
|
||||
current_user_can( 'read_post', $post_id )
|
||||
)
|
||||
) {
|
||||
// The user has access to the post and thus can see comments
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( ! $approved_comments && ! $pending_comments ) {
|
||||
// No comments at all.
|
||||
printf(
|
||||
|
||||
@@ -151,11 +151,54 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
|
||||
$filter = $theme->is_allowed( $allowed_where, $this->site_id ) ? 'enabled' : 'disabled';
|
||||
$themes[ $filter ][ $key ] = $themes['all'][ $key ];
|
||||
|
||||
$theme_data = array(
|
||||
'update_supported' => isset( $theme->update_supported ) ? $theme->update_supported : true,
|
||||
);
|
||||
|
||||
// Extra info if known. array_merge() ensures $theme_data has precedence if keys collide.
|
||||
if ( isset( $current->response[ $key ] ) ) {
|
||||
$theme_data = array_merge( (array) $current->response[ $key ], $theme_data );
|
||||
} elseif ( isset( $current->no_update[ $key ] ) ) {
|
||||
$theme_data = array_merge( (array) $current->no_update[ $key ], $theme_data );
|
||||
} else {
|
||||
$theme_data['update_supported'] = false;
|
||||
}
|
||||
|
||||
$theme->update_supported = $theme_data['update_supported'];
|
||||
|
||||
/*
|
||||
* Create the expected payload for the auto_update_theme filter, this is the same data
|
||||
* as contained within $updates or $no_updates but used when the Theme is not known.
|
||||
*/
|
||||
$filter_payload = array(
|
||||
'theme' => $key,
|
||||
'new_version' => '',
|
||||
'url' => '',
|
||||
'package' => '',
|
||||
'requires' => '',
|
||||
'requires_php' => '',
|
||||
);
|
||||
|
||||
$filter_payload = array_merge( $filter_payload, array_intersect_key( $theme_data, $filter_payload ) );
|
||||
|
||||
$type = 'theme';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $filter_payload );
|
||||
|
||||
if ( ! is_null( $auto_update_forced ) ) {
|
||||
$theme->auto_update_forced = $auto_update_forced;
|
||||
}
|
||||
|
||||
if ( $this->show_autoupdates ) {
|
||||
if ( in_array( $key, $auto_updates, true ) ) {
|
||||
$themes['auto-update-enabled'][ $key ] = $themes['all'][ $key ];
|
||||
$enabled = in_array( $key, $auto_updates, true ) && $theme->update_supported;
|
||||
if ( isset( $theme->auto_update_forced ) ) {
|
||||
$enabled = (bool) $theme->auto_update_forced;
|
||||
}
|
||||
|
||||
if ( $enabled ) {
|
||||
$themes['auto-update-enabled'][ $key ] = $theme;
|
||||
} else {
|
||||
$themes['auto-update-disabled'][ $key ] = $themes['all'][ $key ];
|
||||
$themes['auto-update-disabled'][ $key ] = $theme;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -728,7 +771,20 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
|
||||
|
||||
$stylesheet = $theme->get_stylesheet();
|
||||
|
||||
if ( in_array( $stylesheet, $auto_updates, true ) ) {
|
||||
if ( isset( $theme->auto_update_forced ) ) {
|
||||
if ( $theme->auto_update_forced ) {
|
||||
// Forced on.
|
||||
$text = __( 'Auto-updates enabled' );
|
||||
} else {
|
||||
$text = __( 'Auto-updates disabled' );
|
||||
}
|
||||
$action = 'unavailable';
|
||||
$time_class = ' hidden';
|
||||
} elseif ( empty( $theme->update_supported ) ) {
|
||||
$text = '';
|
||||
$action = 'unavailable';
|
||||
$time_class = ' hidden';
|
||||
} elseif ( in_array( $stylesheet, $auto_updates, true ) ) {
|
||||
$text = __( 'Disable auto-updates' );
|
||||
$action = 'disable';
|
||||
$time_class = '';
|
||||
@@ -747,17 +803,21 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
|
||||
|
||||
$url = add_query_arg( $query_args, 'themes.php' );
|
||||
|
||||
$html[] = sprintf(
|
||||
'<a href="%s" class="toggle-auto-update aria-button-if-js" data-wp-action="%s">',
|
||||
wp_nonce_url( $url, 'updates' ),
|
||||
$action
|
||||
);
|
||||
if ( 'unavailable' === $action ) {
|
||||
$html[] = '<span class="label">' . $text . '</span>';
|
||||
} else {
|
||||
$html[] = sprintf(
|
||||
'<a href="%s" class="toggle-auto-update aria-button-if-js" data-wp-action="%s">',
|
||||
wp_nonce_url( $url, 'updates' ),
|
||||
$action
|
||||
);
|
||||
|
||||
$html[] = '<span class="dashicons dashicons-update spin hidden" aria-hidden="true"></span>';
|
||||
$html[] = '<span class="label">' . $text . '</span>';
|
||||
$html[] = '</a>';
|
||||
$html[] = '<span class="dashicons dashicons-update spin hidden" aria-hidden="true"></span>';
|
||||
$html[] = '<span class="label">' . $text . '</span>';
|
||||
$html[] = '</a>';
|
||||
|
||||
}
|
||||
|
||||
$available_updates = get_site_transient( 'update_themes' );
|
||||
if ( isset( $available_updates->response[ $stylesheet ] ) ) {
|
||||
$html[] = sprintf(
|
||||
'<div class="auto-update-time%s">%s</div>',
|
||||
|
||||
@@ -231,8 +231,10 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
);
|
||||
$filter_payload = (object) array_merge( $filter_payload, array_intersect_key( $plugin_data, $filter_payload ) );
|
||||
|
||||
/** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( 'auto_update_plugin', null, $filter_payload );
|
||||
$type = 'plugin';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, $filter_payload );
|
||||
|
||||
if ( ! is_null( $auto_update_forced ) ) {
|
||||
$plugin_data['auto-update-forced'] = $auto_update_forced;
|
||||
}
|
||||
@@ -279,10 +281,15 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
if ( $this->show_autoupdates ) {
|
||||
if ( in_array( $plugin_file, $auto_updates, true ) ) {
|
||||
$plugins['auto-update-enabled'][ $plugin_file ] = $plugins['all'][ $plugin_file ];
|
||||
$enabled = in_array( $plugin_file, $auto_updates, true ) && $plugin_data['update-supported'];
|
||||
if ( isset( $plugin_data['auto-update-forced'] ) ) {
|
||||
$enabled = (bool) $plugin_data['auto-update-forced'];
|
||||
}
|
||||
|
||||
if ( $enabled ) {
|
||||
$plugins['auto-update-enabled'][ $plugin_file ] = $plugin_data;
|
||||
} else {
|
||||
$plugins['auto-update-disabled'][ $plugin_file ] = $plugins['all'][ $plugin_file ];
|
||||
$plugins['auto-update-disabled'][ $plugin_file ] = $plugin_data;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1087,14 +1094,14 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
|
||||
if ( isset( $plugin_data['auto-update-forced'] ) ) {
|
||||
if ( $plugin_data['auto-update-forced'] ) {
|
||||
// Forced on
|
||||
// Forced on.
|
||||
$text = __( 'Auto-updates enabled' );
|
||||
} else {
|
||||
$text = __( 'Auto-updates disabled' );
|
||||
}
|
||||
$action = 'unavailable';
|
||||
$time_class = ' hidden';
|
||||
} elseif ( ! $plugin_data['update-supported'] ) {
|
||||
} elseif ( empty( $plugin_data['update-supported'] ) ) {
|
||||
$text = '';
|
||||
$action = 'unavailable';
|
||||
$time_class = ' hidden';
|
||||
|
||||
@@ -27,7 +27,7 @@ class WP_Site_Health_Auto_Updates {
|
||||
*/
|
||||
public function run_tests() {
|
||||
$tests = array(
|
||||
$this->test_constants( 'WP_AUTO_UPDATE_CORE', true ),
|
||||
$this->test_constants( 'WP_AUTO_UPDATE_CORE', array( true, 'minor' ) ),
|
||||
$this->test_wp_version_check_attached(),
|
||||
$this->test_filters_automatic_updater_disabled(),
|
||||
$this->test_wp_automatic_updates_disabled(),
|
||||
@@ -60,13 +60,17 @@ class WP_Site_Health_Auto_Updates {
|
||||
* Test if auto-updates related constants are set correctly.
|
||||
*
|
||||
* @since 5.2.0
|
||||
* @since 5.5.1 The `$value` parameter can accept an array.
|
||||
*
|
||||
* @param string $constant The name of the constant to check.
|
||||
* @param bool $value The value that the constant should be, if set.
|
||||
* @param string $constant The name of the constant to check.
|
||||
* @param bool|string|array $value The value that the constant should be, if set,
|
||||
* or an array of acceptable values.
|
||||
* @return array The test results.
|
||||
*/
|
||||
public function test_constants( $constant, $value ) {
|
||||
if ( defined( $constant ) && constant( $constant ) !== $value ) {
|
||||
$acceptable_values = (array) $value;
|
||||
|
||||
if ( defined( $constant ) && ! in_array( constant( $constant ), $acceptable_values, true ) ) {
|
||||
return array(
|
||||
'description' => sprintf(
|
||||
/* translators: %s: Name of the constant used. */
|
||||
|
||||
@@ -1115,7 +1115,7 @@ class WP_Site_Health {
|
||||
'test' => 'php_sessions',
|
||||
);
|
||||
|
||||
if ( PHP_SESSION_ACTIVE === session_status() ) {
|
||||
if ( function_exists( 'session_status' ) && PHP_SESSION_ACTIVE === session_status() ) {
|
||||
$result['status'] = 'critical';
|
||||
|
||||
$result['label'] = __( 'An active PHP session was detected' );
|
||||
@@ -2046,13 +2046,13 @@ class WP_Site_Health {
|
||||
return $result;
|
||||
}
|
||||
|
||||
$post_max_size = ini_get( 'post_max_size' );
|
||||
$upload_max_size = ini_get( 'upload_max_filesize' );
|
||||
$post_max_size = ini_get( 'post_max_size' );
|
||||
$upload_max_filesize = ini_get( 'upload_max_filesize' );
|
||||
|
||||
if ( wp_convert_hr_to_bytes( $post_max_size ) !== wp_convert_hr_to_bytes( $upload_max_size ) ) {
|
||||
if ( wp_convert_hr_to_bytes( $post_max_size ) < wp_convert_hr_to_bytes( $upload_max_filesize ) ) {
|
||||
$result['label'] = sprintf(
|
||||
/* translators: 1: post_max_size, 2: upload_max_filesize */
|
||||
__( 'Mismatched "%1$s" and "%2$s" values.' ),
|
||||
__( 'The "%1$s" value is smaller than "%2$s".' ),
|
||||
'post_max_size',
|
||||
'upload_max_filesize'
|
||||
);
|
||||
@@ -2061,7 +2061,7 @@ class WP_Site_Health {
|
||||
'<p>%s</p>',
|
||||
sprintf(
|
||||
/* translators: 1: post_max_size, 2: upload_max_filesize */
|
||||
__( 'The settings for %1$s and %2$s are not the same, this could cause some problems when trying to upload files.' ),
|
||||
__( 'The setting for %1$s is smaller than %2$s, this could cause some problems when trying to upload files.' ),
|
||||
'<code>post_max_size</code>',
|
||||
'<code>upload_max_filesize</code>'
|
||||
)
|
||||
@@ -2207,6 +2207,15 @@ class WP_Site_Health {
|
||||
*/
|
||||
$tests = apply_filters( 'site_status_tests', $tests );
|
||||
|
||||
// Ensure that the filtered tests contain the required array keys.
|
||||
$tests = array_merge(
|
||||
array(
|
||||
'direct' => array(),
|
||||
'async' => array(),
|
||||
),
|
||||
$tests
|
||||
);
|
||||
|
||||
return $tests;
|
||||
}
|
||||
|
||||
@@ -2372,10 +2381,14 @@ class WP_Site_Health {
|
||||
'requires_php' => '5.6.20',
|
||||
);
|
||||
|
||||
$type = 'plugin';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$test_plugins_enabled = apply_filters( 'auto_update_plugin', true, $mock_plugin );
|
||||
$test_plugins_enabled = apply_filters( "auto_update_{$type}", true, $mock_plugin );
|
||||
|
||||
$type = 'theme';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$test_themes_enabled = apply_filters( 'auto_update_theme', true, $mock_theme );
|
||||
$test_themes_enabled = apply_filters( "auto_update_{$type}", true, $mock_theme );
|
||||
|
||||
$ui_enabled_for_plugins = wp_is_auto_update_enabled_for_type( 'plugin' );
|
||||
$ui_enabled_for_themes = wp_is_auto_update_enabled_for_type( 'theme' );
|
||||
$plugin_filter_present = has_filter( 'auto_update_plugin' );
|
||||
|
||||
@@ -1042,7 +1042,17 @@ function wp_dashboard_recent_comments( $total_items = 5 ) {
|
||||
|
||||
echo '<ul id="the-comment-list" data-wp-lists="list:comment">';
|
||||
foreach ( $comments as $comment ) {
|
||||
_wp_dashboard_recent_comments_row( $comment );
|
||||
|
||||
$comment_post = get_post( $comment->comment_post_ID );
|
||||
if (
|
||||
current_user_can( 'edit_post', $comment->comment_post_ID ) ||
|
||||
(
|
||||
empty( $comment_post->post_password ) &&
|
||||
current_user_can( 'read_post', $comment->comment_post_ID )
|
||||
)
|
||||
) {
|
||||
_wp_dashboard_recent_comments_row( $comment );
|
||||
}
|
||||
}
|
||||
echo '</ul>';
|
||||
|
||||
@@ -1379,9 +1389,11 @@ function wp_print_community_events_templates() {
|
||||
</div>
|
||||
|
||||
<div class="event-date-time">
|
||||
<span class="event-date">{{ event.formatted_date }}</span>
|
||||
<span class="event-date">{{ event.user_formatted_date }}</span>
|
||||
<# if ( 'meetup' === event.type ) { #>
|
||||
<span class="event-time">{{ event.formatted_time }}</span>
|
||||
<span class="event-time">
|
||||
{{ event.user_formatted_time }} {{ event.timeZoneAbbreviation }}
|
||||
</span>
|
||||
<# } #>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
@@ -555,7 +555,7 @@ function wp_edit_theme_plugin_file( $args ) {
|
||||
$url = admin_url();
|
||||
}
|
||||
|
||||
if ( PHP_SESSION_ACTIVE === session_status() ) {
|
||||
if ( function_exists( 'session_status' ) && PHP_SESSION_ACTIVE === session_status() ) {
|
||||
// Close any active session to prevent HTTP requests from timing out
|
||||
// when attempting to connect back to the site.
|
||||
session_write_close();
|
||||
|
||||
@@ -530,7 +530,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
|
||||
|
||||
@@ -842,7 +842,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
|
||||
}
|
||||
|
||||
@@ -1266,7 +1266,7 @@ function wp_edit_attachments_query_vars( $q = false ) {
|
||||
|
||||
// Filter query clauses to include filenames.
|
||||
if ( isset( $q['s'] ) ) {
|
||||
add_filter( 'posts_clauses', '_filter_query_attachment_filenames' );
|
||||
add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' );
|
||||
}
|
||||
|
||||
return $q;
|
||||
|
||||
@@ -120,7 +120,7 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) {
|
||||
$args['list_only'] = ! empty( $parsed_args['list_only'] );
|
||||
|
||||
if ( is_array( $parsed_args['selected_cats'] ) ) {
|
||||
$args['selected_cats'] = $parsed_args['selected_cats'];
|
||||
$args['selected_cats'] = array_map( 'intval', $parsed_args['selected_cats'] );
|
||||
} elseif ( $post_id ) {
|
||||
$args['selected_cats'] = wp_get_object_terms( $post_id, $taxonomy, array_merge( $args, array( 'fields' => 'ids' ) ) );
|
||||
} else {
|
||||
@@ -128,7 +128,7 @@ function wp_terms_checklist( $post_id = 0, $args = array() ) {
|
||||
}
|
||||
|
||||
if ( is_array( $parsed_args['popular_cats'] ) ) {
|
||||
$args['popular_cats'] = $parsed_args['popular_cats'];
|
||||
$args['popular_cats'] = array_map( 'intval', $parsed_args['popular_cats'] );
|
||||
} else {
|
||||
$args['popular_cats'] = get_terms(
|
||||
array(
|
||||
@@ -2018,12 +2018,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
|
||||
@@ -2214,6 +2214,9 @@ function get_post_states( $post ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 3.6.0 Added the `$post` parameter.
|
||||
* @since 5.5.0 Also applied in the Customizer context. If any admin functions
|
||||
* are used within the filter, their existence should be checked
|
||||
* with `function_exists()` before being used.
|
||||
*
|
||||
* @param string[] $post_states An array of post display states.
|
||||
* @param WP_Post $post The current post object.
|
||||
|
||||
@@ -647,12 +647,16 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
}
|
||||
}
|
||||
|
||||
$updates = array();
|
||||
$updates = array();
|
||||
$no_updates = array();
|
||||
if ( current_user_can( 'update_themes' ) ) {
|
||||
$updates_transient = get_site_transient( 'update_themes' );
|
||||
if ( isset( $updates_transient->response ) ) {
|
||||
$updates = $updates_transient->response;
|
||||
}
|
||||
if ( isset( $updates_transient->no_update ) ) {
|
||||
$no_updates = $updates_transient->no_update;
|
||||
}
|
||||
}
|
||||
|
||||
WP_Theme::sort_by_name( $themes );
|
||||
@@ -690,6 +694,32 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
$auto_update = in_array( $slug, $auto_updates, true );
|
||||
$auto_update_action = $auto_update ? 'disable-auto-update' : 'enable-auto-update';
|
||||
|
||||
if ( isset( $updates[ $slug ] ) ) {
|
||||
$auto_update_supported = true;
|
||||
$auto_update_filter_payload = (object) $updates[ $slug ];
|
||||
} elseif ( isset( $no_updates[ $slug ] ) ) {
|
||||
$auto_update_supported = true;
|
||||
$auto_update_filter_payload = (object) $no_updates[ $slug ];
|
||||
} else {
|
||||
$auto_update_supported = false;
|
||||
/*
|
||||
* Create the expected payload for the auto_update_theme filter, this is the same data
|
||||
* as contained within $updates or $no_updates but used when the Theme is not known.
|
||||
*/
|
||||
$auto_update_filter_payload = (object) array(
|
||||
'theme' => $slug,
|
||||
'new_version' => $theme->get( 'Version' ),
|
||||
'url' => '',
|
||||
'package' => '',
|
||||
'requires' => $theme->get( 'RequiresWP' ),
|
||||
'requires_php' => $theme->get( 'RequiresPHP' ),
|
||||
);
|
||||
}
|
||||
|
||||
$type = 'theme';
|
||||
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
|
||||
$auto_update_forced = apply_filters( "auto_update_{$type}", null, $auto_update_filter_payload );
|
||||
|
||||
$prepared_themes[ $slug ] = array(
|
||||
'id' => $slug,
|
||||
'name' => $theme->display( 'Name' ),
|
||||
@@ -710,7 +740,11 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
'hasUpdate' => isset( $updates[ $slug ] ),
|
||||
'hasPackage' => isset( $updates[ $slug ] ) && ! empty( $updates[ $slug ]['package'] ),
|
||||
'update' => get_theme_update_available( $theme ),
|
||||
'autoupdate' => $auto_update,
|
||||
'autoupdate' => array(
|
||||
'enabled' => $auto_update || $auto_update_forced,
|
||||
'supported' => $auto_update_supported,
|
||||
'forced' => $auto_update_forced,
|
||||
),
|
||||
'actions' => array(
|
||||
'activate' => current_user_can( 'switch_themes' ) ? wp_nonce_url( admin_url( 'themes.php?action=activate&stylesheet=' . $encoded_slug ), 'switch-theme_' . $slug ) : null,
|
||||
'customize' => $customize_action,
|
||||
|
||||
@@ -646,7 +646,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||
$requires_php = isset( $response['requires_php'] ) ? $response['requires_php'] : null;
|
||||
|
||||
$compatible_wp = is_wp_version_compatible( $requires_wp );
|
||||
$compatible_php = is_php_version_compatible( $compatible_php );
|
||||
$compatible_php = is_php_version_compatible( $requires_php );
|
||||
|
||||
printf(
|
||||
'<tr class="plugin-update-tr%s" id="%s" data-slug="%s">' .
|
||||
|
||||
@@ -1620,8 +1620,8 @@ function upgrade_280() {
|
||||
$start = 0;
|
||||
while ( $rows = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options ORDER BY option_id LIMIT $start, 20" ) ) {
|
||||
foreach ( $rows as $row ) {
|
||||
$value = $row->option_value;
|
||||
if ( ! @unserialize( $value ) ) {
|
||||
$value = maybe_unserialize( $row->option_value );
|
||||
if ( $value === $row->option_value ) {
|
||||
$value = stripslashes( $value );
|
||||
}
|
||||
if ( $value !== $row->option_value ) {
|
||||
@@ -2174,9 +2174,6 @@ function upgrade_550() {
|
||||
global $wp_current_db_version;
|
||||
|
||||
if ( $wp_current_db_version < 48121 ) {
|
||||
update_option( 'finished_updating_comment_type', 0 );
|
||||
wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' );
|
||||
|
||||
$comment_previously_approved = get_option( 'comment_whitelist', '' );
|
||||
update_option( 'comment_previously_approved', $comment_previously_approved );
|
||||
delete_option( 'comment_whitelist' );
|
||||
@@ -2198,6 +2195,11 @@ function upgrade_550() {
|
||||
delete_option( 'blacklist_keys' );
|
||||
delete_option( 'blocklist_keys' );
|
||||
}
|
||||
|
||||
if ( $wp_current_db_version < 48748 ) {
|
||||
update_option( 'finished_updating_comment_type', 0 );
|
||||
wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2565,7 +2567,7 @@ function __get_option( $setting ) { // phpcs:ignore WordPress.NamingConventions.
|
||||
|
||||
$option = $wpdb->get_var( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = %s", $setting ) );
|
||||
|
||||
if ( 'home' === $setting && '' === $option ) {
|
||||
if ( 'home' === $setting && ! $option ) {
|
||||
return __get_option( 'siteurl' );
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/js/accordion.min.js
vendored
2
wp-admin/js/accordion.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!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);
|
||||
2
wp-admin/js/code-editor.min.js
vendored
2
wp-admin/js/code-editor.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
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);
|
||||
2
wp-admin/js/color-picker.min.js
vendored
2
wp-admin/js/color-picker.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(i,t){var e,a=wp.i18n.__;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(a("Color value"))),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(a("Select Color")),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(a("Default")).attr("aria-label",a("Select default color")):o.button.addClass("wp-picker-clear").val(a("Clear")).attr("aria-label",a("Clear color")),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 a=wp.i18n.__,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(a("Color value"))),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(a("Select Color")),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(a("Default")).attr("aria-label",a("Select default color")):o.button.addClass("wp-picker-clear").val(a("Clear")).attr("aria-label",a("Clear color")),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);
|
||||
@@ -16,7 +16,340 @@
|
||||
var $document = $( document ),
|
||||
$window = $( window ),
|
||||
$body = $( document.body ),
|
||||
__ = wp.i18n.__;
|
||||
__ = wp.i18n.__,
|
||||
sprintf = wp.i18n.sprintf;
|
||||
|
||||
/**
|
||||
* Throws an error for a deprecated property.
|
||||
*
|
||||
* @since 5.5.1
|
||||
*
|
||||
* @param {string} propName The property that was used.
|
||||
* @param {string} version The version of WordPress that deprecated the property.
|
||||
* @param {string} replacement The property that should have been used.
|
||||
*/
|
||||
function deprecatedProperty( propName, version, replacement ) {
|
||||
var message;
|
||||
|
||||
if ( 'undefined' !== typeof replacement ) {
|
||||
message = sprintf(
|
||||
/* translators: 1: Deprecated property name, 2: Version number, 3: Alternative property name. */
|
||||
__( '%1$s is deprecated since version %2$s! Use %3$s instead.' ),
|
||||
propName,
|
||||
version,
|
||||
replacement
|
||||
);
|
||||
} else {
|
||||
message = sprintf(
|
||||
/* translators: 1: Deprecated property name, 2: Version number. */
|
||||
__( '%1$s is deprecated since version %2$s with no alternative available.' ),
|
||||
propName,
|
||||
version
|
||||
);
|
||||
}
|
||||
|
||||
window.console.warn( message );
|
||||
}
|
||||
|
||||
/**
|
||||
* Deprecate all properties on an object.
|
||||
*
|
||||
* @since 5.5.1
|
||||
*
|
||||
* @param {string} name The name of the object, i.e. commonL10n.
|
||||
* @param {object} l10nObject The object to deprecate the properties on.
|
||||
*
|
||||
* @return {object} The object with all its properties deprecated.
|
||||
*/
|
||||
function deprecateL10nObject( name, l10nObject ) {
|
||||
var deprecatedObject = {};
|
||||
|
||||
Object.keys( l10nObject ).forEach( function( key ) {
|
||||
var prop = l10nObject[ key ];
|
||||
var propName = name + '.' + key;
|
||||
|
||||
if ( 'object' === typeof prop ) {
|
||||
Object.defineProperty( deprecatedObject, key, { get: function() {
|
||||
deprecatedProperty( propName, '5.5.0', prop.alternative );
|
||||
return prop.func();
|
||||
} } );
|
||||
} else {
|
||||
Object.defineProperty( deprecatedObject, key, { get: function() {
|
||||
deprecatedProperty( propName, '5.5.0', 'wp.i18n' );
|
||||
return prop;
|
||||
} } );
|
||||
}
|
||||
} );
|
||||
|
||||
return deprecatedObject;
|
||||
}
|
||||
|
||||
window.wp.deprecateL10nObject = deprecateL10nObject;
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.6.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.commonL10n = window.commonL10n || {
|
||||
warnDelete: '',
|
||||
dismiss: '',
|
||||
collapseMenu: '',
|
||||
expandMenu: ''
|
||||
};
|
||||
|
||||
window.commonL10n = deprecateL10nObject( 'commonL10n', window.commonL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.wpPointerL10n = window.wpPointerL10n || {
|
||||
dismiss: ''
|
||||
};
|
||||
|
||||
window.wpPointerL10n = deprecateL10nObject( 'wpPointerL10n', window.wpPointerL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.userProfileL10n = window.userProfileL10n || {
|
||||
warn: '',
|
||||
warnWeak: '',
|
||||
show: '',
|
||||
hide: '',
|
||||
cancel: '',
|
||||
ariaShow: '',
|
||||
ariaHide: ''
|
||||
};
|
||||
|
||||
window.userProfileL10n = deprecateL10nObject( 'userProfileL10n', window.userProfileL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 4.9.6
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.privacyToolsL10n = window.privacyToolsL10n || {
|
||||
noDataFound: '',
|
||||
foundAndRemoved: '',
|
||||
noneRemoved: '',
|
||||
someNotRemoved: '',
|
||||
removalError: '',
|
||||
emailSent: '',
|
||||
noExportFile: '',
|
||||
exportError: ''
|
||||
};
|
||||
|
||||
window.privacyToolsL10n = deprecateL10nObject( 'privacyToolsL10n', window.privacyToolsL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 3.6.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.authcheckL10n = {
|
||||
beforeunload: ''
|
||||
};
|
||||
|
||||
window.authcheckL10n = window.authcheckL10n || deprecateL10nObject( 'authcheckL10n', window.authcheckL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.tagsl10n = {
|
||||
noPerm: '',
|
||||
broken: ''
|
||||
};
|
||||
|
||||
window.tagsl10n = window.tagsl10n || deprecateL10nObject( 'tagsl10n', window.tagsl10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.adminCommentsL10n = window.adminCommentsL10n || {
|
||||
hotkeys_highlight_first: {
|
||||
alternative: 'window.adminCommentsSettings.hotkeys_highlight_first',
|
||||
func: function() { return window.adminCommentsSettings.hotkeys_highlight_first; }
|
||||
},
|
||||
hotkeys_highlight_last: {
|
||||
alternative: 'window.adminCommentsSettings.hotkeys_highlight_last',
|
||||
func: function() { return window.adminCommentsSettings.hotkeys_highlight_last; }
|
||||
},
|
||||
replyApprove: '',
|
||||
reply: '',
|
||||
warnQuickEdit: '',
|
||||
warnCommentChanges: '',
|
||||
docTitleComments: '',
|
||||
docTitleCommentsCount: ''
|
||||
};
|
||||
|
||||
window.adminCommentsL10n = deprecateL10nObject( 'adminCommentsL10n', window.adminCommentsL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.tagsSuggestL10n = window.tagsSuggestL10n || {
|
||||
tagDelimiter: '',
|
||||
removeTerm: '',
|
||||
termSelected: '',
|
||||
termAdded: '',
|
||||
termRemoved: ''
|
||||
};
|
||||
|
||||
window.tagsSuggestL10n = deprecateL10nObject( 'tagsSuggestL10n', window.tagsSuggestL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.wpColorPickerL10n = window.wpColorPickerL10n || {
|
||||
clear: '',
|
||||
clearAriaLabel: '',
|
||||
defaultString: '',
|
||||
defaultAriaLabel: '',
|
||||
pick: '',
|
||||
defaultLabel: ''
|
||||
};
|
||||
|
||||
window.wpColorPickerL10n = deprecateL10nObject( 'wpColorPickerL10n', window.wpColorPickerL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.attachMediaBoxL10n = window.attachMediaBoxL10n || {
|
||||
error: ''
|
||||
};
|
||||
|
||||
window.attachMediaBoxL10n = deprecateL10nObject( 'attachMediaBoxL10n', window.attachMediaBoxL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.postL10n = window.postL10n || {
|
||||
ok: '',
|
||||
cancel: '',
|
||||
publishOn: '',
|
||||
publishOnFuture: '',
|
||||
publishOnPast: '',
|
||||
dateFormat: '',
|
||||
showcomm: '',
|
||||
endcomm: '',
|
||||
publish: '',
|
||||
schedule: '',
|
||||
update: '',
|
||||
savePending: '',
|
||||
saveDraft: '',
|
||||
'private': '',
|
||||
'public': '',
|
||||
publicSticky: '',
|
||||
password: '',
|
||||
privatelyPublished: '',
|
||||
published: '',
|
||||
saveAlert: '',
|
||||
savingText: '',
|
||||
permalinkSaved: ''
|
||||
};
|
||||
|
||||
window.postL10n = deprecateL10nObject( 'postL10n', window.postL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.inlineEditL10n = window.inlineEditL10n || {
|
||||
error: '',
|
||||
ntdeltitle: '',
|
||||
notitle: '',
|
||||
comma: '',
|
||||
saved: ''
|
||||
};
|
||||
|
||||
window.inlineEditL10n = deprecateL10nObject( 'inlineEditL10n', window.inlineEditL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.plugininstallL10n = window.plugininstallL10n || {
|
||||
plugin_information: '',
|
||||
plugin_modal_label: '',
|
||||
ays: ''
|
||||
};
|
||||
|
||||
window.plugininstallL10n = deprecateL10nObject( 'plugininstallL10n', window.plugininstallL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.navMenuL10n = window.navMenuL10n || {
|
||||
noResultsFound: '',
|
||||
warnDeleteMenu: '',
|
||||
saveAlert: '',
|
||||
untitled: ''
|
||||
};
|
||||
|
||||
window.navMenuL10n = deprecateL10nObject( 'navMenuL10n', window.navMenuL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.commentL10n = window.commentL10n || {
|
||||
submittedOn: '',
|
||||
dateFormat: ''
|
||||
};
|
||||
|
||||
window.commentL10n = deprecateL10nObject( 'commentL10n', window.commentL10n );
|
||||
|
||||
/**
|
||||
* Removed in 5.5.0, needed for back-compatibility.
|
||||
*
|
||||
* @since 2.9.0
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
window.setPostThumbnailL10n = window.setPostThumbnailL10n || {
|
||||
setThumbnail: '',
|
||||
saving: '',
|
||||
error: '',
|
||||
done: ''
|
||||
};
|
||||
|
||||
window.setPostThumbnailL10n = deprecateL10nObject( 'setPostThumbnailL10n', window.setPostThumbnailL10n );
|
||||
|
||||
/**
|
||||
* Removed in 3.3.0, needed for back-compatibility.
|
||||
|
||||
2
wp-admin/js/common.min.js
vendored
2
wp-admin/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -126,11 +126,13 @@
|
||||
frame.on( 'select', function() {
|
||||
// Grab the selected attachment.
|
||||
var attachment = frame.state().get('selection').first();
|
||||
var nonceValue = $( '#_wpnonce' ).val() || '';
|
||||
|
||||
// Run an Ajax request to set the background image.
|
||||
$.post( ajaxurl, {
|
||||
action: 'set-background-image',
|
||||
attachment_id: attachment.id,
|
||||
_ajax_nonce: nonceValue,
|
||||
size: 'full'
|
||||
}).done( function() {
|
||||
// When the request completes, reload the window.
|
||||
|
||||
2
wp-admin/js/custom-background.min.js
vendored
2
wp-admin/js/custom-background.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(e){e(document).ready(function(){var o,t=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,c){t.css("background-color",c.color.toString())},clear:function(){t.css("background-color","")}}),e('select[name="background-size"]').change(function(){t.css("background-size",e(this).val())}),e('input[name="background-position"]').change(function(){t.css("background-position",e(this).val())}),e('input[name="background-repeat"]').change(function(){t.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').change(function(){t.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").click(function(n){var c=e(this);n.preventDefault(),o||(o=wp.media.frames.customBackground=wp.media({title:c.data("choose"),library:{type:"image"},button:{text:c.data("update"),close:!1}})).on("select",function(){var n=o.state().get("selection").first();e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,size:"full"}).done(function(){window.location.reload()})}),o.open()})})}(jQuery);
|
||||
!function(e){e(document).ready(function(){var o,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,c){a.css("background-color",c.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').change(function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').change(function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').change(function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').change(function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").click(function(n){var c=e(this);n.preventDefault(),o||(o=wp.media.frames.customBackground=wp.media({title:c.data("choose"),library:{type:"image"},button:{text:c.data("update"),close:!1}})).on("select",function(){var n=o.state().get("selection").first(),c=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:c,size:"full"}).done(function(){window.location.reload()})}),o.open()})})}(jQuery);
|
||||
2
wp-admin/js/customize-controls.min.js
vendored
2
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/customize-nav-menus.min.js
vendored
2
wp-admin/js/customize-nav-menus.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/customize-widgets.min.js
vendored
2
wp-admin/js/customize-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -266,6 +266,11 @@ jQuery( function( $ ) {
|
||||
'use strict';
|
||||
|
||||
var communityEventsData = window.communityEventsData || {},
|
||||
dateI18n = wp.date.dateI18n,
|
||||
format = wp.date.format,
|
||||
sprintf = wp.i18n.sprintf,
|
||||
__ = wp.i18n.__,
|
||||
_x = wp.i18n._x,
|
||||
app;
|
||||
|
||||
/**
|
||||
@@ -441,6 +446,7 @@ jQuery( function( $ ) {
|
||||
.fail( function() {
|
||||
app.renderEventsTemplate({
|
||||
'location' : false,
|
||||
'events' : [],
|
||||
'error' : true
|
||||
}, initiatedBy );
|
||||
});
|
||||
@@ -465,6 +471,11 @@ jQuery( function( $ ) {
|
||||
$locationMessage = $( '#community-events-location-message' ),
|
||||
$results = $( '.community-events-results' );
|
||||
|
||||
templateParams.events = app.populateDynamicEventFields(
|
||||
templateParams.events,
|
||||
communityEventsData.time_format
|
||||
);
|
||||
|
||||
/*
|
||||
* Hide all toggleable elements by default, to keep the logic simple.
|
||||
* Otherwise, each block below would have to turn hide everything that
|
||||
@@ -576,6 +587,195 @@ jQuery( function( $ ) {
|
||||
} else {
|
||||
app.toggleLocationForm( 'show' );
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Populate event fields that have to be calculated on the fly.
|
||||
*
|
||||
* These can't be stored in the database, because they're dependent on
|
||||
* the user's current time zone, locale, etc.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {Array} rawEvents The events that should have dynamic fields added to them.
|
||||
* @param {string} timeFormat A time format acceptable by `wp.date.dateI18n()`.
|
||||
*
|
||||
* @returns {Array}
|
||||
*/
|
||||
populateDynamicEventFields: function( rawEvents, timeFormat ) {
|
||||
// Clone the parameter to avoid mutating it, so that this can remain a pure function.
|
||||
var populatedEvents = JSON.parse( JSON.stringify( rawEvents ) );
|
||||
|
||||
$.each( populatedEvents, function( index, event ) {
|
||||
var timeZone = app.getTimeZone( event.start_unix_timestamp * 1000 );
|
||||
|
||||
event.user_formatted_date = app.getFormattedDate(
|
||||
event.start_unix_timestamp * 1000,
|
||||
event.end_unix_timestamp * 1000,
|
||||
timeZone
|
||||
);
|
||||
|
||||
event.user_formatted_time = dateI18n(
|
||||
timeFormat,
|
||||
event.start_unix_timestamp * 1000,
|
||||
timeZone
|
||||
);
|
||||
|
||||
event.timeZoneAbbreviation = app.getTimeZoneAbbreviation( event.start_unix_timestamp * 1000 );
|
||||
} );
|
||||
|
||||
return populatedEvents;
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns the user's local/browser time zone, in a form suitable for `wp.date.i18n()`.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param startTimestamp
|
||||
*
|
||||
* @returns {string|number}
|
||||
*/
|
||||
getTimeZone: function( startTimestamp ) {
|
||||
/*
|
||||
* Prefer a name like `Europe/Helsinki`, since that automatically tracks daylight savings. This
|
||||
* doesn't need to take `startTimestamp` into account for that reason.
|
||||
*/
|
||||
var timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
|
||||
/*
|
||||
* Fall back to an offset for IE11, which declares the property but doesn't assign a value.
|
||||
*/
|
||||
if ( 'undefined' === typeof timeZone ) {
|
||||
/*
|
||||
* It's important to use the _event_ time, not the _current_
|
||||
* time, so that daylight savings time is accounted for.
|
||||
*/
|
||||
timeZone = app.getFlippedTimeZoneOffset( startTimestamp );
|
||||
}
|
||||
|
||||
return timeZone;
|
||||
},
|
||||
|
||||
/**
|
||||
* Get intuitive time zone offset.
|
||||
*
|
||||
* `Data.prototype.getTimezoneOffset()` returns a positive value for time zones
|
||||
* that are _behind_ UTC, and a _negative_ value for ones that are ahead.
|
||||
*
|
||||
* See https://stackoverflow.com/questions/21102435/why-does-javascript-date-gettimezoneoffset-consider-0500-as-a-positive-off.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {number} startTimestamp
|
||||
*
|
||||
* @returns {number}
|
||||
*/
|
||||
getFlippedTimeZoneOffset: function( startTimestamp ) {
|
||||
return new Date( startTimestamp ).getTimezoneOffset() * -1;
|
||||
},
|
||||
|
||||
/**
|
||||
* Get a short time zone name, like `PST`.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {number} startTimestamp
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
getTimeZoneAbbreviation: function( startTimestamp ) {
|
||||
var timeZoneAbbreviation,
|
||||
eventDateTime = new Date( startTimestamp );
|
||||
|
||||
/*
|
||||
* Leaving the `locales` argument undefined is important, so that the browser
|
||||
* displays the abbreviation that's most appropriate for the current locale. For
|
||||
* some that will be `UTC{+|-}{n}`, and for others it will be a code like `PST`.
|
||||
*
|
||||
* This doesn't need to take `startTimestamp` into account, because a name like
|
||||
* `America/Chicago` automatically tracks daylight savings.
|
||||
*/
|
||||
var shortTimeStringParts = eventDateTime.toLocaleTimeString( undefined, { timeZoneName : 'short' } ).split( ' ' );
|
||||
|
||||
if ( 3 === shortTimeStringParts.length ) {
|
||||
timeZoneAbbreviation = shortTimeStringParts[2];
|
||||
}
|
||||
|
||||
if ( 'undefined' === typeof timeZoneAbbreviation ) {
|
||||
/*
|
||||
* It's important to use the _event_ time, not the _current_
|
||||
* time, so that daylight savings time is accounted for.
|
||||
*/
|
||||
var timeZoneOffset = app.getFlippedTimeZoneOffset( startTimestamp ),
|
||||
sign = -1 === Math.sign( timeZoneOffset ) ? '' : '+';
|
||||
|
||||
// translators: Used as part of a string like `GMT+5` in the Events Widget.
|
||||
timeZoneAbbreviation = _x( 'GMT', 'Events widget offset prefix' ) + sign + ( timeZoneOffset / 60 );
|
||||
}
|
||||
|
||||
return timeZoneAbbreviation;
|
||||
},
|
||||
|
||||
/**
|
||||
* Format a start/end date in the user's local time zone and locale.
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {int} startDate The Unix timestamp in milliseconds when the the event starts.
|
||||
* @param {int} endDate The Unix timestamp in milliseconds when the the event ends.
|
||||
* @param {string} timeZone A time zone string or offset which is parsable by `wp.date.i18n()`.
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
getFormattedDate: function( startDate, endDate, timeZone ) {
|
||||
var formattedDate;
|
||||
|
||||
/*
|
||||
* The `date_format` option is not used because it's important
|
||||
* in this context to keep the day of the week in the displayed date,
|
||||
* so that users can tell at a glance if the event is on a day they
|
||||
* are available, without having to open the link.
|
||||
*
|
||||
* The case of crossing a year boundary is intentionally not handled.
|
||||
* It's so rare in practice that it's not worth the complexity
|
||||
* tradeoff. The _ending_ year should be passed to
|
||||
* `multiple_month_event`, though, just in case.
|
||||
*/
|
||||
/* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/manual/datetime.format.php */
|
||||
var singleDayEvent = __( 'l, M j, Y' ),
|
||||
/* translators: Date string for upcoming events. 1: Month, 2: Starting day, 3: Ending day, 4: Year. */
|
||||
multipleDayEvent = __( '%1$s %2$d–%3$d, %4$d' ),
|
||||
/* translators: Date string for upcoming events. 1: Starting month, 2: Starting day, 3: Ending month, 4: Ending day, 5: Ending year. */
|
||||
multipleMonthEvent = __( '%1$s %2$d – %3$s %4$d, %5$d' );
|
||||
|
||||
// Detect single-day events.
|
||||
if ( ! endDate || format( 'Y-m-d', startDate ) === format( 'Y-m-d', endDate ) ) {
|
||||
formattedDate = dateI18n( singleDayEvent, startDate, timeZone );
|
||||
|
||||
// Multiple day events.
|
||||
} else if ( format( 'Y-m', startDate ) === format( 'Y-m', endDate ) ) {
|
||||
formattedDate = sprintf(
|
||||
multipleDayEvent,
|
||||
dateI18n( _x( 'F', 'upcoming events month format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), endDate, timeZone ),
|
||||
dateI18n( _x( 'Y', 'upcoming events year format' ), endDate, timeZone )
|
||||
);
|
||||
|
||||
// Multi-day events that cross a month boundary.
|
||||
} else {
|
||||
formattedDate = sprintf(
|
||||
multipleMonthEvent,
|
||||
dateI18n( _x( 'F', 'upcoming events month format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), startDate, timeZone ),
|
||||
dateI18n( _x( 'F', 'upcoming events month format' ), endDate, timeZone ),
|
||||
dateI18n( _x( 'j', 'upcoming events day format' ), endDate, timeZone ),
|
||||
dateI18n( _x( 'Y', 'upcoming events year format' ), endDate, timeZone )
|
||||
);
|
||||
}
|
||||
|
||||
return formattedDate;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
2
wp-admin/js/dashboard.min.js
vendored
2
wp-admin/js/dashboard.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/edit-comments.min.js
vendored
2
wp-admin/js/edit-comments.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/editor-expand.min.js
vendored
2
wp-admin/js/editor-expand.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/editor.min.js
vendored
2
wp-admin/js/editor.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/gallery.min.js
vendored
2
wp-admin/js/gallery.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
jQuery(document).ready(function(l){var e,t,i,n,o=!1;e=function(){l("#media-items").sortable({items:"div.media-item",placeholder:"sorthelper",axis:"y",distance:2,handle:"div.filename",stop:function(){var e=l("#media-items").sortable("toArray"),n=e.length;l.each(e,function(e,t){var i=o?n-e:1+e;l("#"+t+" .menu_order input").val(i)})}})},t=function(){var e=l(".menu_order_input"),i=e.length;e.each(function(e){var t=o?i-e:1+e;l(this).val(t)})},i=function(e){e=e||0,l(".menu_order_input").each(function(){"0"!==this.value&&!e||(this.value="")})},l("#asc").click(function(e){e.preventDefault(),o=!1,t()}),l("#desc").click(function(e){e.preventDefault(),o=!0,t()}),l("#clear").click(function(e){e.preventDefault(),i(1)}),l("#showall").click(function(e){e.preventDefault(),l("#sort-buttons span a").toggle(),l("a.describe-toggle-on").hide(),l("a.describe-toggle-off, table.slidetoggle").show(),l("img.pinkynail").toggle(!1)}),l("#hideall").click(function(e){e.preventDefault(),l("#sort-buttons span a").toggle(),l("a.describe-toggle-on").show(),l("a.describe-toggle-off, table.slidetoggle").hide(),l("img.pinkynail").toggle(!0)}),e(),i(),1<l("#media-items>*").length&&(n=wpgallery.getWin(),l("#save-all, #gallery-settings").show(),void 0!==n.tinyMCE&&n.tinyMCE.activeEditor&&!n.tinyMCE.activeEditor.isHidden()?(wpgallery.mcemode=!0,wpgallery.init()):l("#insert-gallery").show())}),jQuery(window).unload(function(){window.tinymce=window.tinyMCE=window.wpgallery=null}),window.tinymce=null,window.wpgallery={mcemode:!1,editor:{},dom:{},is_update:!1,el:{},I:function(e){return document.getElementById(e)},init:function(){var e,t,i,n,l=this,o=l.getWin();if(l.mcemode){for(e=(""+document.location.search).replace(/^\?/,"").split("&"),t={},i=0;i<e.length;i++)n=e[i].split("="),t[unescape(n[0])]=unescape(n[1]);t.mce_rdomain&&(document.domain=t.mce_rdomain),window.tinymce=o.tinymce,window.tinyMCE=o.tinyMCE,l.editor=tinymce.EditorManager.activeEditor,l.setup()}},getWin:function(){return window.dialogArguments||opener||parent||top},setup:function(){var e,t,i,n,l,o,r=this,a=r.editor;if(r.mcemode){if(r.el=a.selection.getNode(),"IMG"!==r.el.nodeName||!a.dom.hasClass(r.el,"wpGallery")){if(!(t=a.dom.select("img.wpGallery"))||!t[0])return"1"===getUserSetting("galfile")&&(r.I("linkto-file").checked="checked"),"1"===getUserSetting("galdesc")&&(r.I("order-desc").checked="checked"),getUserSetting("galcols")&&(r.I("columns").value=getUserSetting("galcols")),getUserSetting("galord")&&(r.I("orderby").value=getUserSetting("galord")),void jQuery("#insert-gallery").show();r.el=t[0]}e=a.dom.getAttrib(r.el,"title"),(e=a.dom.decode(e))?(jQuery("#update-gallery").show(),r.is_update=!0,i=e.match(/columns=['"]([0-9]+)['"]/),n=e.match(/link=['"]([^'"]+)['"]/i),l=e.match(/order=['"]([^'"]+)['"]/i),o=e.match(/orderby=['"]([^'"]+)['"]/i),n&&n[1]&&(r.I("linkto-file").checked="checked"),l&&l[1]&&(r.I("order-desc").checked="checked"),i&&i[1]&&(r.I("columns").value=""+i[1]),o&&o[1]&&(r.I("orderby").value=o[1])):jQuery("#insert-gallery").show()}},update:function(){var e,t=this,i=t.editor,n="";if(!t.mcemode||!t.is_update)return e="[gallery"+t.getSettings()+"]",void t.getWin().send_to_editor(e);"IMG"===t.el.nodeName&&(n=(n=i.dom.decode(i.dom.getAttrib(t.el,"title"))).replace(/\s*(order|link|columns|orderby)=['"]([^'"]+)['"]/gi,""),n+=t.getSettings(),i.dom.setAttrib(t.el,"title",n),t.getWin().tb_remove())},getSettings:function(){var e=this.I,t="";return e("linkto-file").checked&&(t+=' link="file"',setUserSetting("galfile","1")),e("order-desc").checked&&(t+=' order="DESC"',setUserSetting("galdesc","1")),3!==e("columns").value&&(t+=' columns="'+e("columns").value+'"',setUserSetting("galcols",e("columns").value)),"menu_order"!==e("orderby").value&&(t+=' orderby="'+e("orderby").value+'"',setUserSetting("galord",e("orderby").value)),t}};
|
||||
jQuery(document).ready(function(n){var l=!1,e=function(){n("#media-items").sortable({items:"div.media-item",placeholder:"sorthelper",axis:"y",distance:2,handle:"div.filename",stop:function(){var e=n("#media-items").sortable("toArray"),i=e.length;n.each(e,function(e,t){e=l?i-e:1+e;n("#"+t+" .menu_order input").val(e)})}})},t=function(){var e=n(".menu_order_input"),t=e.length;e.each(function(e){e=l?t-e:1+e;n(this).val(e)})},i=function(e){e=e||0,n(".menu_order_input").each(function(){"0"!==this.value&&!e||(this.value="")})};n("#asc").click(function(e){e.preventDefault(),l=!1,t()}),n("#desc").click(function(e){e.preventDefault(),l=!0,t()}),n("#clear").click(function(e){e.preventDefault(),i(1)}),n("#showall").click(function(e){e.preventDefault(),n("#sort-buttons span a").toggle(),n("a.describe-toggle-on").hide(),n("a.describe-toggle-off, table.slidetoggle").show(),n("img.pinkynail").toggle(!1)}),n("#hideall").click(function(e){e.preventDefault(),n("#sort-buttons span a").toggle(),n("a.describe-toggle-on").show(),n("a.describe-toggle-off, table.slidetoggle").hide(),n("img.pinkynail").toggle(!0)}),e(),i(),1<n("#media-items>*").length&&(e=wpgallery.getWin(),n("#save-all, #gallery-settings").show(),void 0!==e.tinyMCE&&e.tinyMCE.activeEditor&&!e.tinyMCE.activeEditor.isHidden()?(wpgallery.mcemode=!0,wpgallery.init()):n("#insert-gallery").show())}),jQuery(window).unload(function(){window.tinymce=window.tinyMCE=window.wpgallery=null}),window.tinymce=null,window.wpgallery={mcemode:!1,editor:{},dom:{},is_update:!1,el:{},I:function(e){return document.getElementById(e)},init:function(){var e,t,i,n,l=this,o=l.getWin();if(l.mcemode){for(e=(""+document.location.search).replace(/^\?/,"").split("&"),t={},i=0;i<e.length;i++)n=e[i].split("="),t[unescape(n[0])]=unescape(n[1]);t.mce_rdomain&&(document.domain=t.mce_rdomain),window.tinymce=o.tinymce,window.tinyMCE=o.tinyMCE,l.editor=tinymce.EditorManager.activeEditor,l.setup()}},getWin:function(){return window.dialogArguments||opener||parent||top},setup:function(){var e,t,i,n=this,l=n.editor;if(n.mcemode){if(n.el=l.selection.getNode(),"IMG"!==n.el.nodeName||!l.dom.hasClass(n.el,"wpGallery")){if(!(t=l.dom.select("img.wpGallery"))||!t[0])return"1"===getUserSetting("galfile")&&(n.I("linkto-file").checked="checked"),"1"===getUserSetting("galdesc")&&(n.I("order-desc").checked="checked"),getUserSetting("galcols")&&(n.I("columns").value=getUserSetting("galcols")),getUserSetting("galord")&&(n.I("orderby").value=getUserSetting("galord")),void jQuery("#insert-gallery").show();n.el=t[0]}i=l.dom.getAttrib(n.el,"title"),(i=l.dom.decode(i))?(jQuery("#update-gallery").show(),n.is_update=!0,e=i.match(/columns=['"]([0-9]+)['"]/),t=i.match(/link=['"]([^'"]+)['"]/i),l=i.match(/order=['"]([^'"]+)['"]/i),i=i.match(/orderby=['"]([^'"]+)['"]/i),t&&t[1]&&(n.I("linkto-file").checked="checked"),l&&l[1]&&(n.I("order-desc").checked="checked"),e&&e[1]&&(n.I("columns").value=""+e[1]),i&&i[1]&&(n.I("orderby").value=i[1])):jQuery("#insert-gallery").show()}},update:function(){var e,t=this,i=t.editor,n="";if(!t.mcemode||!t.is_update)return e="[gallery"+t.getSettings()+"]",void t.getWin().send_to_editor(e);"IMG"===t.el.nodeName&&(n=(n=i.dom.decode(i.dom.getAttrib(t.el,"title"))).replace(/\s*(order|link|columns|orderby)=['"]([^'"]+)['"]/gi,""),n+=t.getSettings(),i.dom.setAttrib(t.el,"title",n),t.getWin().tb_remove())},getSettings:function(){var e=this.I,t="";return e("linkto-file").checked&&(t+=' link="file"',setUserSetting("galfile","1")),e("order-desc").checked&&(t+=' order="DESC"',setUserSetting("galdesc","1")),3!==e("columns").value&&(t+=' columns="'+e("columns").value+'"',setUserSetting("galcols",e("columns").value)),"menu_order"!==e("orderby").value&&(t+=' orderby="'+e("orderby").value+'"',setUserSetting("galord",e("orderby").value)),t}};
|
||||
2
wp-admin/js/image-edit.min.js
vendored
2
wp-admin/js/image-edit.min.js
vendored
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
Reference in New Issue
Block a user