Compare commits
95 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3843ae0874 | ||
|
|
3ad4c815cd | ||
|
|
242bd3b338 | ||
|
|
b06d0d90b4 | ||
|
|
709e3315f3 | ||
|
|
e3554a9aa7 | ||
|
|
9ca0faa204 | ||
|
|
82b478b0be | ||
|
|
eae23abd88 | ||
|
|
5a721be794 | ||
|
|
43ac82a96f | ||
|
|
1cdead833e | ||
|
|
a6d9325574 | ||
|
|
6688af8108 | ||
|
|
b6b214a557 | ||
|
|
bf12394dbd | ||
|
|
962a6c6888 | ||
|
|
5ba41bd4f0 | ||
|
|
d19b84afba | ||
|
|
42730aa8a9 | ||
|
|
1e36365912 | ||
|
|
ffc9a87780 | ||
|
|
18f802b860 | ||
|
|
c29db9c1e3 | ||
|
|
5162106aa1 | ||
|
|
bf8239a30c | ||
|
|
70c6bb2d83 | ||
|
|
6689f11a42 | ||
|
|
f5e008b193 | ||
|
|
bc8b720e01 | ||
|
|
fcbd087303 | ||
|
|
eff1fa7e1e | ||
|
|
4a193e9847 | ||
|
|
6587ec5372 | ||
|
|
0a0f6dfb77 | ||
|
|
2c8182fcba | ||
|
|
894f140b12 | ||
|
|
1d0be627a9 | ||
|
|
551b6260da | ||
|
|
69bfd1ff63 | ||
|
|
8bda8b2847 | ||
|
|
4fa46b8d14 | ||
|
|
35592e1ffa | ||
|
|
6e556a478a | ||
|
|
0a198192c7 | ||
|
|
d59cfc17b6 | ||
|
|
fe2ee5b8cd | ||
|
|
12ba6aa8ed | ||
|
|
14b4fdff54 | ||
|
|
eaf88218f3 | ||
|
|
37dc8f3fc0 | ||
|
|
6c5e9f3656 | ||
|
|
12ecbce0b2 | ||
|
|
8df014b082 | ||
|
|
6bc61cc749 | ||
|
|
85bde2e551 | ||
|
|
7d19c6d338 | ||
|
|
a37595b941 | ||
|
|
59e1fddb58 | ||
|
|
37d01e0346 | ||
|
|
b1855cb9d0 | ||
|
|
ef272f47a3 | ||
|
|
c46deb4cb6 | ||
|
|
e78b4f2b69 | ||
|
|
f3a89c4ee8 | ||
|
|
4d8d6310ec | ||
|
|
9072030480 | ||
|
|
c63ebe7525 | ||
|
|
6137b9efe0 | ||
|
|
a9d4c88ff1 | ||
|
|
95694600e8 | ||
|
|
5737a63b49 | ||
|
|
c696886f57 | ||
|
|
7bb43234fb | ||
|
|
eed48e29b8 | ||
|
|
8538424c7f | ||
|
|
ad6d163cfa | ||
|
|
8d05380afc | ||
|
|
cd0cb23aca | ||
|
|
0447adfdbf | ||
|
|
64d9828155 | ||
|
|
b5e412fc3e | ||
|
|
41f4aae738 | ||
|
|
1adcc5bb83 | ||
|
|
b18d2e5fda | ||
|
|
e0058af83d | ||
|
|
11ce2fe256 | ||
|
|
9588f78d86 | ||
|
|
23f58f8af4 | ||
|
|
b997fb4eac | ||
|
|
fea7422a14 | ||
|
|
6072eb4497 | ||
|
|
a531b8f403 | ||
|
|
6d6beaec8c | ||
|
|
932518e519 |
@@ -9,6 +9,9 @@
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once __DIR__ . '/admin.php';
|
||||
|
||||
wp_enqueue_script( 'wp-components' );
|
||||
wp_enqueue_style( 'wp-components' );
|
||||
|
||||
/* translators: Page title of the About WordPress page in the admin. */
|
||||
$title = _x( 'About', 'page title' );
|
||||
|
||||
@@ -20,7 +23,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="about__header">
|
||||
<div class="about__header-image">
|
||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||
</div>
|
||||
|
||||
<div class="about__header-title">
|
||||
@@ -53,19 +56,116 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
);
|
||||
?>
|
||||
</h1>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'With this new version, WordPress brings you fresh colors. The editor helps you work in a few places you couldn’t before—at least, not without getting into code or hiring a pro. The controls you use most, like changing font sizes, are in more places—right where you need them. And layout changes that should be simple, like full-height images, are even simpler to make.' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="about__section changelog">
|
||||
<div class="column has-border has-subtle-background-color">
|
||||
<h2 class="is-smaller-heading"><?php _e( 'Maintenance and Security Releases' ); ?></h2>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number. */
|
||||
__( 'With this new version, the editor cleans up the colors and helps you work in a few places you couldn’t before—at least, not without getting into code or hiring a pro. The controls you use most, like changing type sizes, are in more places—right where you need them. And layout changes that should be simple, like full-height images, get even simpler to make.' ),
|
||||
$display_version
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.7.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.7.4' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
5
|
||||
),
|
||||
'5.7.3',
|
||||
number_format_i18n( 5 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.7.3' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.7.2'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.7.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
26
|
||||
),
|
||||
'5.7.1',
|
||||
number_format_i18n( 26 )
|
||||
);
|
||||
?>
|
||||
<?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.7.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="is-large" />
|
||||
<hr />
|
||||
|
||||
<div class="about__section has-2-columns">
|
||||
<h2 class="is-section-header is-smaller-heading">
|
||||
@@ -90,7 +190,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</div>
|
||||
<div class="column about__image">
|
||||
<video controls>
|
||||
<source src="https://make.wordpress.org/core/files/2021/02/about-57-drag-drop-image.mp4" type="video/mp4" />
|
||||
<source src="https://s.w.org/images/core/5.7/about-57-drag-drop-image.mp4" type="video/mp4" />
|
||||
<source src="https://s.w.org/images/core/5.7/about-57-drag-drop-image.webm" type="video/webm" />
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
@@ -107,17 +208,17 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
_e( '<strong>Buttons block:</strong> now you can align the content in buttons vertically. And you can set the width of a button to a preset percentage.' );
|
||||
_e( '<strong>Buttons block:</strong> now you can choose a vertical or a horizontal layout. And you can set the width of a button to a preset percentage.' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
_e( '<strong>Social Icons block:</strong> you can now change the size of the icons in the Social Icons block.' );
|
||||
_e( '<strong>Social Icons block:</strong> now you can change the size of the icons.' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column about__image">
|
||||
<img src="https://make.wordpress.org/core/files/2021/02/about-57-cover-1.jpg" alt="" />
|
||||
<img src="https://s.w.org/images/core/5.7/about-57-cover.jpg" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -130,14 +231,15 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</div>
|
||||
|
||||
<div class="about__section has-subtle-background-color">
|
||||
<div class="column about__image">
|
||||
<div class="about__image-comparison">
|
||||
<figure class="column about__image" id="about-image-comparison">
|
||||
<div class="about__image-comparison no-js">
|
||||
<img src="https://s.w.org/images/core/5.7/about-57-color-old.png" alt="<?php esc_attr_e( 'Dashboard with old color scheme.' ); ?>" />
|
||||
<div class="about__image-comparison-resize">
|
||||
<img src="https://make.wordpress.org/core/files/2021/02/about-57-color-new.png" />
|
||||
<img src="https://s.w.org/images/core/5.7/about-57-color-new.png" alt="<?php esc_attr_e( 'Dashboard with new color scheme.' ); ?>" />
|
||||
</div>
|
||||
<img src="https://make.wordpress.org/core/files/2021/02/about-57-color-old.png" />
|
||||
</div>
|
||||
</div>
|
||||
<figcaption><?php _e( 'Above, the Dashboard before and after the color update in 5.7.' ); ?></figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
<div class="about__section has-2-columns has-subtle-background-color">
|
||||
@@ -178,8 +280,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<div class="about__section has-subtle-background-color">
|
||||
<div class="column about__image">
|
||||
<picture>
|
||||
<source media="(max-width: 600px)" srcset="images/about-color-palette-vert.svg" />
|
||||
<img alt="" src="images/about-color-palette.svg" />
|
||||
<source media="(max-width: 600px)" srcset="<?php echo admin_url( 'images/about-color-palette-vert.svg' ); ?>" />
|
||||
<img alt="" src="<?php echo admin_url( 'images/about-color-palette.svg' ); ?>" />
|
||||
</picture>
|
||||
</div>
|
||||
</div>
|
||||
@@ -193,16 +295,16 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<h3><?php _e( 'New Robots API' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
_e( 'The new Robots API lets you include the filter directives in the robots meta tag, and the API includes the directive <code>max-image-preview: large</code> by default. That means search engines can show bigger image previews (unless the blog is marked as not public), which can boost your traffic.' )
|
||||
_e( 'The new Robots API lets you include the filter directives in the robots meta tag, and the API includes the <code>max-image-preview: large</code> directive by default. That means search engines can show bigger image previews, which can boost your traffic (unless the site is marked <em>not-public</em>).' );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3><?php _e( 'Ongoing cleanup after update to jQuery 3.5.1' ); ?></h3>
|
||||
<p><?php _e( 'For years jQuery helped make things move on the screen in ways the basic tools couldn’t—but that keeps changing, and so does jQuery.' ); ?></p>
|
||||
<p><?php _e( 'One side effect: it generated a set of cryptic messages on the dashboard that informed only developers. In 5.7, you will get far fewer of those messages, and they will be in plain language.' ); ?></p>
|
||||
<p><?php _e( 'In 5.7, jQuery gets more focused and less intrusive, with fewer messages in the console.' ); ?></p>
|
||||
<h3><?php _e( 'Lazy-load your iframes' ); ?></h3>
|
||||
<p><?php _e( 'Now it’s simple to let iframes lazy-load. Just add the <code>loading="lazy"</code> attribute to iframe tags on the front end.' ); ?></p>
|
||||
<p><?php _e( 'Now it’s simple to let iframes lazy-load. By default, WordPress will add a <code>loading="lazy"</code> attribute to iframe tags when both width and height are specified.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -234,9 +336,87 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
||||
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
|
||||
|
||||
<script>
|
||||
window.addEventListener( 'load', function() {
|
||||
var createElement = wp.element.createElement;
|
||||
var Fragment = wp.element.Fragment;
|
||||
var render = wp.element.render;
|
||||
var useState = wp.element.useState;
|
||||
var ResizableBox = wp.components.ResizableBox;
|
||||
|
||||
var container = document.getElementById( 'about-image-comparison' );
|
||||
var images = container ? container.querySelectorAll( 'img' ) : [];
|
||||
if ( ! images.length ) {
|
||||
// Something's wrong, return early.
|
||||
return;
|
||||
}
|
||||
|
||||
var beforeImage = images.item( 0 );
|
||||
var afterImage = images.item( 1 );
|
||||
var caption = container.querySelector( 'figcaption' ).innerText;
|
||||
|
||||
function ImageComparison( props ) {
|
||||
var stateHelper = useState( props.width );
|
||||
var width = stateHelper[0];
|
||||
var setWidth = stateHelper[1];
|
||||
|
||||
return createElement(
|
||||
'div',
|
||||
{
|
||||
className: 'about__image-comparison'
|
||||
},
|
||||
createElement( 'img', { src: beforeImage.src, alt: beforeImage.alt } ),
|
||||
createElement(
|
||||
ResizableBox,
|
||||
{
|
||||
size: {
|
||||
width: width,
|
||||
height: props.height
|
||||
},
|
||||
onResizeStop: function( event, direction, elt, delta ) {
|
||||
setWidth( parseInt( width + delta.width, 10 ) );
|
||||
},
|
||||
showHandle: true,
|
||||
enable: {
|
||||
top: false,
|
||||
right: ! wp.i18n.isRTL(),
|
||||
bottom: false,
|
||||
left: wp.i18n.isRTL(),
|
||||
},
|
||||
className: 'about__image-comparison-resize'
|
||||
},
|
||||
createElement(
|
||||
'div',
|
||||
{
|
||||
style: { width: '100%', height: '100%', overflow: 'hidden' }
|
||||
},
|
||||
createElement('img', { src: afterImage.src, alt: afterImage.alt } )
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
render(
|
||||
createElement(
|
||||
Fragment,
|
||||
{},
|
||||
createElement(
|
||||
ImageComparison,
|
||||
{
|
||||
width: beforeImage.clientWidth / 2,
|
||||
height: beforeImage.clientHeight
|
||||
}
|
||||
),
|
||||
createElement( 'figcaption', {}, caption )
|
||||
),
|
||||
container
|
||||
);
|
||||
} );
|
||||
</script>
|
||||
<?php
|
||||
|
||||
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
|
||||
return;
|
||||
|
||||
@@ -22,7 +22,7 @@ $credits = wp_credits();
|
||||
|
||||
<div class="about__header">
|
||||
<div class="about__header-image">
|
||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||
</div>
|
||||
|
||||
<div class="about__header-container">
|
||||
|
||||
@@ -113,6 +113,11 @@
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.about__container .has-accent-background-color a {
|
||||
color: #fff;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.about__container .has-transparent-background-color {
|
||||
background-color: transparent;
|
||||
}
|
||||
@@ -552,6 +557,11 @@
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about__container .about__image figcaption {
|
||||
margin-top: 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about__container .about__image .wp-video {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
@@ -560,7 +570,6 @@
|
||||
.about__container .about__image-comparison {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@@ -576,29 +585,26 @@
|
||||
}
|
||||
|
||||
.about__container .about__image-comparison-resize {
|
||||
position: absolute;
|
||||
position: absolute !important; /* Needed to override inline style on ResizableBox */
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 50%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
resize: horizontal;
|
||||
border-left: 2px solid white;
|
||||
}
|
||||
|
||||
.about__container .about__image-comparison-resize:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: dashicons;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
|
||||
overflow: hidden;
|
||||
border-left: 2px solid #007cba;
|
||||
border-left: 2px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.about__container .about__image-comparison-resize .components-resizable-box__side-handle::before {
|
||||
width: 4px;
|
||||
left: calc(50% - 2px);
|
||||
transition: none;
|
||||
animation: none;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.about__container .about__image + h3 {
|
||||
|
||||
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
@@ -112,6 +112,11 @@
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.about__container .has-accent-background-color a {
|
||||
color: #fff;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.about__container .has-transparent-background-color {
|
||||
background-color: transparent;
|
||||
}
|
||||
@@ -551,6 +556,11 @@
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about__container .about__image figcaption {
|
||||
margin-top: 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about__container .about__image .wp-video {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
@@ -559,7 +569,6 @@
|
||||
.about__container .about__image-comparison {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@@ -575,29 +584,26 @@
|
||||
}
|
||||
|
||||
.about__container .about__image-comparison-resize {
|
||||
position: absolute;
|
||||
position: absolute !important; /* Needed to override inline style on ResizableBox */
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 50%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
resize: horizontal;
|
||||
border-right: 2px solid white;
|
||||
}
|
||||
|
||||
.about__container .about__image-comparison-resize:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: dashicons;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
|
||||
overflow: hidden;
|
||||
border-right: 2px solid #007cba;
|
||||
border-right: 2px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.about__container .about__image-comparison-resize .components-resizable-box__side-handle::before {
|
||||
width: 4px;
|
||||
right: calc(50% - 2px);
|
||||
transition: none;
|
||||
animation: none;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.about__container .about__image + h3 {
|
||||
|
||||
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
@@ -103,16 +103,16 @@
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-color-picker::-moz-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wp-color-picker:-ms-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].iris-error {
|
||||
|
||||
2
wp-admin/css/color-picker-rtl.min.css
vendored
2
wp-admin/css/color-picker-rtl.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f6f7f7;border-radius:2px 0 0 2px;border-right:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-right:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#787c82}.wp-color-picker::-moz-placeholder{color:#787c82;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#787c82}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 40px 0 0;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}
|
||||
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f6f7f7;border-radius:2px 0 0 2px;border-right:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-right:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{margin-right:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#646970}.wp-color-picker::-moz-placeholder{color:#646970;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#646970}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 40px 0 0;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}
|
||||
@@ -102,16 +102,16 @@
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-color-picker::-moz-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wp-color-picker:-ms-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.wp-picker-container input[type="text"].iris-error {
|
||||
|
||||
2
wp-admin/css/color-picker.min.css
vendored
2
wp-admin/css/color-picker.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f6f7f7;border-radius:0 2px 2px 0;border-left:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-left:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#787c82}.wp-color-picker::-moz-placeholder{color:#787c82;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#787c82}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 0 0 40px;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}
|
||||
.wp-color-picker{width:80px;direction:ltr}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{min-height:30px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f6f7f7;border-radius:0 2px 2px 0;border-left:1px solid #c3c4c7;color:#50575e;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#1d2327;border-color:#a7aaad;border-left:1px solid #8c8f94}.wp-picker-container{display:inline-block}.wp-color-result:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default,.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{margin-left:6px;padding:0 8px;line-height:2.54545455;min-height:30px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#50575e}.wp-picker-container .iris-picker{border-radius:0;border-color:#dcdcde;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:4rem;font-size:12px;font-family:monospace;line-height:2.33333333;margin:0;padding:0 5px;vertical-align:top;min-height:30px}.wp-color-picker::-webkit-input-placeholder{color:#646970}.wp-color-picker::-moz-placeholder{color:#646970;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#646970}.wp-picker-container input[type=text].iris-error{background-color:#fcf0f1;border-color:#d63638;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{border-color:#3582c4;border-style:solid;box-shadow:0 0 0 1px #3582c4;outline:2px solid transparent}.iris-picker .iris-palette:focus{box-shadow:0 0 0 2px #3582c4}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:5rem;font-size:16px;line-height:1.875;min-height:32px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:0 5px}.wp-picker-input-wrap .button.wp-picker-clear,.wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;line-height:2.14285714;min-height:32px}.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear,.wp-customizer .wp-picker-input-wrap .button.wp-picker-default{padding:0 8px;font-size:14px;line-height:2.14285714;min-height:32px}.wp-picker-container .wp-color-result.button{padding:0 0 0 40px;font-size:14px;line-height:2.14285714}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:2.14285714}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}
|
||||
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
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
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
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
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
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
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
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
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
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
File diff suppressed because one or more lines are too long
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
@@ -1021,7 +1021,7 @@ th.action-links {
|
||||
top: -1px;
|
||||
padding: 4px 10px;
|
||||
border-radius: 30px;
|
||||
background: #787c82;
|
||||
background: #646970;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
@@ -1119,7 +1119,7 @@ th.action-links {
|
||||
.wp-filter .drawer-toggle:before {
|
||||
content: "\f111";
|
||||
margin: 0 0 0 5px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font: normal 16px/1 dashicons;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -1174,13 +1174,13 @@ th.action-links {
|
||||
|
||||
.show-filters .wp-filter .button.drawer-toggle {
|
||||
border-radius: 2px;
|
||||
background: #787c82;
|
||||
background: #646970;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.show-filters .wp-filter .drawer-toggle:hover,
|
||||
.show-filters .wp-filter .drawer-toggle:focus {
|
||||
background: #72aee6;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
.show-filters .wp-filter .drawer-toggle: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
@@ -1020,7 +1020,7 @@ th.action-links {
|
||||
top: -1px;
|
||||
padding: 4px 10px;
|
||||
border-radius: 30px;
|
||||
background: #787c82;
|
||||
background: #646970;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
@@ -1118,7 +1118,7 @@ th.action-links {
|
||||
.wp-filter .drawer-toggle:before {
|
||||
content: "\f111";
|
||||
margin: 0 5px 0 0;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font: normal 16px/1 dashicons;
|
||||
vertical-align: text-bottom;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -1173,13 +1173,13 @@ th.action-links {
|
||||
|
||||
.show-filters .wp-filter .button.drawer-toggle {
|
||||
border-radius: 2px;
|
||||
background: #787c82;
|
||||
background: #646970;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.show-filters .wp-filter .drawer-toggle:hover,
|
||||
.show-filters .wp-filter .drawer-toggle:focus {
|
||||
background: #72aee6;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
.show-filters .wp-filter .drawer-toggle:before {
|
||||
|
||||
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
@@ -2604,7 +2604,7 @@ body.adding-widget .add-new-widget:before,
|
||||
height: 30px;
|
||||
line-height: 2.1;
|
||||
text-align: center;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#available-widgets-filter .clear-results,
|
||||
@@ -2672,7 +2672,7 @@ body.adding-widget .add-new-widget:before,
|
||||
top: 7px;
|
||||
right: 26px;
|
||||
z-index: 1;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
line-height: 2;
|
||||
|
||||
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
@@ -2603,7 +2603,7 @@ body.adding-widget .add-new-widget:before,
|
||||
height: 30px;
|
||||
line-height: 2.1;
|
||||
text-align: center;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#available-widgets-filter .clear-results,
|
||||
@@ -2671,7 +2671,7 @@ body.adding-widget .add-new-widget:before,
|
||||
top: 7px;
|
||||
left: 26px;
|
||||
z-index: 1;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
line-height: 2;
|
||||
|
||||
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
@@ -138,7 +138,7 @@
|
||||
#customize-theme-controls .move-widget-area {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border: 1px solid #dcdcde;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-top: none;
|
||||
cursor: auto;
|
||||
}
|
||||
@@ -164,7 +164,7 @@
|
||||
margin: 0;
|
||||
padding: 13px 42px 15px 15px;
|
||||
color: #50575e;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@@ -183,13 +183,12 @@
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
||||
background: #72aee6;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected:before {
|
||||
@@ -262,7 +261,7 @@
|
||||
|
||||
#available-widgets .widget .widget-description {
|
||||
padding: 0;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
|
||||
2
wp-admin/css/customize-widgets-rtl.min.css
vendored
2
wp-admin/css/customize-widgets-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -137,7 +137,7 @@
|
||||
#customize-theme-controls .move-widget-area {
|
||||
display: none;
|
||||
background: #fff;
|
||||
border: 1px solid #dcdcde;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-top: none;
|
||||
cursor: auto;
|
||||
}
|
||||
@@ -163,7 +163,7 @@
|
||||
margin: 0;
|
||||
padding: 13px 15px 15px 42px;
|
||||
color: #50575e;
|
||||
border-top: 1px solid #f0f0f1;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@@ -182,13 +182,12 @@
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:last-child {
|
||||
border-bottom: 1px solid #f0f0f1;
|
||||
border-bottom: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
|
||||
background: #72aee6;
|
||||
background: #2271b1;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected:before {
|
||||
@@ -261,7 +260,7 @@
|
||||
|
||||
#available-widgets .widget .widget-description {
|
||||
padding: 0;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
|
||||
2
wp-admin/css/customize-widgets.min.css
vendored
2
wp-admin/css/customize-widgets.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -141,7 +141,7 @@
|
||||
}
|
||||
|
||||
.welcome-panel p {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.welcome-panel li a {
|
||||
@@ -513,7 +513,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
.rssSummary {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
@@ -533,7 +533,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
|
||||
#dashboard_primary .rss-widget span,
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
@@ -694,7 +694,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
#dashboard_quick_press .drafts li time {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts p {
|
||||
@@ -757,7 +757,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity p {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@@ -770,7 +770,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
|
||||
#dashboard_activity .subsubsub a .count,
|
||||
#dashboard_activity .subsubsub a.current .count {
|
||||
color: #787c82; /* white background on the dashboard but #f1f1f1 on list tables */
|
||||
color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */
|
||||
}
|
||||
|
||||
#future-posts ul,
|
||||
@@ -789,7 +789,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
display: inline-block;
|
||||
margin-left: 5px;
|
||||
min-width: 150px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.activity-block {
|
||||
@@ -996,7 +996,7 @@ a.rsswidget {
|
||||
}
|
||||
|
||||
.rss-widget span.rss-date {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
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
@@ -140,7 +140,7 @@
|
||||
}
|
||||
|
||||
.welcome-panel p {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.welcome-panel li a {
|
||||
@@ -512,7 +512,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
.rssSummary {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
@@ -532,7 +532,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
|
||||
#dashboard_primary .rss-widget span,
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget span.rss-date {
|
||||
@@ -693,7 +693,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
#dashboard_quick_press .drafts li time {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
#dashboard_quick_press .drafts p {
|
||||
@@ -756,7 +756,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#dashboard_activity .no-activity p {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
@@ -769,7 +769,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
|
||||
#dashboard_activity .subsubsub a .count,
|
||||
#dashboard_activity .subsubsub a.current .count {
|
||||
color: #787c82; /* white background on the dashboard but #f1f1f1 on list tables */
|
||||
color: #646970; /* white background on the dashboard but #f0f0f1 on list tables */
|
||||
}
|
||||
|
||||
#future-posts ul,
|
||||
@@ -788,7 +788,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
min-width: 150px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.activity-block {
|
||||
@@ -995,7 +995,7 @@ a.rsswidget {
|
||||
}
|
||||
|
||||
.rss-widget span.rss-date {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
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
@@ -71,7 +71,7 @@ div#media-upload-header {
|
||||
|
||||
.media-upload-form label.form-help,
|
||||
td.help {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
form {
|
||||
|
||||
2
wp-admin/css/deprecated-media-rtl.min.css
vendored
2
wp-admin/css/deprecated-media-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -70,7 +70,7 @@ div#media-upload-header {
|
||||
|
||||
.media-upload-form label.form-help,
|
||||
td.help {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
form {
|
||||
|
||||
2
wp-admin/css/deprecated-media.min.css
vendored
2
wp-admin/css/deprecated-media.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -69,7 +69,7 @@
|
||||
}
|
||||
|
||||
#titlediv #title-prompt-text {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
position: absolute;
|
||||
font-size: 1.7em;
|
||||
padding: 10px;
|
||||
@@ -964,6 +964,11 @@ form#tags-filter {
|
||||
input#create-page {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.wp-core-ui button.privacy-text-copy {
|
||||
white-space: normal;
|
||||
line-height: 1.8;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1004px) {
|
||||
@@ -1437,7 +1442,7 @@ p.popular-tags a {
|
||||
content: "(" attr( href ) ")";
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
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
@@ -68,7 +68,7 @@
|
||||
}
|
||||
|
||||
#titlediv #title-prompt-text {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
position: absolute;
|
||||
font-size: 1.7em;
|
||||
padding: 10px;
|
||||
@@ -963,6 +963,11 @@ form#tags-filter {
|
||||
input#create-page {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.wp-core-ui button.privacy-text-copy {
|
||||
white-space: normal;
|
||||
line-height: 1.8;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1004px) {
|
||||
@@ -1436,7 +1441,7 @@ p.popular-tags a {
|
||||
content: "(" attr( href ) ")";
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
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
@@ -227,16 +227,16 @@ textarea[readonly] {
|
||||
}
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.form-invalid .form-required,
|
||||
@@ -1318,7 +1318,7 @@ table.form-table td .updated p {
|
||||
.status-label.status-request-pending {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.status-label.status-request-failed {
|
||||
|
||||
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
@@ -226,16 +226,16 @@ textarea[readonly] {
|
||||
}
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.form-invalid .form-required,
|
||||
@@ -1317,7 +1317,7 @@ table.form-table td .updated p {
|
||||
.status-label.status-request-pending {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.status-label.status-request-failed {
|
||||
|
||||
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
@@ -56,7 +56,7 @@
|
||||
min-width: 24px;
|
||||
height: 2em;
|
||||
border-radius: 5px;
|
||||
background-color: #787c82;
|
||||
background-color: #646970;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
line-height: 1.90909090;
|
||||
@@ -72,7 +72,7 @@
|
||||
margin-right: 8px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid #787c82;
|
||||
border-top: 5px solid #646970;
|
||||
border-left: 5px solid transparent;
|
||||
}
|
||||
|
||||
@@ -1578,20 +1578,16 @@ div.action-links,
|
||||
/* ms */
|
||||
/* Background Color for Site Status */
|
||||
.wp-list-table .site-deleted,
|
||||
.wp-list-table tr.site-deleted {
|
||||
background: #ff8085;
|
||||
}
|
||||
.wp-list-table .site-spammed,
|
||||
.wp-list-table tr.site-spammed {
|
||||
background: #ffabaf;
|
||||
}
|
||||
.wp-list-table tr.site-deleted,
|
||||
.wp-list-table .site-archived,
|
||||
.wp-list-table tr.site-archived {
|
||||
background: #fcf0f1;
|
||||
}
|
||||
.wp-list-table .site-spammed,
|
||||
.wp-list-table tr.site-spammed,
|
||||
.wp-list-table .site-mature,
|
||||
.wp-list-table tr.site-mature {
|
||||
background: #facfd2;
|
||||
background: #fcf9e8;
|
||||
}
|
||||
|
||||
.sites.fixed .column-lastupdated,
|
||||
|
||||
2
wp-admin/css/list-tables-rtl.min.css
vendored
2
wp-admin/css/list-tables-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -55,7 +55,7 @@
|
||||
min-width: 24px;
|
||||
height: 2em;
|
||||
border-radius: 5px;
|
||||
background-color: #787c82;
|
||||
background-color: #646970;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
line-height: 1.90909090;
|
||||
@@ -71,7 +71,7 @@
|
||||
margin-left: 8px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid #787c82;
|
||||
border-top: 5px solid #646970;
|
||||
border-right: 5px solid transparent;
|
||||
}
|
||||
|
||||
@@ -1577,20 +1577,16 @@ div.action-links,
|
||||
/* ms */
|
||||
/* Background Color for Site Status */
|
||||
.wp-list-table .site-deleted,
|
||||
.wp-list-table tr.site-deleted {
|
||||
background: #ff8085;
|
||||
}
|
||||
.wp-list-table .site-spammed,
|
||||
.wp-list-table tr.site-spammed {
|
||||
background: #ffabaf;
|
||||
}
|
||||
.wp-list-table tr.site-deleted,
|
||||
.wp-list-table .site-archived,
|
||||
.wp-list-table tr.site-archived {
|
||||
background: #fcf0f1;
|
||||
}
|
||||
.wp-list-table .site-spammed,
|
||||
.wp-list-table tr.site-spammed,
|
||||
.wp-list-table .site-mature,
|
||||
.wp-list-table tr.site-mature {
|
||||
background: #facfd2;
|
||||
background: #fcf9e8;
|
||||
}
|
||||
|
||||
.sites.fixed .column-lastupdated,
|
||||
|
||||
2
wp-admin/css/list-tables.min.css
vendored
2
wp-admin/css/list-tables.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -132,7 +132,7 @@ p {
|
||||
.login form {
|
||||
margin-top: 20px;
|
||||
margin-right: 0;
|
||||
padding: 26px 24px 46px;
|
||||
padding: 26px 24px 34px;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
@@ -191,6 +191,18 @@ p {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.login .reset-pass-submit {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.login .reset-pass-submit .button {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.login .admin-email-confirm-form .submit {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
2
wp-admin/css/login-rtl.min.css
vendored
2
wp-admin/css/login-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -131,7 +131,7 @@ p {
|
||||
.login form {
|
||||
margin-top: 20px;
|
||||
margin-left: 0;
|
||||
padding: 26px 24px 46px;
|
||||
padding: 26px 24px 34px;
|
||||
font-weight: 400;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
@@ -190,6 +190,18 @@ p {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.login .reset-pass-submit {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.login .reset-pass-submit .button {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.login .admin-email-confirm-form .submit {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
2
wp-admin/css/login.min.css
vendored
2
wp-admin/css/login.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -136,7 +136,7 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
.theme-location-set {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@@ -456,8 +456,8 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
#menu-to-edit .menu-item-invalid .menu-item-handle {
|
||||
background: #facfd2;
|
||||
border-color: #ffabaf;
|
||||
background: #fcf0f1;
|
||||
border-color: #d63638;
|
||||
}
|
||||
|
||||
.no-js .menu-item-edit-active .item-edit {
|
||||
@@ -483,7 +483,7 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
.menu-item-handle .menu-item-title.no-title {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
/* Sortables */
|
||||
@@ -690,7 +690,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
margin: 0 0 15px;
|
||||
padding: 3px 5px 5px;
|
||||
border: 1px solid #dcdcde;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/nav-menus-rtl.min.css
vendored
2
wp-admin/css/nav-menus-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -135,7 +135,7 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
.theme-location-set {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@@ -455,8 +455,8 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
#menu-to-edit .menu-item-invalid .menu-item-handle {
|
||||
background: #facfd2;
|
||||
border-color: #ffabaf;
|
||||
background: #fcf0f1;
|
||||
border-color: #d63638;
|
||||
}
|
||||
|
||||
.no-js .menu-item-edit-active .item-edit {
|
||||
@@ -482,7 +482,7 @@ ul.add-menu-item-tabs li {
|
||||
}
|
||||
|
||||
.menu-item-handle .menu-item-title.no-title {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
/* Sortables */
|
||||
@@ -689,7 +689,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
margin: 0 0 15px;
|
||||
padding: 3px 5px 5px;
|
||||
border: 1px solid #dcdcde;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/nav-menus.min.css
vendored
2
wp-admin/css/nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -132,7 +132,7 @@ body.folded .revisions .loading-indicator {
|
||||
}
|
||||
|
||||
.revisions-controls .author-card .date {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.revisions-controls .author-card.autosave {
|
||||
|
||||
2
wp-admin/css/revisions-rtl.min.css
vendored
2
wp-admin/css/revisions-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -131,7 +131,7 @@ body.folded .revisions .loading-indicator {
|
||||
}
|
||||
|
||||
.revisions-controls .author-card .date {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.revisions-controls .author-card.autosave {
|
||||
|
||||
2
wp-admin/css/revisions.min.css
vendored
2
wp-admin/css/revisions.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -662,7 +662,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
}
|
||||
|
||||
.theme-overlay .theme-version {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
float: none;
|
||||
@@ -672,7 +672,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
|
||||
.theme-overlay .theme-author {
|
||||
margin: 15px 0 25px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: inherit;
|
||||
@@ -705,7 +705,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
|
||||
.theme-overlay .theme-tags {
|
||||
border-top: 3px solid #f0f0f1;
|
||||
color: #8c8f94;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
margin: 30px 0 0 0;
|
||||
@@ -1124,7 +1124,7 @@ p.no-themes-local {
|
||||
.theme-details .num-ratings,
|
||||
.theme-details .no-rating {
|
||||
font-size: 11px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.theme-details .no-rating {
|
||||
@@ -1856,7 +1856,7 @@ body.full-overlay-active {
|
||||
|
||||
.theme-details .theme-description {
|
||||
float: right;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
line-height: 1.6;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
2
wp-admin/css/themes-rtl.min.css
vendored
2
wp-admin/css/themes-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -661,7 +661,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
}
|
||||
|
||||
.theme-overlay .theme-version {
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
float: none;
|
||||
@@ -671,7 +671,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
|
||||
.theme-overlay .theme-author {
|
||||
margin: 15px 0 25px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: inherit;
|
||||
@@ -704,7 +704,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
|
||||
|
||||
.theme-overlay .theme-tags {
|
||||
border-top: 3px solid #f0f0f1;
|
||||
color: #8c8f94;
|
||||
color: #646970;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
margin: 30px 0 0 0;
|
||||
@@ -1123,7 +1123,7 @@ p.no-themes-local {
|
||||
.theme-details .num-ratings,
|
||||
.theme-details .no-rating {
|
||||
font-size: 11px;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.theme-details .no-rating {
|
||||
@@ -1855,7 +1855,7 @@ body.full-overlay-active {
|
||||
|
||||
.theme-details .theme-description {
|
||||
float: left;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
line-height: 1.6;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
2
wp-admin/css/themes.min.css
vendored
2
wp-admin/css/themes.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -355,7 +355,7 @@
|
||||
padding: 0 0 15px;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.widget-holder .description,
|
||||
|
||||
2
wp-admin/css/widgets-rtl.min.css
vendored
2
wp-admin/css/widgets-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -354,7 +354,7 @@
|
||||
padding: 0 0 15px;
|
||||
margin: 0;
|
||||
font-style: normal;
|
||||
color: #787c82;
|
||||
color: #646970;
|
||||
}
|
||||
|
||||
.widget-holder .description,
|
||||
|
||||
2
wp-admin/css/widgets.min.css
vendored
2
wp-admin/css/widgets.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -25,7 +25,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="about__header">
|
||||
<div class="about__header-image">
|
||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="images/about-badge.svg" />
|
||||
<img alt="<?php _e( 'Code is Poetry' ); ?>" src="<?php echo admin_url( 'images/about-badge.svg' ); ?>" />
|
||||
</div>
|
||||
|
||||
<div class="about__header-container">
|
||||
|
||||
@@ -420,11 +420,11 @@ final class WP_Privacy_Policy_Content {
|
||||
<div class="privacy-settings-accordion-actions">
|
||||
<span class="success" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
|
||||
<button type="button" class="privacy-text-copy button">
|
||||
<?php _e( 'Copy suggested policy text to clipboard' ); ?>
|
||||
<span aria-hidden="true"><?php _e( 'Copy suggested policy text to clipboard' ); ?></span>
|
||||
<span class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: %s: Plugin name. */
|
||||
sprintf( __( 'Copy suggested policy text from %s.' ), $plugin_name );
|
||||
printf( __( 'Copy suggested policy text from %s.' ), $plugin_name );
|
||||
?>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
@@ -1528,7 +1528,7 @@ class WP_Site_Health {
|
||||
if ( ! wp_is_using_https() ) {
|
||||
// If the website is not using HTTPS, provide more information about whether it is supported and how it can
|
||||
// be enabled.
|
||||
$result['status'] = 'critical';
|
||||
$result['status'] = 'recommended';
|
||||
$result['label'] = __( 'Your website does not use HTTPS' );
|
||||
|
||||
if ( wp_is_site_url_using_https() ) {
|
||||
@@ -1630,36 +1630,6 @@ class WP_Site_Health {
|
||||
);
|
||||
}
|
||||
}
|
||||
} elseif ( ! wp_is_https_supported() ) {
|
||||
// If the website is using HTTPS, but HTTPS is actually not supported, inform the user about the potential
|
||||
// problems.
|
||||
$result['status'] = 'critical';
|
||||
$result['label'] = __( 'There are problems with the HTTPS connection of your website' );
|
||||
|
||||
$https_detection_errors = get_option( 'https_detection_errors' );
|
||||
if ( ! empty( $https_detection_errors['ssl_verification_failed'] ) ) {
|
||||
$result['description'] = sprintf(
|
||||
'<p>%s</p>',
|
||||
sprintf(
|
||||
/* translators: %s: URL to Settings > General > WordPress Address. */
|
||||
__( 'Your <a href="%s">WordPress Address</a> is set up to use HTTPS, but the SSL certificate appears to be invalid.' ),
|
||||
esc_url( admin_url( 'options-general.php' ) . '#siteurl' )
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$result['description'] = sprintf(
|
||||
'<p>%s</p>',
|
||||
sprintf(
|
||||
/* translators: %s: URL to Settings > General > WordPress Address. */
|
||||
__( 'Your <a href="%s">WordPress Address</a> is set up to use HTTPS, but your website appears to be unavailable when using an HTTPS connection.' ),
|
||||
esc_url( admin_url( 'options-general.php' ) . '#siteurl' )
|
||||
)
|
||||
);
|
||||
}
|
||||
$result['description'] .= sprintf(
|
||||
'<p>%s</p>',
|
||||
__( 'Talk to your web host about resolving this HTTPS issue for your website.' )
|
||||
);
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
@@ -711,6 +711,7 @@ function wp_read_image_metadata( $file ) {
|
||||
);
|
||||
|
||||
$iptc = array();
|
||||
$info = array();
|
||||
/*
|
||||
* Read IPTC first, since it might contain data not available in exif such
|
||||
* as caption, description etc.
|
||||
|
||||
@@ -801,6 +801,8 @@ $_old_files = array(
|
||||
// 5.6
|
||||
'wp-includes/js/jquery/ui/position.min.js',
|
||||
'wp-includes/js/jquery/ui/widget.min.js',
|
||||
// 5.7
|
||||
'wp-includes/blocks/classic/block.json',
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -937,7 +939,7 @@ function update_core( $from, $to ) {
|
||||
* Import $wp_version, $required_php_version, and $required_mysql_version from the new version.
|
||||
* DO NOT globalise any variables imported from `version-current.php` in this function.
|
||||
*
|
||||
* BC Note: $wp_filesystem->wp_content_dir() returned unslashed pre-2.8
|
||||
* BC Note: $wp_filesystem->wp_content_dir() returned unslashed pre-2.8.
|
||||
*/
|
||||
$versions_file = trailingslashit( $wp_filesystem->wp_content_dir() ) . 'upgrade/version-current.php';
|
||||
if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $versions_file ) ) {
|
||||
@@ -946,6 +948,15 @@ function update_core( $from, $to ) {
|
||||
}
|
||||
|
||||
$wp_filesystem->chmod( $versions_file, FS_CHMOD_FILE );
|
||||
|
||||
/*
|
||||
* `wp_opcache_invalidate()` only exists in WordPress 5.5 or later,
|
||||
* so don't run it when upgrading from older versions.
|
||||
*/
|
||||
if ( function_exists( 'wp_opcache_invalidate' ) ) {
|
||||
wp_opcache_invalidate( $versions_file );
|
||||
}
|
||||
|
||||
require WP_CONTENT_DIR . '/upgrade/version-current.php';
|
||||
$wp_filesystem->delete( $versions_file );
|
||||
|
||||
@@ -1117,6 +1128,14 @@ function update_core( $from, $to ) {
|
||||
$result = new WP_Error( 'copy_failed_for_version_file', __( 'The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.' ), 'wp-includes/version.php' );
|
||||
}
|
||||
$wp_filesystem->chmod( $to . 'wp-includes/version.php', FS_CHMOD_FILE );
|
||||
|
||||
/*
|
||||
* `wp_opcache_invalidate()` only exists in WordPress 5.5 or later,
|
||||
* so don't run it when upgrading from older versions.
|
||||
*/
|
||||
if ( function_exists( 'wp_opcache_invalidate' ) ) {
|
||||
wp_opcache_invalidate( $to . 'wp-includes/version.php' );
|
||||
}
|
||||
}
|
||||
|
||||
// Check to make sure everything copied correctly, ignoring the contents of wp-content.
|
||||
@@ -1373,7 +1392,10 @@ function _copy_dir( $from, $to, $skip_list = array() ) {
|
||||
}
|
||||
}
|
||||
|
||||
// `wp_opcache_invalidate()` only exists in WordPress 5.5, so don't run it when upgrading to 5.5.
|
||||
/*
|
||||
* `wp_opcache_invalidate()` only exists in WordPress 5.5 or later,
|
||||
* so don't run it when upgrading from older versions.
|
||||
*/
|
||||
if ( function_exists( 'wp_opcache_invalidate' ) ) {
|
||||
wp_opcache_invalidate( $to . $filename );
|
||||
}
|
||||
|
||||
@@ -840,7 +840,7 @@ $document.ready( function() {
|
||||
* @return {void}
|
||||
*/
|
||||
$adminmenu.on('click.wp-submenu-head', '.wp-submenu-head', function(e){
|
||||
$(e.target).parent().siblings('a').get(0).trigger( 'click' );
|
||||
$(e.target).parent().siblings('a').get(0).click();
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
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
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
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/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
2
wp-admin/js/nav-menu.min.js
vendored
2
wp-admin/js/nav-menu.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/post.min.js
vendored
2
wp-admin/js/post.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/privacy-tools.min.js
vendored
2
wp-admin/js/privacy-tools.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/site-health.min.js
vendored
2
wp-admin/js/site-health.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/svg-painter.min.js
vendored
2
wp-admin/js/svg-painter.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
window.wp=window.wp||{},wp.svgPainter=function(e,o,n){"use strict";var t,r,a,m,i,s,c,u,l,f={},g=[];function p(){for(;l<256;)m=String.fromCharCode(l),s+=m,u[l]=l,c[l]=i.indexOf(m),++l}function d(n,t,e,a,i,o){for(var r,s=0,c=0,u="",l=0,f=(n=String(n)).length;c<f;){for(s=(s<<i)+(m=(m=n.charCodeAt(c))<256?e[m]:-1),l+=i;o<=l;)r=s>>(l-=o),u+=a.charAt(r),s^=r<<l;++c}return!t&&0<l&&(u+=a.charAt(s<<o-l)),u}return e(n).ready(function(){n.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")&&(e(n.body).removeClass("no-svg").addClass("svg"),wp.svgPainter.init())}),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s="",c=[256],u=[256],l=0,r={atob:function(n){var t;for(m||p(),n=n.replace(/[^A-Za-z0-9\+\/\=]/g,""),n=String(n).split("="),t=n.length;n[--t]=d(n[t],!0,c,s,6,8),0<t;);return n=n.join("")},btoa:function(n){return m||p(),(n=d(n,!1,u,i,8,6))+"====".slice(n.length%4||4)}},{init:function(){a=this,t=e("#adminmenu .wp-menu-image, #wpadminbar .ab-item"),this.setColors(),this.findElements(),this.paint()},setColors:function(n){(n=void 0===n&&void 0!==o._wpColorScheme?o._wpColorScheme:n)&&n.icons&&n.icons.base&&n.icons.current&&n.icons.focus&&(f=n.icons)},findElements:function(){t.each(function(){var n=e(this),t=n.css("background-image");t&&-1!=t.indexOf("data:image/svg+xml;base64")&&g.push(n)})},paint:function(){e.each(g,function(n,t){var e=t.parent().parent();e.hasClass("current")||e.hasClass("wp-has-current-submenu")?a.paintElement(t,"current"):(a.paintElement(t,"base"),e.on("mouseenter",function(){a.paintElement(t,"focus")}).on("mouseleave",function(){o.setTimeout(function(){a.paintElement(t,"base")},100)}))})},paintElement:function(n,t){var e,a,i;if(t&&f.hasOwnProperty(t)&&(i=f[t],i.match(/^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i)&&"none"!==(e=n.data("wp-ui-svg-"+i)))){if(!e){if(!(a=n.css("background-image").match(/.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/))||!a[1])return void n.data("wp-ui-svg-"+i,"none");try{e=("atob"in o?o:r).atob(a[1])}catch(n){}if(!e)return void n.data("wp-ui-svg-"+i,"none");e=(e=(e=e.replace(/fill="(.+?)"/g,'fill="'+i+'"')).replace(/style="(.+?)"/g,'style="fill:'+i+'"')).replace(/fill:.*?;/g,"fill: "+i+";"),e=("btoa"in o?o:r).btoa(e),n.data("wp-ui-svg-"+i,e)}n.attr("style",'background-image: url("data:image/svg+xml;base64,'+e+'") !important;')}}}}(jQuery,window,document);
|
||||
window.wp=window.wp||{},wp.svgPainter=function(e,i,n){"use strict";var t,o,a,m,r,s,c,u,l,f={},g=[];function p(){for(;l<256;)m=String.fromCharCode(l),s+=m,u[l]=l,c[l]=r.indexOf(m),++l}function d(n,t,e,a,i,o){for(var r,s=0,c=0,u="",l=0,f=(n=String(n)).length;c<f;){for(s=(s<<i)+(m=(m=n.charCodeAt(c))<256?e[m]:-1),l+=i;o<=l;)l-=o,u+=a.charAt(r=s>>l),s^=r<<l;++c}return!t&&0<l&&(u+=a.charAt(s<<o-l)),u}return e(n).ready(function(){n.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")&&(e(n.body).removeClass("no-svg").addClass("svg"),wp.svgPainter.init())}),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s="",c=[256],u=[256],l=0,o={atob:function(n){var t;for(m||p(),n=n.replace(/[^A-Za-z0-9\+\/\=]/g,""),n=String(n).split("="),t=n.length;n[--t]=d(n[t],!0,c,s,6,8),0<t;);return n=n.join("")},btoa:function(n){return m||p(),(n=d(n,!1,u,r,8,6))+"====".slice(n.length%4||4)}},{init:function(){a=this,t=e("#adminmenu .wp-menu-image, #wpadminbar .ab-item"),this.setColors(),this.findElements(),this.paint()},setColors:function(n){(n=void 0===n&&void 0!==i._wpColorScheme?i._wpColorScheme:n)&&n.icons&&n.icons.base&&n.icons.current&&n.icons.focus&&(f=n.icons)},findElements:function(){t.each(function(){var n=e(this),t=n.css("background-image");t&&-1!=t.indexOf("data:image/svg+xml;base64")&&g.push(n)})},paint:function(){e.each(g,function(n,t){var e=t.parent().parent();e.hasClass("current")||e.hasClass("wp-has-current-submenu")?a.paintElement(t,"current"):(a.paintElement(t,"base"),e.on("mouseenter",function(){a.paintElement(t,"focus")}).on("mouseleave",function(){i.setTimeout(function(){a.paintElement(t,"base")},100)}))})},paintElement:function(n,t){var e,a;if(t&&f.hasOwnProperty(t)&&(a=f[t],a.match(/^(#[0-9a-f]{3}|#[0-9a-f]{6})$/i)&&"none"!==(e=n.data("wp-ui-svg-"+a)))){if(!e){if(!(t=n.css("background-image").match(/.+data:image\/svg\+xml;base64,([A-Za-z0-9\+\/\=]+)/))||!t[1])return void n.data("wp-ui-svg-"+a,"none");try{e=("atob"in i?i:o).atob(t[1])}catch(n){}if(!e)return void n.data("wp-ui-svg-"+a,"none");e=(e=(e=e.replace(/fill="(.+?)"/g,'fill="'+a+'"')).replace(/style="(.+?)"/g,'style="fill:'+a+'"')).replace(/fill:.*?;/g,"fill: "+a+";"),e=("btoa"in i?i:o).btoa(e),n.data("wp-ui-svg-"+a,e)}n.attr("style",'background-image: url("data:image/svg+xml;base64,'+e+'") !important;')}}}}(jQuery,window,document);
|
||||
2
wp-admin/js/tags-box.min.js
vendored
2
wp-admin/js/tags-box.min.js
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
!function(o){var r=wp.i18n._x(",","tag delimiter")||",";window.array_unique_noempty=function(t){var a=[];return o.each(t,function(t,e){(e=o.trim(e))&&-1===o.inArray(e,a)&&a.push(e)}),a},window.tagBox={clean:function(t){return t=(t=","!==r?t.replace(new RegExp(r,"g"),","):t).replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,""),t=","!==r?t.replace(/,/g,r):t},parseTags:function(t){var e=t.id.split("-check-num-")[1],a=o(t).closest(".tagsdiv"),i=a.find(".the-tags"),t=i.val().split(r),n=[];return delete t[e],o.each(t,function(t,e){(e=o.trim(e))&&n.push(e)}),i.val(this.clean(n.join(r))),this.quickClicks(a),!1},quickClicks:function(t){var a,e=o(".the-tags",t),i=o(".tagchecklist",t),n=o(t).attr("id");e.length&&(a=e.prop("disabled"),e=e.val().split(r),i.empty(),o.each(e,function(t,e){(e=o.trim(e))&&(e=o("<li />").text(e),a||((t=o('<button type="button" id="'+n+"-check-num-"+t+'" class="ntdelbutton"><span class="remove-tag-icon" aria-hidden="true"></span><span class="screen-reader-text">'+wp.i18n.__("Remove term:")+" "+e.html()+"</span></button>")).on("click keypress",function(t){"click"!==t.type&&13!==t.keyCode&&32!==t.keyCode||(13!==t.keyCode&&32!==t.keyCode||o(this).closest(".tagsdiv").find("input.newtag").trigger("focus"),tagBox.userAction="remove",tagBox.parseTags(this))}),e.prepend(" ").prepend(t)),i.append(e))}),tagBox.screenReadersMessage())},flushTags:function(t,e,a){var i,n,s=o(".the-tags",t),c=o("input.newtag",t);return void 0===(n=(e=e||!1)?o(e).text():c.val())||""===n||(n=(i=s.val())?i+r+n:n,n=this.clean(n),n=array_unique_noempty(n.split(r)).join(r),s.val(n),this.quickClicks(t),e||c.val(""),void 0===a&&c.trigger("focus")),!1},get:function(a){var i=a.substr(a.indexOf("-")+1);o.post(ajaxurl,{action:"get-tagcloud",tax:i},function(t,e){0!==t&&"success"==e&&(t=o('<div id="tagcloud-'+i+'" class="the-tagcloud">'+t+"</div>"),o("a",t).on("click",function(){return tagBox.userAction="add",tagBox.flushTags(o("#"+i),this),!1}),o("#"+a).after(t))})},userAction:"",screenReadersMessage:function(){var t;switch(this.userAction){case"remove":t=wp.i18n.__("Term removed.");break;case"add":t=wp.i18n.__("Term added.");break;default:return}window.wp.a11y.speak(t,"assertive")},init:function(){var t=o("div.ajaxtag");o(".tagsdiv").each(function(){tagBox.quickClicks(this)}),o(".tagadd",t).on("click",function(){tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv"))}),o("input.newtag",t).on("keypress",function(t){13==t.which&&(tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv")),t.preventDefault(),t.stopPropagation())}).each(function(t,e){o(e).wpTagsSuggest()}),o("#post").on("submit",function(){o("div.tagsdiv").each(function(){tagBox.flushTags(this,!1,1)})}),o(".tagcloud-link").on("click",function(){tagBox.get(o(this).attr("id")),o(this).attr("aria-expanded","true").off().on("click",function(){o(this).attr("aria-expanded","false"===o(this).attr("aria-expanded")?"true":"false").siblings(".the-tagcloud").toggle()})})}}}(jQuery);
|
||||
!function(o){var r=wp.i18n._x(",","tag delimiter")||",";window.array_unique_noempty=function(t){var a=[];return o.each(t,function(t,e){(e=o.trim(e))&&-1===o.inArray(e,a)&&a.push(e)}),a},window.tagBox={clean:function(t){return t=(t=","!==r?t.replace(new RegExp(r,"g"),","):t).replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,""),t=","!==r?t.replace(/,/g,r):t},parseTags:function(t){var e=t.id.split("-check-num-")[1],a=o(t).closest(".tagsdiv"),i=a.find(".the-tags"),t=i.val().split(r),n=[];return delete t[e],o.each(t,function(t,e){(e=o.trim(e))&&n.push(e)}),i.val(this.clean(n.join(r))),this.quickClicks(a),!1},quickClicks:function(t){var a,e=o(".the-tags",t),i=o(".tagchecklist",t),n=o(t).attr("id");e.length&&(a=e.prop("disabled"),e=e.val().split(r),i.empty(),o.each(e,function(t,e){(e=o.trim(e))&&(e=o("<li />").text(e),a||((t=o('<button type="button" id="'+n+"-check-num-"+t+'" class="ntdelbutton"><span class="remove-tag-icon" aria-hidden="true"></span><span class="screen-reader-text">'+wp.i18n.__("Remove term:")+" "+e.html()+"</span></button>")).on("click keypress",function(t){"click"!==t.type&&13!==t.keyCode&&32!==t.keyCode||(13!==t.keyCode&&32!==t.keyCode||o(this).closest(".tagsdiv").find("input.newtag").trigger("focus"),tagBox.userAction="remove",tagBox.parseTags(this))}),e.prepend(" ").prepend(t)),i.append(e))}),tagBox.screenReadersMessage())},flushTags:function(t,e,a){var i,n,s=o(".the-tags",t),c=o("input.newtag",t);return void 0===(n=(e=e||!1)?o(e).text():c.val())||""===n||(i=s.val(),n=this.clean(n=i?i+r+n:n),n=array_unique_noempty(n.split(r)).join(r),s.val(n),this.quickClicks(t),e||c.val(""),void 0===a&&c.trigger("focus")),!1},get:function(a){var i=a.substr(a.indexOf("-")+1);o.post(ajaxurl,{action:"get-tagcloud",tax:i},function(t,e){0!==t&&"success"==e&&(t=o('<div id="tagcloud-'+i+'" class="the-tagcloud">'+t+"</div>"),o("a",t).on("click",function(){return tagBox.userAction="add",tagBox.flushTags(o("#"+i),this),!1}),o("#"+a).after(t))})},userAction:"",screenReadersMessage:function(){var t;switch(this.userAction){case"remove":t=wp.i18n.__("Term removed.");break;case"add":t=wp.i18n.__("Term added.");break;default:return}window.wp.a11y.speak(t,"assertive")},init:function(){var t=o("div.ajaxtag");o(".tagsdiv").each(function(){tagBox.quickClicks(this)}),o(".tagadd",t).on("click",function(){tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv"))}),o("input.newtag",t).on("keypress",function(t){13==t.which&&(tagBox.userAction="add",tagBox.flushTags(o(this).closest(".tagsdiv")),t.preventDefault(),t.stopPropagation())}).each(function(t,e){o(e).wpTagsSuggest()}),o("#post").on("submit",function(){o("div.tagsdiv").each(function(){tagBox.flushTags(this,!1,1)})}),o(".tagcloud-link").on("click",function(){tagBox.get(o(this).attr("id")),o(this).attr("aria-expanded","true").off().on("click",function(){o(this).attr("aria-expanded","false"===o(this).attr("aria-expanded")?"true":"false").siblings(".the-tagcloud").toggle()})})}}}(jQuery);
|
||||
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -339,15 +339,6 @@ switch ( $action ) {
|
||||
wp_save_nav_menu_items( $nav_menu_selected_id, absint( $_REQUEST['menu-item'] ) );
|
||||
}
|
||||
|
||||
// Set the menu_location value correctly for the newly created menu.
|
||||
foreach ( $menu_locations as $location => $id ) {
|
||||
if ( 0 === $id ) {
|
||||
$menu_locations[ $location ] = $nav_menu_selected_id;
|
||||
}
|
||||
}
|
||||
|
||||
set_theme_mod( 'nav_menu_locations', $menu_locations );
|
||||
|
||||
if ( isset( $_REQUEST['zero-menu-state'] ) || ! empty( $_POST['auto-add-pages'] ) ) {
|
||||
// If there are menu items, add them.
|
||||
wp_nav_menu_update_menu_items( $nav_menu_selected_id, $nav_menu_selected_title );
|
||||
@@ -1042,7 +1033,14 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<legend class="menu-settings-group-name howto"><?php _e( 'Display location' ); ?></legend>
|
||||
<?php
|
||||
foreach ( $locations as $location => $description ) :
|
||||
$checked = isset( $menu_locations[ $location ] ) && $menu_locations[ $location ] === $nav_menu_selected_id;
|
||||
$checked = false;
|
||||
|
||||
if ( isset( $menu_locations[ $location ] )
|
||||
&& 0 !== $nav_menu_selected_id
|
||||
&& $menu_locations[ $location ] === $nav_menu_selected_id
|
||||
) {
|
||||
$checked = true;
|
||||
}
|
||||
?>
|
||||
<div class="menu-settings-input checkbox-input">
|
||||
<input type="checkbox"<?php checked( $checked ); ?> name="menu-locations[<?php echo esc_attr( $location ); ?>]" id="locations-<?php echo esc_attr( $location ); ?>" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user