Compare commits
110 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1748dbad36 | ||
|
|
dfde902204 | ||
|
|
d62faec090 | ||
|
|
5bb7ee0fba | ||
|
|
f5446e9f65 | ||
|
|
7f80a3cb4e | ||
|
|
79d65f25db | ||
|
|
f28c97fa8c | ||
|
|
e5a1534aee | ||
|
|
1feee50c15 | ||
|
|
8b87e45e69 | ||
|
|
361bcac2b9 | ||
|
|
3c2e859ac7 | ||
|
|
9c065b7134 | ||
|
|
072d23667d | ||
|
|
5030de2e76 | ||
|
|
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,242 @@ 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 some security issues.' ),
|
||||
'5.7.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.7.10' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.7.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.7.9' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.7.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.7.8' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.7.7'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.7.7' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.7.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.7.6' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number. */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.7.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.5' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* 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 +316,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 +334,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 +357,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 +406,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 +421,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 +462,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;
|
||||
@@ -275,3 +581,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/' );
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -2722,6 +2722,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 +2978,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 +3765,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 {
|
||||
|
||||
@@ -622,6 +622,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";
|
||||
|
||||
@@ -735,6 +735,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(
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1052,7 +1052,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>';
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1269,7 +1269,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;
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -1658,8 +1658,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 ) {
|
||||
|
||||
@@ -599,6 +599,8 @@ Please click the following link to activate your user account:
|
||||
* Checks if the Authorize Application Password request is valid.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 6.2.0 Allow insecure HTTP connections for the local environment.
|
||||
* @since 6.3.2 Validates the success and reject URLs to prevent javascript pseudo protocol being executed.
|
||||
*
|
||||
* @param array $request {
|
||||
* The array of request data. All arguments are optional and may be empty.
|
||||
@@ -614,24 +616,22 @@ Please click the following link to activate your user account:
|
||||
function wp_is_authorize_application_password_request_valid( $request, $user ) {
|
||||
$error = new WP_Error();
|
||||
|
||||
if ( ! empty( $request['success_url'] ) ) {
|
||||
$scheme = wp_parse_url( $request['success_url'], PHP_URL_SCHEME );
|
||||
|
||||
if ( 'http' === $scheme ) {
|
||||
if ( isset( $request['success_url'] ) ) {
|
||||
$validated_success_url = wp_is_authorize_application_redirect_url_valid( $request['success_url'] );
|
||||
if ( is_wp_error( $validated_success_url ) ) {
|
||||
$error->add(
|
||||
'invalid_redirect_scheme',
|
||||
__( 'The success url must be served over a secure connection.' )
|
||||
$validated_success_url->get_error_code(),
|
||||
$validated_success_url->get_error_message()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! empty( $request['reject_url'] ) ) {
|
||||
$scheme = wp_parse_url( $request['reject_url'], PHP_URL_SCHEME );
|
||||
|
||||
if ( 'http' === $scheme ) {
|
||||
if ( isset( $request['reject_url'] ) ) {
|
||||
$validated_reject_url = wp_is_authorize_application_redirect_url_valid( $request['reject_url'] );
|
||||
if ( is_wp_error( $validated_reject_url ) ) {
|
||||
$error->add(
|
||||
'invalid_redirect_scheme',
|
||||
__( 'The rejection url must be served over a secure connection.' )
|
||||
$validated_reject_url->get_error_code(),
|
||||
$validated_reject_url->get_error_message()
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -660,3 +660,59 @@ function wp_is_authorize_application_password_request_valid( $request, $user ) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates the redirect URL protocol scheme. The protocol can be anything except http and javascript.
|
||||
*
|
||||
* @since 6.3.2
|
||||
*
|
||||
* @param string $url - The redirect URL to be validated.
|
||||
*
|
||||
* @return true|WP_Error True if the redirect URL is valid, a WP_Error object otherwise.
|
||||
*/
|
||||
function wp_is_authorize_application_redirect_url_valid( $url ) {
|
||||
$bad_protocols = array( 'javascript', 'data' );
|
||||
if ( empty( $url ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Based on https://www.rfc-editor.org/rfc/rfc2396#section-3.1
|
||||
$valid_scheme_regex = '/^[a-zA-Z][a-zA-Z0-9+.-]*:/';
|
||||
if ( ! preg_match( $valid_scheme_regex, $url ) ) {
|
||||
return new WP_Error(
|
||||
'invalid_redirect_url_format',
|
||||
__( 'Invalid URL format.' )
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the list of invalid protocols used in applications redirect URLs.
|
||||
*
|
||||
* @since 6.3.2
|
||||
*
|
||||
* @param string[] $bad_protocols Array of invalid protocols.
|
||||
* @param string $url The redirect URL to be validated.
|
||||
*/
|
||||
$invalid_protocols = array_map( 'strtolower', apply_filters( 'wp_authorize_application_redirect_url_invalid_protocols', $bad_protocols, $url ) );
|
||||
|
||||
$scheme = wp_parse_url( $url, PHP_URL_SCHEME );
|
||||
$host = wp_parse_url( $url, PHP_URL_HOST );
|
||||
$is_local = 'local' === wp_get_environment_type();
|
||||
|
||||
// validates if the proper URI format is applied to the $url
|
||||
if ( empty( $host ) || empty( $scheme ) || in_array( strtolower( $scheme ), $invalid_protocols, true ) ) {
|
||||
return new WP_Error(
|
||||
'invalid_redirect_url_format',
|
||||
__( 'Invalid URL format.' )
|
||||
);
|
||||
}
|
||||
|
||||
if ( 'http' === $scheme && ! $is_local ) {
|
||||
return new WP_Error(
|
||||
'invalid_redirect_scheme',
|
||||
__( 'The URL must be served over a secure connection.' )
|
||||
);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -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
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user