Compare commits
186 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f4376a60a | ||
|
|
27b938800e | ||
|
|
69e59764eb | ||
|
|
846b0a57b8 | ||
|
|
b8b7ffbff6 | ||
|
|
bf7dd76e5c | ||
|
|
d0d858094b | ||
|
|
5511ca94e4 | ||
|
|
b54a259fd6 | ||
|
|
1ec0f7a2b8 | ||
|
|
aec4191751 | ||
|
|
5699e355e6 | ||
|
|
cb253d5b75 | ||
|
|
c3117156fd | ||
|
|
4f24d124ac | ||
|
|
155c2ad271 | ||
|
|
2a920d0912 | ||
|
|
0211c38565 | ||
|
|
1bacd1446a | ||
|
|
abc5355d75 | ||
|
|
d289821488 | ||
|
|
d7a3ab3937 | ||
|
|
fea2ba3cd6 | ||
|
|
4c7427aa06 | ||
|
|
1c099d1604 | ||
|
|
e0fa795d49 | ||
|
|
6ebc722218 | ||
|
|
5ca57c3ba6 | ||
|
|
138f753da7 | ||
|
|
251c570d28 | ||
|
|
51d665a4a5 | ||
|
|
c17ad2c252 | ||
|
|
94e8b0b76b | ||
|
|
c33acf1903 | ||
|
|
ef17e2b3b8 | ||
|
|
f08a1c1302 | ||
|
|
ed63f9e30d | ||
|
|
2a4ac1ce68 | ||
|
|
5db18ede70 | ||
|
|
1ff333ca3b | ||
|
|
f2daa0b4e6 | ||
|
|
c046ee1abd | ||
|
|
5a48d3af8b | ||
|
|
41a7a8e581 | ||
|
|
c54c0ddbf4 | ||
|
|
8c5cdf2b39 | ||
|
|
6e7503eedc | ||
|
|
bcbb4f7808 | ||
|
|
4f99911c22 | ||
|
|
c656a7d373 | ||
|
|
5798a9e9ae | ||
|
|
1a13b0102b | ||
|
|
c1af867a7c | ||
|
|
5a4e8a9b94 | ||
|
|
bf1163226c | ||
|
|
cf43545c07 | ||
|
|
daf7cc8b30 | ||
|
|
ce6ffb6d25 | ||
|
|
cf61ff994d | ||
|
|
8b0e75a650 | ||
|
|
969ac61dc4 | ||
|
|
ed0c328547 | ||
|
|
22068f006c | ||
|
|
78c7ec883d | ||
|
|
551d27db59 | ||
|
|
98161af28f | ||
|
|
9c29274681 | ||
|
|
e8617fb3a5 | ||
|
|
8dc1cd00a1 | ||
|
|
8d5d807270 | ||
|
|
2fabb6d0e2 | ||
|
|
ce78b2a4fb | ||
|
|
22f3d4e600 | ||
|
|
4733856aee | ||
|
|
77b60a60a0 | ||
|
|
441a970ecd | ||
|
|
e684cc66cd | ||
|
|
acd952f9c7 | ||
|
|
f12b16a291 | ||
|
|
7e0de7a0e3 | ||
|
|
f5fff9f3f9 | ||
|
|
bacf919c26 | ||
|
|
600e9f1b49 | ||
|
|
e07088f06e | ||
|
|
f2f9b5e493 | ||
|
|
687f87a4e6 | ||
|
|
81a5ef373a | ||
|
|
5c4b703f38 | ||
|
|
43c3b11cee | ||
|
|
98c13fefb2 | ||
|
|
299bfe429c | ||
|
|
70a97d6789 | ||
|
|
0e1bc61b1f | ||
|
|
b67b8d56d9 | ||
|
|
e61cac5d13 | ||
|
|
fe1162e5f1 | ||
|
|
baf66f786a | ||
|
|
88e92019c3 | ||
|
|
df08ef2450 | ||
|
|
c3794cc9b3 | ||
|
|
18f8236b61 | ||
|
|
9cbfb359cb | ||
|
|
74ecd3d1f3 | ||
|
|
db42241c13 | ||
|
|
b6f03a6084 | ||
|
|
efc07abeb3 | ||
|
|
116a5c2fa7 | ||
|
|
5694c55375 | ||
|
|
3855756ad2 | ||
|
|
ebbfc7179c | ||
|
|
53cecfcd72 | ||
|
|
9a487ee432 | ||
|
|
f5f0032925 | ||
|
|
4d089ce55b | ||
|
|
38430b0533 | ||
|
|
74d49a9288 | ||
|
|
17b03600af | ||
|
|
1e85e502a0 | ||
|
|
e860e24b6e | ||
|
|
927e102a78 | ||
|
|
1df764bd45 | ||
|
|
b9f38d1aa8 | ||
|
|
bc85c9c739 | ||
|
|
f09c426ddd | ||
|
|
d873404562 | ||
|
|
9214ae47a6 | ||
|
|
0c064f4ed8 | ||
|
|
b6151949af | ||
|
|
0d0310bcd6 | ||
|
|
b39313803a | ||
|
|
d6980d1c0d | ||
|
|
575e4ef0db | ||
|
|
6ddc8affb1 | ||
|
|
c53ae0299a | ||
|
|
33c1c022e3 | ||
|
|
1b8d23ca29 | ||
|
|
97095d54c3 | ||
|
|
a624b1c967 | ||
|
|
3fd7c7eba1 | ||
|
|
873999207d | ||
|
|
96a453bca5 | ||
|
|
854cbe7cf1 | ||
|
|
73d78fbe90 | ||
|
|
a560559c37 | ||
|
|
9c4763f8c4 | ||
|
|
329a17f59a | ||
|
|
58e1032e13 | ||
|
|
d0b90431df | ||
|
|
8742490da7 | ||
|
|
9652a4916b | ||
|
|
9a51ff0799 | ||
|
|
4d1a6af1ba | ||
|
|
05eb0237ce | ||
|
|
a1e4485b61 | ||
|
|
6818f62d6a | ||
|
|
73f3896134 | ||
|
|
7fec14f382 | ||
|
|
ae8722f109 | ||
|
|
444cb81b45 | ||
|
|
dd5cb26de2 | ||
|
|
88c32598af | ||
|
|
902420b294 | ||
|
|
9c0dfce2ac | ||
|
|
8631cb86cf | ||
|
|
1bbe957cc3 | ||
|
|
c63e673361 | ||
|
|
14fa6a89ca | ||
|
|
dcf9711226 | ||
|
|
c959c32860 | ||
|
|
f6cbf30494 | ||
|
|
621f4f97e5 | ||
|
|
b5de2df420 | ||
|
|
0a65e04101 | ||
|
|
4ca40b65ec | ||
|
|
9501efd09f | ||
|
|
6ece312820 | ||
|
|
6b9501b9c7 | ||
|
|
a72eb16e91 | ||
|
|
1a6b25088a | ||
|
|
b4cc5d511b | ||
|
|
7eccc12e97 | ||
|
|
cf2852b778 | ||
|
|
15bf460317 | ||
|
|
beded541a7 | ||
|
|
8664f9f88b | ||
|
|
b42ec35de7 |
@@ -1,6 +1,6 @@
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2016 by the contributors
|
||||
Copyright 2011-2018 by the contributors
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
|
||||
<br /> Version 4.6
|
||||
</h1>
|
||||
<p style="text-align: center">Semantic Personal Publishing Platform</p>
|
||||
|
||||
|
||||
114
wp-activate.php
114
wp-activate.php
@@ -18,6 +18,50 @@ if ( !is_multisite() ) {
|
||||
die();
|
||||
}
|
||||
|
||||
$valid_error_codes = array( 'already_active', 'blog_taken' );
|
||||
|
||||
list( $activate_path ) = explode( '?', wp_unslash( $_SERVER['REQUEST_URI'] ) );
|
||||
$activate_cookie = 'wp-activate-' . COOKIEHASH;
|
||||
|
||||
$key = '';
|
||||
$result = null;
|
||||
|
||||
if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) {
|
||||
wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 );
|
||||
} elseif ( ! empty( $_GET['key'] ) ) {
|
||||
$key = $_GET['key'];
|
||||
} elseif ( ! empty( $_POST['key'] ) ) {
|
||||
$key = $_POST['key'];
|
||||
}
|
||||
|
||||
if ( $key ) {
|
||||
$redirect_url = remove_query_arg( 'key' );
|
||||
|
||||
if ( $redirect_url !== remove_query_arg( false ) ) {
|
||||
setcookie( $activate_cookie, $key, 0, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
|
||||
wp_safe_redirect( $redirect_url );
|
||||
exit;
|
||||
} else {
|
||||
$result = wpmu_activate_signup( $key );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $result === null && isset( $_COOKIE[ $activate_cookie ] ) ) {
|
||||
$key = $_COOKIE[ $activate_cookie ];
|
||||
$result = wpmu_activate_signup( $key );
|
||||
setcookie( $activate_cookie, ' ', time() - YEAR_IN_SECONDS, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
|
||||
}
|
||||
|
||||
if ( $result === null || ( is_wp_error( $result ) && 'invalid_key' === $result->get_error_code() ) ) {
|
||||
status_header( 404 );
|
||||
} elseif ( is_wp_error( $result ) ) {
|
||||
$error_code = $result->get_error_code();
|
||||
|
||||
if ( ! in_array( $error_code, $valid_error_codes ) ) {
|
||||
status_header( 400 );
|
||||
}
|
||||
}
|
||||
|
||||
if ( is_object( $wp_object_cache ) )
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
|
||||
@@ -67,13 +111,14 @@ function wpmu_activate_stylesheet() {
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
|
||||
add_action( 'wp_head', 'wp_sensitive_page_meta' );
|
||||
|
||||
get_header( 'wp-activate' );
|
||||
?>
|
||||
|
||||
<div id="signup-content" class="widecolumn">
|
||||
<div class="wp-activate-container">
|
||||
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
|
||||
<?php if ( ! $key ) { ?>
|
||||
|
||||
<h2><?php _e('Activation Key Required') ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
|
||||
@@ -87,43 +132,40 @@ get_header( 'wp-activate' );
|
||||
</form>
|
||||
|
||||
<?php } else {
|
||||
|
||||
$key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key'];
|
||||
$result = wpmu_activate_signup( $key );
|
||||
if ( is_wp_error($result) ) {
|
||||
if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
|
||||
$signup = $result->get_error_data();
|
||||
?>
|
||||
<h2><?php _e('Your account is now active!'); ?></h2>
|
||||
<?php
|
||||
echo '<p class="lead-in">';
|
||||
if ( $signup->domain . $signup->path == '' ) {
|
||||
printf(
|
||||
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
network_site_url( 'wp-login.php', 'login' ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: site URL, 2: site domain, 3: username, 4: user email, 5: lost password URL */
|
||||
__( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.' ),
|
||||
'http://' . $signup->domain,
|
||||
$signup->domain,
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
}
|
||||
echo '</p>';
|
||||
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes ) ) {
|
||||
$signup = $result->get_error_data();
|
||||
?>
|
||||
<h2><?php _e('Your account is now active!'); ?></h2>
|
||||
<?php
|
||||
echo '<p class="lead-in">';
|
||||
if ( $signup->domain . $signup->path == '' ) {
|
||||
printf(
|
||||
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
network_site_url( 'wp-login.php', 'login' ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
} else {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: site URL, 2: site domain, 3: username, 4: user email, 5: lost password URL */
|
||||
__( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.' ),
|
||||
'http://' . $signup->domain,
|
||||
$signup->domain,
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
}
|
||||
echo '</p>';
|
||||
} elseif ( $result === null || is_wp_error( $result ) ) {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<?php if ( is_wp_error( $result ) ) : ?>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
} else {
|
||||
$url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : '';
|
||||
$user = get_userdata( (int) $result['user_id'] );
|
||||
|
||||
@@ -9,11 +9,31 @@
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
if ( current_user_can( 'customize' ) ) {
|
||||
wp_enqueue_script( 'customize-loader' );
|
||||
if ( ! wp_is_mobile() ) {
|
||||
wp_enqueue_style( 'wp-mediaelement' );
|
||||
wp_enqueue_script( 'wp-mediaelement' );
|
||||
wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
|
||||
'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
|
||||
'pauseOtherPlayers' => '',
|
||||
) );
|
||||
}
|
||||
|
||||
$video_url = 'https://videopress.com/embed/scFdjVo6?hd=true';
|
||||
/**
|
||||
* Replaces the height and width attributes with values for full size.
|
||||
*
|
||||
* wp_video_shortcode() limits the width to 640px.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @ignore
|
||||
*
|
||||
* @param $output Video shortcode HTML output.
|
||||
* @return string Filtered HTML content to display video.
|
||||
*/
|
||||
function _wp_override_admin_video_width_limit( $output ) {
|
||||
return str_replace( array( '640', '384' ), array( '1050', '630' ), $output );
|
||||
}
|
||||
|
||||
$video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true';
|
||||
$locale = str_replace( '_', '-', get_locale() );
|
||||
list( $locale ) = explode( '-', $locale );
|
||||
if ( 'en' !== $locale ) {
|
||||
@@ -29,7 +49,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<div class="wrap about-wrap">
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s streamlines your workflow, whether you’re writing or building your site.' ), $display_version ); ?></div>
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
|
||||
<h2 class="nav-tab-wrapper wp-clearfix">
|
||||
@@ -38,63 +58,395 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="headline-feature feature-video" style="background-color:#191E23;">
|
||||
<div class="changelog point-releases">
|
||||
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.27'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.27' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.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( '4.6.26' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.25'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.25' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.24'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.24' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'4.6.23'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.23' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.22'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.22' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'4.6.21'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.21' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.20'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.20' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.19'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.19' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.18'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.18' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'4.6.17'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.17' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.16'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.16' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.15'
|
||||
);
|
||||
?>
|
||||
<?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( '4.6.15' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.6.14'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '4.6.14' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: WordPress version number */
|
||||
printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.13' );
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.13' );
|
||||
?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.6.12' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.12' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.11' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.11' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.6.10' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.10' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.9' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.9' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed one security issue.' ), '4.6.8' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.8' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.7' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.7' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.6' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.6' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _n( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.', 1 ), '4.6.5', number_format_i18n( 1 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.5' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.4' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.4' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.3' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.3' ); ?>
|
||||
</p>
|
||||
<p><?php printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.6.2' ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.2' ); ?>
|
||||
</p>
|
||||
<p><?php printf( _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.', 15 ), '4.6.1', number_format_i18n( 15 ) ); ?>
|
||||
<?php printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.6.1' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="headline-feature feature-video">
|
||||
<iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe>
|
||||
<script src="https://videopress.com/videopress-iframe.js"></script>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="feature-section two-col">
|
||||
<h2><?php _e( 'Editing Improvements' ); ?></h2>
|
||||
<div class="col">
|
||||
<img src="https://s.w.org/images/core/4.5/link-edit-560.png" alt="" srcset="https://s.w.org/images/core/4.5/link-edit-1000.png 1000w, https://s.w.org/images/core/4.5/link-edit-800.png 800w, https://s.w.org/images/core/4.5/link-edit-680.png 680w, https://s.w.org/images/core/4.5/link-edit-560.png 560w, https://s.w.org/images/core/4.5/link-edit-400.png 400w, https://s.w.org/images/core/4.5/link-edit-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Inline Linking' ); ?></h3>
|
||||
<p><?php _e( 'Stay focused on your writing with a less distracting interface that keeps you in place and allows you to easily link to your content.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<img src="https://s.w.org/images/core/4.5/formatting-560.png" alt="" srcset="https://s.w.org/images/core/4.5/formatting-1000.png 1000w, https://s.w.org/images/core/4.5/formatting-800.png 800w, https://s.w.org/images/core/4.5/formatting-680.png 680w, https://s.w.org/images/core/4.5/formatting-560.png 560w, https://s.w.org/images/core/4.5/formatting-400.png 400w, https://s.w.org/images/core/4.5/formatting-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Formatting Shortcuts' ); ?></h3>
|
||||
<p><?php _e( 'Do you enjoy using formatting shortcuts for lists and headings? Now they’re even more useful, with horizontal lines and <code><code></code>.' ); ?></p>
|
||||
</div>
|
||||
<div class="streamlined-updates feature-section one-col">
|
||||
<h2><?php _e( 'Streamlined Updates' ); ?></h2>
|
||||
<p><?php _e( 'Don’t lose your place: stay on the same page while you update, install, and delete your plugins and themes.' ); ?></p>
|
||||
<?php
|
||||
if ( ! wp_is_mobile() ) {
|
||||
add_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
|
||||
echo wp_video_shortcode( array(
|
||||
'mp4' => 'https://s.w.org/images/core/4.6/streamlined-updates.mp4',
|
||||
'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm',
|
||||
'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1',
|
||||
'loop' => true,
|
||||
'autoplay' => true,
|
||||
'width' => 1050,
|
||||
'height' => 630,
|
||||
'class' => 'wp-video-shortcode feature-video',
|
||||
) );
|
||||
remove_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
|
||||
} else {
|
||||
echo '<img src="https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/streamlined-updates-1664.png?v1 1664w, https://s.w.org/images/core/4.6/streamlined-updates-200.png?v1 200w, https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1 1057w, https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" />';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="native-fonts feature-section one-col">
|
||||
<h2><?php _e( 'Native Fonts' ); ?></h2>
|
||||
<p><?php _e( 'The WordPress dashboard now takes advantage of the fonts you already have, making it load faster and letting you feel more at home on whatever device you use.' ); ?></p>
|
||||
<img src="https://s.w.org/images/core/4.6/native-fonts-992.png?v1" alt="" srcset="https://cldup.com/Hqmo5VLb-E.png?v1 922w, https://s.w.org/images/core/4.6/native-fonts-200.png?v1 200w,https://s.w.org/images/core/4.6/native-fonts-371.png?v1 371w,https://s.w.org/images/core/4.6/native-fonts-510.png?v1 510w, https://s.w.org/images/core/4.6/native-fonts-560.png?v1 560w, https://s.w.org/images/core/4.6/native-fonts-781.png?v1 781w, https://s.w.org/images/core/4.6/native-fonts-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px"/>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="feature-section two-col">
|
||||
<h2><?php _e( 'Customization Improvements' ); ?></h2>
|
||||
<h2><?php _e( 'Editor Improvements' ); ?></h2>
|
||||
<div class="col">
|
||||
<img src="https://s.w.org/images/core/4.5/preview-icons-560.png" alt="" srcset="https://s.w.org/images/core/4.5/preview-icons-1000.png 1000w, https://s.w.org/images/core/4.5/preview-icons-800.png 800w, https://s.w.org/images/core/4.5/preview-icons-680.png 680w, https://s.w.org/images/core/4.5/preview-icons-560.png 560w, https://s.w.org/images/core/4.5/preview-icons-400.png 400w, https://s.w.org/images/core/4.5/preview-icons-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Live Responsive Previews' ); ?></h3>
|
||||
<p><?php _e( 'Make sure your site looks great on all screens!' ); ?>
|
||||
<?php
|
||||
if ( current_user_can( 'customize' ) ) {
|
||||
$customize_url = admin_url( 'customize.php' );
|
||||
printf(
|
||||
/* translators: %s: URL to customizer */
|
||||
__( 'Preview mobile, tablet, and desktop views directly in the <a href="%s" class="load-customize">customizer</a>.' ),
|
||||
esc_url( $customize_url )
|
||||
);
|
||||
} else {
|
||||
_e( 'Preview mobile, tablet, and desktop views directly in the customizer.' );
|
||||
}
|
||||
<img src="https://s.w.org/images/core/4.6/inline-link-checker-608.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/inline-link-checker-789.png?v1 789w, https://s.w.org/images/core/4.6/inline-link-checker-200.png?v1 200w, https://s.w.org/images/core/4.6/inline-link-checker-384.png?v1 384w, https://s.w.org/images/core/4.6/inline-link-checker-608.png?v1 608w, https://s.w.org/images/core/4.6/inline-link-checker-992.png?v1 992w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Inline Link Checker' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: Home URL appended with 'wordpress.org' */
|
||||
__( 'Ever accidentally made a link to %s? Now WordPress automatically checks to make sure you didn’t.' ),
|
||||
home_url( 'wordpress.org' )
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<img src="https://s.w.org/images/core/4.5/custom-logos-560.png" alt="" srcset="https://s.w.org/images/core/4.5/custom-logos-1000.png 1000w, https://s.w.org/images/core/4.5/custom-logos-800.png 800w, https://s.w.org/images/core/4.5/custom-logos-680.png 680w, https://s.w.org/images/core/4.5/custom-logos-560.png 560w, https://s.w.org/images/core/4.5/custom-logos-400.png 400w, https://s.w.org/images/core/4.5/custom-logos-280.png 280w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Custom Logos' ); ?></h3>
|
||||
<p><?php _e( 'Themes can now support logos for your business or brand.' ); ?>
|
||||
<?php
|
||||
if ( current_theme_supports( 'custom-logo' ) && current_user_can( 'customize' ) ) {
|
||||
printf(
|
||||
/* translators: %s: URL to Site Identity section of the customizer */
|
||||
__( 'Your theme supports custom logos! Try it out right now in the <a href="%s" class="load-customize">Site Identity</a> section of the customizer.' ),
|
||||
esc_url( add_query_arg( array( 'autofocus' => array( 'section' => 'title_tagline' ) ), $customize_url ) )
|
||||
);
|
||||
} else {
|
||||
_e( 'The Twenty Fifteen and Twenty Sixteen themes have been updated to support custom logos, which can be found in the Site Identity section of the customizer.' );
|
||||
}
|
||||
?></p>
|
||||
<img src="https://s.w.org/images/core/4.6/content-recovery-561.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/content-recovery-701.png?v1 701w, https://s.w.org/images/core/4.6/content-recovery-200.png?v1 200w, https://s.w.org/images/core/4.6/content-recovery-400.png?v1 400w, https://s.w.org/images/core/4.6/content-recovery-561.png?v1 561w, https://s.w.org/images/core/4.6/content-recovery-992.png?v1 992w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Content Recovery' ); ?></h3>
|
||||
<p><?php _e( 'As you type, WordPress saves your content to the browser. Recovering saved content is even easier with WordPress 4.6.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -105,80 +457,86 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
<div class="under-the-hood three-col">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Selective Refresh' ); ?></h3>
|
||||
<h3><?php _e( 'Resource Hints' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: URL to the development post of the new feature */
|
||||
__( 'The customizer now supports a <a href="%s">comprehensive framework</a> for rendering parts of the preview without rewriting your PHP code in JavaScript.' ),
|
||||
'https://make.wordpress.org/core/2016/02/16/selective-refresh-in-the-customizer/'
|
||||
/* translators: %s: https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/ */
|
||||
__( '<a href="%s">Resource hints help browsers</a> decide which resources to fetch and preprocess. WordPress 4.6 adds them automatically for your styles and scripts making your site even faster.' ),
|
||||
'https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/'
|
||||
);
|
||||
if ( current_user_can( 'customize' ) && current_user_can( 'edit_theme_options' ) ) {
|
||||
if ( current_theme_supports( 'menus' ) && ! current_theme_supports( 'customize-selective-refresh-widgets' ) ) {
|
||||
printf(
|
||||
/* translators: %s: URL to Menus section of the customizer */
|
||||
' ' . __( 'See it in action with <a href="%s" class="load-customize">Menus</a>.' ),
|
||||
esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $customize_url ) )
|
||||
);
|
||||
} elseif ( current_theme_supports( 'customize-selective-refresh-widgets' ) ) { // If widgets are supported, menus are also because of the menus widget.
|
||||
printf(
|
||||
/* translators: 1: URL to Menus section of the customizer, 2: URL to Widgets section of the customizer */
|
||||
' ' . __( 'See it in action with <a href="%1$s" class="load-customize">Menus</a> or <a href="%2$s" class="load-customize">Widgets</a>.' ),
|
||||
esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'nav_menus' ) ), $customize_url ) ),
|
||||
esc_url( add_query_arg( array( 'autofocus' => array( 'panel' => 'widgets' ) ), $customize_url ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Smart Image Resizing' ); ?></h3>
|
||||
<h3><?php _e( 'Robust Requests' ); ?></h3>
|
||||
<p><?php _e( 'The HTTP API now leverages the Requests library, improving HTTP standard support and adding case-insensitive headers, parallel HTTP requests, and support for Internationalized Domain Names.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php
|
||||
/* translators: 1: WP_Term_Query, 2: WP_Post_Type */
|
||||
printf( __( '%1$s and %2$s' ), '<code>WP_Term_Query</code>', '<code>WP_Post_Type</code>' );
|
||||
?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: URL to the development post of the new feature */
|
||||
__( 'Generated images now load up to 50% faster with no noticeable quality loss. <a href="%s">It’s really cool</a>.' ),
|
||||
'https://make.wordpress.org/core/2016/03/12/performance-improvements-for-images-in-wordpress-4-5/'
|
||||
/* translators: 1: WP_Term_Query, 2: WP_Post_Type */
|
||||
__( 'A new %1$s class adds flexibility to query term information while a new %2$s object makes interacting with post types more predictable.' ),
|
||||
'<code>WP_Term_Query</code>',
|
||||
'<code>WP_Post_Type</code>'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="under-the-hood three-col">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Meta Registration API' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/ */
|
||||
__( 'The Meta Registration API <a href="%s">has been expanded</a> to support types, descriptions, and REST API visibility.' ),
|
||||
'https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Translations On Demand' ); ?></h3>
|
||||
<p><?php _e( 'WordPress will install and use the newest language packs for your plugins and themes as soon as they’re available from <a href="https://translate.wordpress.org/">WordPress.org’s community of translators</a>.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'JavaScript Library Updates' ); ?></h3>
|
||||
<p><?php _e( 'jQuery 1.12.3, jQuery Migrate 1.4.0, Backbone 1.2.3, and Underscore 1.8.3 are bundled.' ); ?></p>
|
||||
<p><?php _e( 'Masonry 3.3.2, imagesLoaded 3.2.0, MediaElement.js 2.22.0, TinyMCE 4.4.1, and Backbone.js 1.3.3 are bundled.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="under-the-hood two-col">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Script Loader Improvements' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: wp_add_inline_script() */
|
||||
__( 'Better support has been added for script header/footer dependencies. New %s enables adding extra code to registered scripts.' ),
|
||||
'<code><a href="https://make.wordpress.org/core/2016/03/08/enhanced-script-loader-in-wordpress-4-5/">wp_add_inline_script()</a></code>'
|
||||
);
|
||||
?></p>
|
||||
<h3><?php _e( 'Customizer APIs for Setting Validation and Notifications' ); ?></h3>
|
||||
<p><?php _e( 'Settings now have an <a href="https://make.wordpress.org/core/2016/07/05/customizer-apis-in-4-6-for-setting-validation-and-notifications/">API for enforcing validation constraints</a>. Likewise, customizer controls now support notifications, which are used to display validation errors instead of failing silently.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Better Embed Templates' ); ?></h3>
|
||||
<h3><?php _e( 'Multisite, now faster than ever' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: URL to the development post of the new feature */
|
||||
__( 'Embed templates have been split into parts and can be <a href="%s">directly overridden by themes</a> via the template hierarchy.' ),
|
||||
'https://make.wordpress.org/core/2016/03/11/embeds-changes-in-wordpress-4-5/'
|
||||
/* translators: 1: WP_Site_Query, 2: WP_Network_Query */
|
||||
__( 'Cached and comprehensive site queries improve your network admin experience. The addition of %1$s and %2$s help craft advanced queries with less effort.' ),
|
||||
'<code>WP_Site_Query</code>',
|
||||
'<code>WP_Network_Query</code>'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="return-to-dashboard">
|
||||
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
|
||||
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
|
||||
<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?>
|
||||
</a> |
|
||||
<?php endif; ?>
|
||||
<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>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="return-to-dashboard">
|
||||
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
|
||||
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>">
|
||||
<?php is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard → Updates' ); ?>
|
||||
</a> |
|
||||
<?php endif; ?>
|
||||
<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
|
||||
|
||||
@@ -215,3 +573,15 @@ _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed
|
||||
|
||||
/* translators: %s: Codex 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/' );
|
||||
|
||||
@@ -70,13 +70,13 @@ wp_enqueue_script( 'svg-painter' );
|
||||
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
|
||||
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
|
||||
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
|
||||
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
|
||||
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
|
||||
@@ -32,7 +32,7 @@ if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['actio
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin.php' );
|
||||
|
||||
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
|
||||
header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) );
|
||||
|
||||
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
|
||||
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
|
||||
|
||||
@@ -20,7 +20,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s streamlines your workflow, whether you’re writing or building your site.' ), $display_version ); ?></div>
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
|
||||
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
|
||||
|
||||
@@ -88,10 +88,16 @@
|
||||
/* 1.1 - Typography */
|
||||
|
||||
.about-wrap p {
|
||||
line-height: 1.6em;
|
||||
line-height: 1.5;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section p {
|
||||
max-width: 38em;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.about-wrap h1 {
|
||||
margin: 0.2em 0 0 200px;
|
||||
padding: 0;
|
||||
@@ -109,17 +115,10 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .changelog h2,
|
||||
.about-wrap h3 {
|
||||
margin: 1.25em 0 .6em;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.about-wrap .changelog h2 {
|
||||
margin-top: 40px;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-wrap h4 {
|
||||
@@ -194,10 +193,19 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) {
|
||||
.about-wrap .under-the-hood:nth-of-type(2n),
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video .mejs-controls {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video .mejs-overlay-loading span {
|
||||
background: transparent; /* Hide loading.gif */
|
||||
}
|
||||
|
||||
/* 1.3 - Point Releases */
|
||||
|
||||
.about-wrap .point-releases {
|
||||
@@ -258,6 +266,11 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-wrap .streamlined-updates p,
|
||||
.about-wrap .native-fonts p {
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
/* 2.2 - Structure */
|
||||
|
||||
.about-wrap .headline-feature.feature-video {
|
||||
@@ -471,11 +484,13 @@
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) {
|
||||
.about-wrap .under-the-hood:nth-of-type(2n),
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) h4 {
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) h3,
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
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
@@ -88,10 +88,16 @@
|
||||
/* 1.1 - Typography */
|
||||
|
||||
.about-wrap p {
|
||||
line-height: 1.6em;
|
||||
line-height: 1.5;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section p {
|
||||
max-width: 38em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.about-wrap h1 {
|
||||
margin: 0.2em 200px 0 0;
|
||||
padding: 0;
|
||||
@@ -109,17 +115,10 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .changelog h2,
|
||||
.about-wrap h3 {
|
||||
margin: 1.25em 0 .6em;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.about-wrap .changelog h2 {
|
||||
margin-top: 40px;
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-wrap h4 {
|
||||
@@ -194,10 +193,19 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) {
|
||||
.about-wrap .under-the-hood:nth-of-type(2n),
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video .mejs-controls {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video .mejs-overlay-loading span {
|
||||
background: transparent; /* Hide loading.gif */
|
||||
}
|
||||
|
||||
/* 1.3 - Point Releases */
|
||||
|
||||
.about-wrap .point-releases {
|
||||
@@ -258,6 +266,11 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-wrap .streamlined-updates p,
|
||||
.about-wrap .native-fonts p {
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
/* 2.2 - Structure */
|
||||
|
||||
.about-wrap .headline-feature.feature-video {
|
||||
@@ -471,11 +484,13 @@
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) {
|
||||
.about-wrap .under-the-hood:nth-of-type(2n),
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) h4 {
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) h3,
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
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
2
wp-admin/css/admin-menu-rtl.min.css
vendored
2
wp-admin/css/admin-menu-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/admin-menu.min.css
vendored
2
wp-admin/css/admin-menu.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/color-picker-rtl.min.css
vendored
2
wp-admin/css/color-picker-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;display:inline-block;height:22px;margin:0 0 6px 6px;position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result{top:0}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
|
||||
2
wp-admin/css/color-picker.min.css
vendored
2
wp-admin/css/color-picker.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;display:inline-block;height:22px;margin:0 6px 6px 0;position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result{top:0}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
|
||||
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e3af55;
|
||||
border-color: #bd831f;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #bd831f;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d39323;
|
||||
border-color: #bd831f;
|
||||
-webkit-box-shadow: inset 0 2px 0 #bd831f;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cdc7 !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #bd831f !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #bd831f !important;
|
||||
box-shadow: 0 2px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #e2ecf1;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #096484;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e3af55;
|
||||
border-color: #bd831f;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #bd831f;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d39323;
|
||||
border-color: #bd831f;
|
||||
-webkit-box-shadow: inset 0 2px 0 #bd831f;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cdc7 !important;
|
||||
background: #db9925 !important;
|
||||
border-color: #bd831f !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #bd831f !important;
|
||||
box-shadow: 0 2px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #52accc;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #096484;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #e1a948;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #e2ecf1;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #096484;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #ccad93;
|
||||
border-color: #ae7d55;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #ae7d55;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #b78b66;
|
||||
border-color: #ae7d55;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1ccc7 !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ae7d55 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cdcbc9;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #c7a589;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #ccad93;
|
||||
border-color: #ae7d55;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #ae7d55;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #b78b66;
|
||||
border-color: #ae7d55;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1ccc7 !important;
|
||||
background: #ba906d !important;
|
||||
border-color: #ae7d55 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #59524c;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #c7a589;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #9ea476;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cdcbc9;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #c7a589;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a9bd4f;
|
||||
border-color: #727f30;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #727f30;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #829237;
|
||||
border-color: #727f30;
|
||||
-webkit-box-shadow: inset 0 2px 0 #727f30;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #cfd1c7 !important;
|
||||
background: #89993a !important;
|
||||
border-color: #727f30 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #727f30 !important;
|
||||
box-shadow: 0 2px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #ece6f6;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cbc5d3;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #a3b745;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a9bd4f;
|
||||
border-color: #727f30;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #727f30;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #829237;
|
||||
border-color: #727f30;
|
||||
-webkit-box-shadow: inset 0 2px 0 #727f30;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #cfd1c7 !important;
|
||||
background: #89993a !important;
|
||||
border-color: #727f30 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #727f30 !important;
|
||||
box-shadow: 0 2px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #523f6d;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #a3b745;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d46f15;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #ece6f6;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #cbc5d3;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #a3b745;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #04b0db;
|
||||
border-color: #036881;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #036881;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #037c9a;
|
||||
border-color: #036881;
|
||||
-webkit-box-shadow: inset 0 2px 0 #036881;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7cfd1 !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #036881 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #036881 !important;
|
||||
box-shadow: 0 2px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
|
||||
box-shadow: inset 0 3px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #999;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #686868;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -541,4 +525,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #04a4cc;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #04b0db;
|
||||
border-color: #036881;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #036881;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #037c9a;
|
||||
border-color: #036881;
|
||||
-webkit-box-shadow: inset 0 2px 0 #036881;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7cfd1 !important;
|
||||
background: #0384a4 !important;
|
||||
border-color: #036881 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #036881 !important;
|
||||
box-shadow: 0 2px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
|
||||
box-shadow: inset 0 3px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #e5e5e5;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #d64e07;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #999;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #686868;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -541,4 +525,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e35950;
|
||||
border-color: #ba281e;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #ba281e;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d02c21;
|
||||
border-color: #ba281e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ba281e;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1c8c7 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #ba281e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ba281e !important;
|
||||
box-shadow: 0 2px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #c3c4c5;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #e14d43;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e35950;
|
||||
border-color: #ba281e;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #ba281e;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d02c21;
|
||||
border-color: #ba281e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ba281e;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1c8c7 !important;
|
||||
background: #d92e23 !important;
|
||||
border-color: #ba281e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ba281e !important;
|
||||
box-shadow: 0 2px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #363b3f;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #e14d43;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #69a8bb;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #c3c4c5;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #e14d43;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a7c0a9;
|
||||
border-color: #719a74;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #719a74;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #80a583;
|
||||
border-color: #719a74;
|
||||
-webkit-box-shadow: inset 0 2px 0 #719a74;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7d1c8 !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #719a74 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #719a74 !important;
|
||||
box-shadow: 0 2px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f2fcff;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #d5dde0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #9ebaa0;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a7c0a9;
|
||||
border-color: #719a74;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #719a74;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #80a583;
|
||||
border-color: #719a74;
|
||||
-webkit-box-shadow: inset 0 2px 0 #719a74;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #c7d1c8 !important;
|
||||
background: #86a989 !important;
|
||||
border-color: #719a74 !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #719a74 !important;
|
||||
box-shadow: 0 2px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #738e96;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #9ebaa0;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #aa9d88;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f2fcff;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #d5dde0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #9ebaa0;
|
||||
}
|
||||
}
|
||||
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
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #df8a48;
|
||||
border-color: #ad5d1e;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #ad5d1e;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #c36922;
|
||||
border-color: #ad5d1e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cbc7 !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #ad5d1e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #f1c8c7;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #dd823b;
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ html {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -31,8 +30,8 @@ input[type=radio]:checked:before {
|
||||
background: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui input[type="reset"]:hover,
|
||||
.wp-core-ui input[type="reset"]:active {
|
||||
.wp-core-ui input[type=reset]:hover,
|
||||
.wp-core-ui input[type=reset]:active {
|
||||
color: #0096dd;
|
||||
}
|
||||
|
||||
@@ -45,7 +44,6 @@ input[type=radio]:checked:before {
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #df8a48;
|
||||
border-color: #ad5d1e;
|
||||
@@ -53,63 +51,51 @@ input[type=radio]:checked:before {
|
||||
-webkit-box-shadow: 0 1px 0 #ad5d1e;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #c36922;
|
||||
border-color: #ad5d1e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||
color: #d1cbc7 !important;
|
||||
background: #cc6d23 !important;
|
||||
border-color: #ad5d1e !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-primary {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-primary {
|
||||
color: #cf4944;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-highlight {
|
||||
color: #fff;
|
||||
background-color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-highlight {
|
||||
color: #dd823b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-notification {
|
||||
color: #fff;
|
||||
background-color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-notification {
|
||||
color: #ccaf0b;
|
||||
}
|
||||
|
||||
.wp-core-ui .wp-ui-text-icon {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
@@ -191,7 +177,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||
color: #f1c8c7;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||
@@ -210,7 +195,6 @@ input[type=radio]:checked:before {
|
||||
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||
@@ -523,4 +507,4 @@ div#wp-responsive-toggle a:before {
|
||||
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||
background: #dd823b;
|
||||
}
|
||||
}
|
||||
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
@@ -1308,6 +1308,10 @@ div.error {
|
||||
padding: 1px 12px;
|
||||
}
|
||||
|
||||
div[class="update-message"] { /* back-compat for pre-4.6 */
|
||||
padding: 0.5em 0 0.5em 12px;
|
||||
}
|
||||
|
||||
.notice p,
|
||||
.notice-title,
|
||||
div.updated p,
|
||||
@@ -1669,7 +1673,7 @@ form.upgrade .hint {
|
||||
|
||||
.toggle-arrow {
|
||||
background-repeat: no-repeat;
|
||||
background-position: top left;
|
||||
background-position: top right;
|
||||
background-color: transparent;
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
@@ -1677,7 +1681,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
.toggle-arrow-active {
|
||||
background-position: bottom left;
|
||||
background-position: bottom right;
|
||||
}
|
||||
|
||||
#screen-options-wrap h5, /* Back-compat for old plugins */
|
||||
@@ -2399,11 +2403,11 @@ div.star-holder {
|
||||
position: relative;
|
||||
height: 17px;
|
||||
width: 100px;
|
||||
background: url(../images/stars.png?ver=20121108) repeat-x bottom left;
|
||||
background: url(../images/stars.png?ver=20121108) repeat-x bottom right;
|
||||
}
|
||||
|
||||
div.star-holder .star-rating {
|
||||
background: url(../images/stars.png?ver=20121108) repeat-x top left;
|
||||
background: url(../images/stars.png?ver=20121108) repeat-x top right;
|
||||
height: 17px;
|
||||
float: right;
|
||||
}
|
||||
@@ -2439,9 +2443,9 @@ div.star-holder .star-rating {
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
-webkit-transform: rotateY(180deg);
|
||||
-ms-transform: rotateY(180deg);
|
||||
transform: rotateY(180deg);
|
||||
-webkit-transform: rotateY(-180deg);
|
||||
-ms-transform: rotateY(-180deg);
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
|
||||
.star-rating .star-empty:before {
|
||||
@@ -3024,7 +3028,8 @@ img {
|
||||
|
||||
/* Metabox collapse arrow indicators */
|
||||
.js .sidebar-name .sidebar-name-arrow:before,
|
||||
.js .meta-box-sortables .postbox .toggle-indicator:before {
|
||||
.js .meta-box-sortables .postbox .toggle-indicator:before,
|
||||
.bulk-action-notice .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
@@ -3035,7 +3040,8 @@ img {
|
||||
}
|
||||
|
||||
.js .widgets-holder-wrap.closed .sidebar-name-arrow:before,
|
||||
.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before {
|
||||
.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before,
|
||||
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator:before {
|
||||
content: "\f140";
|
||||
}
|
||||
|
||||
@@ -3065,6 +3071,12 @@ img {
|
||||
text-indent: 1px; /* account for the dashicon alignment */
|
||||
}
|
||||
|
||||
.bulk-action-notice .toggle-indicator:before {
|
||||
line-height: 16px;
|
||||
vertical-align: top;
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
.js .postbox .handlediv:focus {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
@@ -3506,7 +3518,7 @@ img {
|
||||
/* Back-compat for pre-3.8 */
|
||||
div.star-holder,
|
||||
div.star-holder .star-rating {
|
||||
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;
|
||||
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom right;
|
||||
-webkit-background-size: 21px 37px;
|
||||
background-size: 21px 37px;
|
||||
}
|
||||
|
||||
4
wp-admin/css/common-rtl.min.css
vendored
4
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1308,6 +1308,10 @@ div.error {
|
||||
padding: 1px 12px;
|
||||
}
|
||||
|
||||
div[class="update-message"] { /* back-compat for pre-4.6 */
|
||||
padding: 0.5em 12px 0.5em 0;
|
||||
}
|
||||
|
||||
.notice p,
|
||||
.notice-title,
|
||||
div.updated p,
|
||||
@@ -3024,7 +3028,8 @@ img {
|
||||
|
||||
/* Metabox collapse arrow indicators */
|
||||
.js .sidebar-name .sidebar-name-arrow:before,
|
||||
.js .meta-box-sortables .postbox .toggle-indicator:before {
|
||||
.js .meta-box-sortables .postbox .toggle-indicator:before,
|
||||
.bulk-action-notice .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
@@ -3035,7 +3040,8 @@ img {
|
||||
}
|
||||
|
||||
.js .widgets-holder-wrap.closed .sidebar-name-arrow:before,
|
||||
.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before {
|
||||
.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before,
|
||||
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator:before {
|
||||
content: "\f140";
|
||||
}
|
||||
|
||||
@@ -3065,6 +3071,12 @@ img {
|
||||
text-indent: 1px; /* account for the dashicon alignment */
|
||||
}
|
||||
|
||||
.bulk-action-notice .toggle-indicator:before {
|
||||
line-height: 16px;
|
||||
vertical-align: top;
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
.js .postbox .handlediv:focus {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
|
||||
4
wp-admin/css/common.min.css
vendored
4
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/customize-controls-rtl.min.css
vendored
2
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -16,8 +16,22 @@
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* The `edit-menu` button uses also the `button-link` class. */
|
||||
.customize-control-nav_menu_location .edit-menu {
|
||||
margin-top: 1px;
|
||||
margin-right: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 28px;
|
||||
color: #0073aa;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_location .edit-menu:hover,
|
||||
.customize-control-nav_menu_location .edit-menu:active {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_location .edit-menu:focus {
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-bar .menu-item-handle,
|
||||
|
||||
2
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
2
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -16,8 +16,22 @@
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* The `edit-menu` button uses also the `button-link` class. */
|
||||
.customize-control-nav_menu_location .edit-menu {
|
||||
margin-top: 1px;
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 28px;
|
||||
color: #0073aa;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_location .edit-menu:hover,
|
||||
.customize-control-nav_menu_location .edit-menu:active {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_location .edit-menu:focus {
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-bar .menu-item-handle,
|
||||
|
||||
2
wp-admin/css/customize-nav-menus.min.css
vendored
2
wp-admin/css/customize-nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
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
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
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
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
@@ -108,19 +108,19 @@ th {
|
||||
/* specific to the image upload form */
|
||||
|
||||
.image-align-none-label {
|
||||
background: url(../images/align-none.png) no-repeat center left;
|
||||
background: url(../images/align-none.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-left-label {
|
||||
background: url(../images/align-left.png) no-repeat center left;
|
||||
background: url(../images/align-left.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-center-label {
|
||||
background: url(../images/align-center.png) no-repeat center left;
|
||||
background: url(../images/align-center.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-right-label {
|
||||
background: url(../images/align-right.png) no-repeat center left;
|
||||
background: url(../images/align-right.png) no-repeat center right;
|
||||
}
|
||||
|
||||
tr.image-size td {
|
||||
|
||||
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
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
@@ -349,7 +349,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#content-resize-handle {
|
||||
background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
|
||||
background: transparent url(../images/resize.gif) no-repeat scroll left bottom;
|
||||
width: 12px;
|
||||
cursor: row-resize;
|
||||
}
|
||||
@@ -1300,7 +1300,7 @@ table.links-table {
|
||||
(min-resolution: 120dpi) {
|
||||
#content-resize-handle,
|
||||
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
|
||||
background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
|
||||
background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;
|
||||
-webkit-background-size: 11px 11px;
|
||||
background-size: 11px 11px;
|
||||
}
|
||||
|
||||
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
2
wp-admin/css/edit.min.css
vendored
2
wp-admin/css/edit.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/forms-rtl.min.css
vendored
2
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/forms.min.css
vendored
2
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/ie-rtl.min.css
vendored
2
wp-admin/css/ie-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/ie.min.css
vendored
2
wp-admin/css/ie.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/install-rtl.min.css
vendored
2
wp-admin/css/install-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/install.min.css
vendored
2
wp-admin/css/install.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/l10n-rtl.min.css
vendored
2
wp-admin/css/l10n-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:600}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-right:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}}
|
||||
body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:600}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-right:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-left:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-right:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-right:0}}
|
||||
2
wp-admin/css/l10n.min.css
vendored
2
wp-admin/css/l10n.min.css
vendored
@@ -1 +1 @@
|
||||
.locale-he-il em,.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button,.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-weight:600}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-left:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}}
|
||||
body.rtl,body.rtl .press-this a.wp-switch-editor{font-family:Tahoma,Arial,sans-serif}.rtl h1,.rtl h2,.rtl h3,.rtl h4,.rtl h5,.rtl h6{font-family:Arial,sans-serif;font-weight:600}body.locale-he-il,body.locale-he-il .press-this a.wp-switch-editor{font-family:Arial,sans-serif}.locale-he-il em{font-style:normal;font-weight:600}.locale-zh-cn #local-time,.locale-zh-cn #utc-time,.locale-zh-cn .form-wrap p,.locale-zh-cn .howto,.locale-zh-cn .inline-edit-row fieldset span.checkbox-title,.locale-zh-cn .inline-edit-row fieldset span.title,.locale-zh-cn .js .input-with-default-title,.locale-zh-cn .link-to-original,.locale-zh-cn .tablenav .displaying-num,.locale-zh-cn p.description,.locale-zh-cn p.help,.locale-zh-cn p.install-help,.locale-zh-cn span.description{font-style:normal}.locale-zh-cn .hdnle a{font-size:12px}.locale-zh-cn form.upgrade .hint{font-style:normal;font-size:100%}.locale-zh-cn #sort-buttons{font-size:1em!important}.locale-de-de #customize-header-actions .button,.locale-de-de-formal #customize-header-actions .button{padding:0 5px 1px}.locale-de-de #customize-header-actions .spinner,.locale-de-de-formal #customize-header-actions .spinner{margin:16px 3px 0}.locale-ru-ru #adminmenu{width:inherit}.locale-ru-ru #adminmenu,.locale-ru-ru #wpbody{margin-left:0}.locale-ru-ru .inline-edit-row fieldset label span.title,.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}.locale-ru-ru.post-new-php .tagsdiv .newtag,.locale-ru-ru.post-php .tagsdiv .newtag{width:165px}.locale-ru-ru.press-this .posting{margin-right:277px}.locale-ru-ru .press-this-sidebar{width:265px}.locale-ru-ru #customize-header-actions .button{padding:0 5px 1px}.locale-ru-ru #customize-header-actions .spinner{margin:16px 3px 0}.locale-lt-lt .inline-edit-row fieldset label span.title,.locale-lt-lt .inline-edit-row fieldset.inline-edit-date legend{width:8em}.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap{margin-left:8em}@media screen and (max-width:782px){.locale-lt-lt .inline-edit-row fieldset .timestamp-wrap,.locale-lt-lt .inline-edit-row fieldset label span.input-text-wrap,.locale-ru-ru .inline-edit-row fieldset .timestamp-wrap,.locale-ru-ru .inline-edit-row fieldset label span.input-text-wrap{margin-left:0}}
|
||||
@@ -1350,7 +1350,8 @@ ul.cat-checklist {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.plugins .plugin-update-tr .notice {
|
||||
.plugins .plugin-update-tr .notice,
|
||||
.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */
|
||||
margin: 5px 40px 15px 20px;
|
||||
}
|
||||
|
||||
|
||||
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
@@ -1350,7 +1350,8 @@ ul.cat-checklist {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.plugins .plugin-update-tr .notice {
|
||||
.plugins .plugin-update-tr .notice,
|
||||
.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */
|
||||
margin: 5px 20px 15px 40px;
|
||||
}
|
||||
|
||||
|
||||
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
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
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
2
wp-admin/css/media-rtl.min.css
vendored
2
wp-admin/css/media-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/media.min.css
vendored
2
wp-admin/css/media.min.css
vendored
File diff suppressed because one or more lines are too long
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
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
2
wp-admin/css/press-this-editor-rtl.min.css
vendored
2
wp-admin/css/press-this-editor-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
embed,iframe,img,object{max-width:100%}a,a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-right:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{height:auto}body{color:#404040;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-weight:400;line-height:1.6}@media (max-width:640px){body{font-size:16px}}@media (max-width:320px){body{margin:0 15px}}#tinymce b,#tinymce strong{font-weight:700!important}blockquote{margin:1em 1.5em;color:#9ea7af;font-size:em(25px);font-style:italic}@media (max-width:900px){body#tinymce{padding-top:30px!important}blockquote{margin:1.5em 1em}}ol,ul{margin:0 .75em 1.5em 0}
|
||||
a{color:#0073aa}a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ol,ul{margin:0 3em 1.5em 0}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-right:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{max-width:100%;height:auto}embed,iframe,object{max-width:100%}body{color:#404040;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-weight:400;line-height:1.6}@media (max-width:900px){body#tinymce{padding-top:30px!important}}@media (max-width:640px){body{font-size:16px}}@media (max-width:320px){body{margin:0 15px}}#tinymce b,#tinymce strong{font-weight:700!important}blockquote{margin:1em 1.5em;color:#9ea7af;font-size:em(25px);font-style:italic}@media (max-width:900px){blockquote{margin:1.5em 1em}}ol,ul{margin:0 .75em 1.5em 0}
|
||||
2
wp-admin/css/press-this-editor.min.css
vendored
2
wp-admin/css/press-this-editor.min.css
vendored
@@ -1 +1 @@
|
||||
embed,iframe,img,object{max-width:100%}a,a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{height:auto}body{color:#404040;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-weight:400;line-height:1.6}@media (max-width:640px){body{font-size:16px}}@media (max-width:320px){body{margin:0 15px}}#tinymce b,#tinymce strong{font-weight:700!important}blockquote{margin:1em 1.5em;color:#9ea7af;font-size:em(25px);font-style:italic}@media (max-width:900px){body#tinymce{padding-top:30px!important}blockquote{margin:1.5em 1em}}ol,ul{margin:0 0 1.5em .75em}
|
||||
a{color:#0073aa}a:visited{color:#0073aa}a:active,a:focus,a:hover{color:#00a0d2}ol,ul{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{max-width:100%;height:auto}embed,iframe,object{max-width:100%}body{color:#404040;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-weight:400;line-height:1.6}@media (max-width:900px){body#tinymce{padding-top:30px!important}}@media (max-width:640px){body{font-size:16px}}@media (max-width:320px){body{margin:0 15px}}#tinymce b,#tinymce strong{font-weight:700!important}blockquote{margin:1em 1.5em;color:#9ea7af;font-size:em(25px);font-style:italic}@media (max-width:900px){blockquote{margin:1.5em 1em}}ol,ul{margin:0 0 1.5em .75em}
|
||||
2
wp-admin/css/press-this-rtl.min.css
vendored
2
wp-admin/css/press-this-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/press-this.min.css
vendored
2
wp-admin/css/press-this.min.css
vendored
File diff suppressed because one or more lines are too long
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
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
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
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
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
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
@@ -464,6 +464,7 @@ if ( current_theme_supports( 'custom-background', 'default-color' ) )
|
||||
* @deprecated 3.5.0
|
||||
*/
|
||||
public function wp_set_background_image() {
|
||||
check_ajax_referer( 'custom-background' );
|
||||
if ( ! current_user_can('edit_theme_options') || ! isset( $_POST['attachment_id'] ) ) exit;
|
||||
$attachment_id = absint($_POST['attachment_id']);
|
||||
/** This filter is documented in wp-admin/includes/media.php */
|
||||
|
||||
@@ -326,7 +326,7 @@ class Custom_Image_Header {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
var default_color = '<?php echo $default_color; ?>',
|
||||
var default_color = '<?php echo esc_js( $default_color ); ?>',
|
||||
header_text_fields;
|
||||
|
||||
function pickColor(color) {
|
||||
|
||||
@@ -132,7 +132,7 @@ do_action( 'customize_controls_print_scripts' );
|
||||
<div id="customize-info" class="accordion-section customize-info">
|
||||
<div class="accordion-section-title">
|
||||
<span class="preview-notice"><?php
|
||||
echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name' ) . '</strong>' );
|
||||
echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
|
||||
?></span>
|
||||
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
|
||||
</div>
|
||||
|
||||
@@ -74,12 +74,12 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
||||
<div id="message" class="updated">
|
||||
<p><strong><?php echo $message; ?></strong></p>
|
||||
<?php if ( $wp_http_referer ) { ?>
|
||||
<p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php
|
||||
<p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>"><?php
|
||||
/* translators: %s: taxonomy name */
|
||||
printf( _x( '← Back to %s', 'admin screen' ), $tax->labels->name );
|
||||
?></a></p>
|
||||
<?php } else { ?>
|
||||
<p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php
|
||||
<p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( wp_get_referer() ) ) ); ?>"><?php
|
||||
/* translators: %s: taxonomy name */
|
||||
printf( _x( '← Back to %s', 'admin screen' ), $tax->labels->name );
|
||||
?></a></p>
|
||||
|
||||
@@ -19,7 +19,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<div class="about-text"><?php printf( __( 'Thank you for updating! WordPress %s streamlines your workflow, whether you’re writing or building your site.' ), $display_version ); ?></div>
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
|
||||
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
|
||||
|
||||
@@ -1025,6 +1025,8 @@ function wp_ajax_replyto_comment( $action ) {
|
||||
if ( wp_create_nonce( 'unfiltered-html-comment' ) != $_POST['_wp_unfiltered_html_comment'] ) {
|
||||
kses_remove_filters(); // start with a clean slate
|
||||
kses_init_filters(); // set up the filters
|
||||
remove_filter( 'pre_comment_content', 'wp_filter_post_kses' );
|
||||
add_filter( 'pre_comment_content', 'wp_filter_kses' );
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -2020,7 +2022,7 @@ function wp_ajax_upload_attachment() {
|
||||
'success' => false,
|
||||
'data' => array(
|
||||
'message' => __( 'Sorry, you are not allowed to upload files.' ),
|
||||
'filename' => $_FILES['async-upload']['name'],
|
||||
'filename' => esc_html( $_FILES['async-upload']['name'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2034,7 +2036,7 @@ function wp_ajax_upload_attachment() {
|
||||
'success' => false,
|
||||
'data' => array(
|
||||
'message' => __( "You don't have permission to attach files to this post." ),
|
||||
'filename' => $_FILES['async-upload']['name'],
|
||||
'filename' => esc_html( $_FILES['async-upload']['name'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2044,7 +2046,11 @@ function wp_ajax_upload_attachment() {
|
||||
$post_id = null;
|
||||
}
|
||||
|
||||
$post_data = isset( $_REQUEST['post_data'] ) ? $_REQUEST['post_data'] : array();
|
||||
$post_data = ! empty( $_REQUEST['post_data'] ) ? _wp_get_allowed_postdata( _wp_translate_postdata( false, (array) $_REQUEST['post_data'] ) ) : array();
|
||||
|
||||
if ( is_wp_error( $post_data ) ) {
|
||||
wp_die( $post_data->get_error_message() );
|
||||
}
|
||||
|
||||
// If the context is custom header or background, make sure the uploaded file is an image.
|
||||
if ( isset( $post_data['context'] ) && in_array( $post_data['context'], array( 'custom-header', 'custom-background' ) ) ) {
|
||||
@@ -2054,7 +2060,7 @@ function wp_ajax_upload_attachment() {
|
||||
'success' => false,
|
||||
'data' => array(
|
||||
'message' => __( 'The uploaded file is not a valid image. Please try again.' ),
|
||||
'filename' => $_FILES['async-upload']['name'],
|
||||
'filename' => esc_html( $_FILES['async-upload']['name'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2069,7 +2075,7 @@ function wp_ajax_upload_attachment() {
|
||||
'success' => false,
|
||||
'data' => array(
|
||||
'message' => $attachment_id->get_error_message(),
|
||||
'filename' => $_FILES['async-upload']['name'],
|
||||
'filename' => esc_html( $_FILES['async-upload']['name'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2205,6 +2211,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 ) {
|
||||
@@ -3042,13 +3052,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 {
|
||||
@@ -3345,16 +3371,25 @@ function wp_ajax_install_theme() {
|
||||
wp_send_json_error( $status );
|
||||
}
|
||||
|
||||
$upgrader = new Theme_Upgrader( new Automatic_Upgrader_Skin() );
|
||||
$skin = new WP_Ajax_Upgrader_Skin();
|
||||
$upgrader = new Theme_Upgrader( $skin );
|
||||
$result = $upgrader->install( $api->download_link );
|
||||
|
||||
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
|
||||
$status['debug'] = $upgrader->skin->get_upgrade_messages();
|
||||
$status['debug'] = $skin->get_upgrade_messages();
|
||||
}
|
||||
|
||||
if ( is_wp_error( $result ) ) {
|
||||
$status['errorCode'] = $result->get_error_code();
|
||||
$status['errorMessage'] = $result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( is_wp_error( $skin->result ) ) {
|
||||
$status['errorCode'] = $skin->result->get_error_code();
|
||||
$status['errorMessage'] = $skin->result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( $skin->get_errors()->get_error_code() ) {
|
||||
$status['errorMessage'] = $skin->get_error_messages();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( is_null( $result ) ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
@@ -3437,14 +3472,22 @@ function wp_ajax_update_theme() {
|
||||
wp_update_themes();
|
||||
}
|
||||
|
||||
$upgrader = new Theme_Upgrader( new Automatic_Upgrader_Skin() );
|
||||
$skin = new WP_Ajax_Upgrader_Skin();
|
||||
$upgrader = new Theme_Upgrader( $skin );
|
||||
$result = $upgrader->bulk_upgrade( array( $stylesheet ) );
|
||||
|
||||
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
|
||||
$status['debug'] = $upgrader->skin->get_upgrade_messages();
|
||||
$status['debug'] = $skin->get_upgrade_messages();
|
||||
}
|
||||
|
||||
if ( is_array( $result ) && ! empty( $result[ $stylesheet ] ) ) {
|
||||
if ( is_wp_error( $skin->result ) ) {
|
||||
$status['errorCode'] = $skin->result->get_error_code();
|
||||
$status['errorMessage'] = $skin->result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( $skin->get_errors()->get_error_code() ) {
|
||||
$status['errorMessage'] = $skin->get_error_messages();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( is_array( $result ) && ! empty( $result[ $stylesheet ] ) ) {
|
||||
|
||||
// Theme is already at the latest version.
|
||||
if ( true === $result[ $stylesheet ] ) {
|
||||
@@ -3458,10 +3501,6 @@ function wp_ajax_update_theme() {
|
||||
}
|
||||
|
||||
wp_send_json_success( $status );
|
||||
} elseif ( is_wp_error( $upgrader->skin->result ) ) {
|
||||
$status['errorCode'] = $upgrader->skin->result->get_error_code();
|
||||
$status['errorMessage'] = $upgrader->skin->result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( false === $result ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
@@ -3594,16 +3633,25 @@ function wp_ajax_install_plugin() {
|
||||
|
||||
$status['pluginName'] = $api->name;
|
||||
|
||||
$upgrader = new Plugin_Upgrader( new Automatic_Upgrader_Skin() );
|
||||
$skin = new WP_Ajax_Upgrader_Skin();
|
||||
$upgrader = new Plugin_Upgrader( $skin );
|
||||
$result = $upgrader->install( $api->download_link );
|
||||
|
||||
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
|
||||
$status['debug'] = $upgrader->skin->get_upgrade_messages();
|
||||
$status['debug'] = $skin->get_upgrade_messages();
|
||||
}
|
||||
|
||||
if ( is_wp_error( $result ) ) {
|
||||
$status['errorCode'] = $result->get_error_code();
|
||||
$status['errorMessage'] = $result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( is_wp_error( $skin->result ) ) {
|
||||
$status['errorCode'] = $skin->result->get_error_code();
|
||||
$status['errorMessage'] = $skin->result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( $skin->get_errors()->get_error_code() ) {
|
||||
$status['errorMessage'] = $skin->get_error_messages();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( is_null( $result ) ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
@@ -3680,19 +3728,22 @@ function wp_ajax_update_plugin() {
|
||||
|
||||
wp_update_plugins();
|
||||
|
||||
$skin = new Automatic_Upgrader_Skin();
|
||||
$skin = new WP_Ajax_Upgrader_Skin();
|
||||
$upgrader = new Plugin_Upgrader( $skin );
|
||||
$result = $upgrader->bulk_upgrade( array( $plugin ) );
|
||||
|
||||
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
|
||||
$status['debug'] = $upgrader->skin->get_upgrade_messages();
|
||||
$status['debug'] = $skin->get_upgrade_messages();
|
||||
}
|
||||
|
||||
if ( is_array( $result ) && empty( $result[ $plugin ] ) && is_wp_error( $skin->result ) ) {
|
||||
$result = $skin->result;
|
||||
}
|
||||
|
||||
if ( is_array( $result ) && ! empty( $result[ $plugin ] ) ) {
|
||||
if ( is_wp_error( $skin->result ) ) {
|
||||
$status['errorCode'] = $skin->result->get_error_code();
|
||||
$status['errorMessage'] = $skin->result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( $skin->get_errors()->get_error_code() ) {
|
||||
$status['errorMessage'] = $skin->get_error_messages();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( is_array( $result ) && ! empty( $result[ $plugin ] ) ) {
|
||||
$plugin_update_data = current( $result );
|
||||
|
||||
/*
|
||||
@@ -3716,9 +3767,6 @@ function wp_ajax_update_plugin() {
|
||||
$status['newVersion'] = sprintf( __( 'Version %s' ), $plugin_data['Version'] );
|
||||
}
|
||||
wp_send_json_success( $status );
|
||||
} elseif ( is_wp_error( $result ) ) {
|
||||
$status['errorMessage'] = $result->get_error_message();
|
||||
wp_send_json_error( $status );
|
||||
} elseif ( false === $result ) {
|
||||
global $wp_filesystem;
|
||||
|
||||
|
||||
@@ -100,8 +100,12 @@ class File_Upload_Upgrader {
|
||||
if ( ! ( ( $uploads = wp_upload_dir() ) && false === $uploads['error'] ) )
|
||||
wp_die( $uploads['error'] );
|
||||
|
||||
$this->filename = $_GET[$urlholder];
|
||||
$this->filename = sanitize_file_name( $_GET[ $urlholder ] );
|
||||
$this->package = $uploads['basedir'] . '/' . $this->filename;
|
||||
|
||||
if ( 0 !== strpos( realpath( $this->package ), realpath( $uploads['basedir'] ) ) ) {
|
||||
wp_die( __( 'Please select a file' ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -282,9 +282,9 @@ class Language_Pack_Upgrader extends WP_Upgrader {
|
||||
|
||||
// Re-add upgrade hooks.
|
||||
add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
|
||||
add_action( 'upgrader_process_complete', 'wp_version_check' );
|
||||
add_action( 'upgrader_process_complete', 'wp_update_plugins' );
|
||||
add_action( 'upgrader_process_complete', 'wp_update_themes' );
|
||||
add_action( 'upgrader_process_complete', 'wp_version_check', 10, 0 );
|
||||
add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 );
|
||||
add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
|
||||
|
||||
$this->skin->bulk_footer();
|
||||
|
||||
|
||||
132
wp-admin/includes/class-wp-ajax-upgrader-skin.php
Normal file
132
wp-admin/includes/class-wp-ajax-upgrader-skin.php
Normal file
@@ -0,0 +1,132 @@
|
||||
<?php
|
||||
/**
|
||||
* Upgrader API: WP_Ajax_Upgrader_Skin class
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Upgrader
|
||||
* @since 4.6.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Upgrader Skin for Ajax WordPress upgrades.
|
||||
*
|
||||
* This skin is designed to be used for Ajax updates.
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @see Automatic_Upgrader_Skin
|
||||
*/
|
||||
class WP_Ajax_Upgrader_Skin extends Automatic_Upgrader_Skin {
|
||||
|
||||
/**
|
||||
* Holds the WP_Error object.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access protected
|
||||
* @var null|WP_Error
|
||||
*/
|
||||
protected $errors = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @param array $args Options for the upgrader, see WP_Upgrader_Skin::__construct().
|
||||
*/
|
||||
public function __construct( $args = array() ) {
|
||||
parent::__construct( $args );
|
||||
|
||||
$this->errors = new WP_Error();
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the list of errors.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @return WP_Error Errors during an upgrade.
|
||||
*/
|
||||
public function get_errors() {
|
||||
return $this->errors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves a string for error messages.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @return string Error messages during an upgrade.
|
||||
*/
|
||||
public function get_error_messages() {
|
||||
$messages = array();
|
||||
|
||||
foreach ( $this->errors->get_error_codes() as $error_code ) {
|
||||
if ( $this->errors->get_error_data( $error_code ) && is_string( $this->errors->get_error_data( $error_code ) ) ) {
|
||||
$messages[] = $this->errors->get_error_message( $error_code ) . ' ' . esc_html( strip_tags( $this->errors->get_error_data( $error_code ) ) );
|
||||
} else {
|
||||
$messages[] = $this->errors->get_error_message( $error_code );
|
||||
}
|
||||
}
|
||||
|
||||
return implode( ', ', $messages );
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores a log entry for an error.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @param string|WP_Error $errors Errors.
|
||||
*/
|
||||
public function error( $errors ) {
|
||||
if ( is_string( $errors ) ) {
|
||||
$string = $errors;
|
||||
if ( ! empty( $this->upgrader->strings[ $string ] ) ) {
|
||||
$string = $this->upgrader->strings[ $string ];
|
||||
}
|
||||
|
||||
if ( false !== strpos( $string, '%' ) ) {
|
||||
$args = func_get_args();
|
||||
$args = array_splice( $args, 1 );
|
||||
if ( ! empty( $args ) ) {
|
||||
$string = vsprintf( $string, $args );
|
||||
}
|
||||
}
|
||||
|
||||
// Count existing errors to generate an unique error code.
|
||||
$errors_count = count( $errors->get_error_codes() );
|
||||
$this->errors->add( 'unknown_upgrade_error_' . $errors_count + 1 , $string );
|
||||
} elseif ( is_wp_error( $errors ) ) {
|
||||
foreach ( $errors->get_error_codes() as $error_code ) {
|
||||
$this->errors->add( $error_code, $errors->get_error_message( $error_code ), $errors->get_error_data( $error_code ) );
|
||||
}
|
||||
}
|
||||
|
||||
$args = func_get_args();
|
||||
call_user_func_array( array( $this, 'parent::error' ), $args );
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores a log entry.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access public
|
||||
*
|
||||
* @param string|array|WP_Error $data Log entry data.
|
||||
*/
|
||||
public function feedback( $data ) {
|
||||
if ( is_wp_error( $data ) ) {
|
||||
foreach ( $data->get_error_codes() as $error_code ) {
|
||||
$this->errors->add( $error_code, $data->get_error_message( $error_code ), $data->get_error_data( $error_code ) );
|
||||
}
|
||||
}
|
||||
|
||||
$args = func_get_args();
|
||||
call_user_func_array( array( $this, 'parent::feedback' ), $args );
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user