Compare commits
338 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
78a7511994 | ||
|
|
88cb968e00 | ||
|
|
ac28cd61cf | ||
|
|
124bbbc653 | ||
|
|
5892579440 | ||
|
|
04602bccd8 | ||
|
|
01a575e1b0 | ||
|
|
ba7ae64a3c | ||
|
|
916a395691 | ||
|
|
b1cb849975 | ||
|
|
9371029a12 | ||
|
|
d6e61b10b5 | ||
|
|
0aef0d4b97 | ||
|
|
315b0d8efe | ||
|
|
f524de858c | ||
|
|
9c716931a3 | ||
|
|
ca7629305c | ||
|
|
0df80b099e | ||
|
|
bef4964cc3 | ||
|
|
061b316605 | ||
|
|
ee57ce6745 | ||
|
|
0b53ca170a | ||
|
|
f4bc98cc1d | ||
|
|
94aa7baeb2 | ||
|
|
0e494b043d | ||
|
|
176bfb2694 | ||
|
|
9940eb5493 | ||
|
|
f105803f14 | ||
|
|
21095bb883 | ||
|
|
ed38a616b1 | ||
|
|
298af5bcf2 | ||
|
|
6559bdf187 | ||
|
|
39710dcb5a | ||
|
|
070403f1c7 | ||
|
|
498a6acb14 | ||
|
|
59a3c2199c | ||
|
|
fe76b0206d | ||
|
|
b5b4d771ae | ||
|
|
6863424407 | ||
|
|
3769f76ca6 | ||
|
|
f6edca7a9e | ||
|
|
b1f105e400 | ||
|
|
639b5f6ed8 | ||
|
|
6c98f19ad2 | ||
|
|
319971e3ed | ||
|
|
7bb7707e9d | ||
|
|
081d0ebbc8 | ||
|
|
b250096446 | ||
|
|
1963afa5ff | ||
|
|
47fdbd4add | ||
|
|
a5c8e5caa3 | ||
|
|
6793aad486 | ||
|
|
f0001b7423 | ||
|
|
1c7d7b7c15 | ||
|
|
3941885dc0 | ||
|
|
f18b19bac9 | ||
|
|
f2dc2970ba | ||
|
|
c04ce8198b | ||
|
|
7296f063d7 | ||
|
|
197fe91d39 | ||
|
|
9016ffbafa | ||
|
|
934d7cf523 | ||
|
|
a3ff44115b | ||
|
|
86d55bcfeb | ||
|
|
74ee7ba44a | ||
|
|
a69b052f3f | ||
|
|
ad1bdb7e98 | ||
|
|
b28946e62c | ||
|
|
cb0da304a4 | ||
|
|
fcfa34bd6c | ||
|
|
02b1ba4744 | ||
|
|
e052467e89 | ||
|
|
e92c6a2817 | ||
|
|
f4f66b96b1 | ||
|
|
26ba67787c | ||
|
|
f165c75d01 | ||
|
|
4ae8f8d4e6 | ||
|
|
c6e2c61454 | ||
|
|
fe08364556 | ||
|
|
924e124a79 | ||
|
|
9f6f75bd8b | ||
|
|
08f6d4873b | ||
|
|
69fe41fc39 | ||
|
|
deee543f0d | ||
|
|
da5f52aae3 | ||
|
|
e3bce2d81a | ||
|
|
fccc99f43f | ||
|
|
e7c1553bde | ||
|
|
4c11410c58 | ||
|
|
fa163b9c0a | ||
|
|
c0a7aaf659 | ||
|
|
92096f4c64 | ||
|
|
b20bfba009 | ||
|
|
a9ea4a1f7d | ||
|
|
67256370f1 | ||
|
|
1f9acd5fec | ||
|
|
0dfd159712 | ||
|
|
2afa2b446f | ||
|
|
76138b9b66 | ||
|
|
53ae774168 | ||
|
|
4a6101fc53 | ||
|
|
6175c99e93 | ||
|
|
bf820c9036 | ||
|
|
c74898bab3 | ||
|
|
98d47f2c7e | ||
|
|
33ff5ac5f0 | ||
|
|
9ebbcad7a0 | ||
|
|
e8b54ed885 | ||
|
|
1f1b7df292 | ||
|
|
63779784f3 | ||
|
|
d413bb103d | ||
|
|
c22ddf38ed | ||
|
|
d954d6213a | ||
|
|
7aab30a907 | ||
|
|
1fadf698a1 | ||
|
|
227534fae8 | ||
|
|
ec980c34e0 | ||
|
|
dcb9622465 | ||
|
|
29dfd13361 | ||
|
|
42a2dc2f7a | ||
|
|
249407985c | ||
|
|
fa393c7fdc | ||
|
|
6547731cfe | ||
|
|
eeef639639 | ||
|
|
672ccbbc3c | ||
|
|
c0903e830b | ||
|
|
cb2625e260 | ||
|
|
d2342e75d0 | ||
|
|
665b28aad0 | ||
|
|
30b402c24b | ||
|
|
8040b247a4 | ||
|
|
14a11fc4db | ||
|
|
8f33283493 | ||
|
|
9ad59101ab | ||
|
|
b74a18dc8b | ||
|
|
595cd450eb | ||
|
|
cb0ea9d291 | ||
|
|
547a500699 | ||
|
|
d802d709c7 | ||
|
|
26f6aeaeea | ||
|
|
cf8c4fa0d8 | ||
|
|
b564da95fb | ||
|
|
b4aaf4a73c | ||
|
|
1f5f8129de | ||
|
|
15054d8a94 | ||
|
|
cd2f52dda1 | ||
|
|
ea7c189825 | ||
|
|
567d4b0961 | ||
|
|
e2bf0ae498 | ||
|
|
eaf96830ce | ||
|
|
1bb5174584 | ||
|
|
ddc8032efd | ||
|
|
d668b72f5b | ||
|
|
30b40c8f52 | ||
|
|
5129da3af5 | ||
|
|
98eb869d8b | ||
|
|
f1773beb0c | ||
|
|
e782caa1e7 | ||
|
|
4d9aadc80c | ||
|
|
09734c5576 | ||
|
|
0afda3e678 | ||
|
|
05d3ae380d | ||
|
|
d097213a7b | ||
|
|
bed757a726 | ||
|
|
68c6632f86 | ||
|
|
4bfee774d5 | ||
|
|
f4a436c522 | ||
|
|
2062f3f891 | ||
|
|
d78a4944a2 | ||
|
|
3e4f800ee3 | ||
|
|
d1007dd45c | ||
|
|
61322a844a | ||
|
|
09fe564f4e | ||
|
|
9438733d24 | ||
|
|
10c9d391a8 | ||
|
|
9b3e2b76b4 | ||
|
|
0ffa2fc49b | ||
|
|
ca52f0f101 | ||
|
|
77d526e000 | ||
|
|
70eb518623 | ||
|
|
7c30cc3c92 | ||
|
|
b82ed28add | ||
|
|
6e76869056 | ||
|
|
eb592352b5 | ||
|
|
b475d439b3 | ||
|
|
4d5c5e90dd | ||
|
|
39dcb61452 | ||
|
|
b244bafda0 | ||
|
|
1600aef2ab | ||
|
|
843c263881 | ||
|
|
8c9bb731ed | ||
|
|
faf5abc16e | ||
|
|
ad8efe232e | ||
|
|
2c2db8337f | ||
|
|
cc1c032638 | ||
|
|
f149d8fabc | ||
|
|
8e660e35d1 | ||
|
|
faca308a47 | ||
|
|
fbb106494f | ||
|
|
6bbbdf94c0 | ||
|
|
b9bda541d4 | ||
|
|
3bd2b3ad62 | ||
|
|
bf039f8987 | ||
|
|
4cf2959f1e | ||
|
|
728530718b | ||
|
|
44dc191a6d | ||
|
|
7156e5171c | ||
|
|
451d53723b | ||
|
|
1d477066e4 | ||
|
|
0827e54cc0 | ||
|
|
45c4047586 | ||
|
|
547912fbfc | ||
|
|
9209c0738c | ||
|
|
094c20d004 | ||
|
|
2ce4a04aff | ||
|
|
809d5fa08e | ||
|
|
cca8f1053b | ||
|
|
1d2fd8ef87 | ||
|
|
318ebdf1eb | ||
|
|
deeee40510 | ||
|
|
a86c8727b6 | ||
|
|
45cee39420 | ||
|
|
c85cf4f9bc | ||
|
|
2c263a2069 | ||
|
|
80159017d2 | ||
|
|
d664ac9ea6 | ||
|
|
3e36496be3 | ||
|
|
4eeea599bd | ||
|
|
8aa3f8aa17 | ||
|
|
b5dd35f036 | ||
|
|
1dfbe95995 | ||
|
|
2b0b7ffa89 | ||
|
|
b78d21d9f0 | ||
|
|
65e67aeaa5 | ||
|
|
17c256df0b | ||
|
|
5247520fe2 | ||
|
|
95c9ca4091 | ||
|
|
9db1397f08 | ||
|
|
2878ae6271 | ||
|
|
f345a0b15e | ||
|
|
103ca5c6cf | ||
|
|
26fdba2c5b | ||
|
|
dd3024e7c4 | ||
|
|
3b7d4b49c0 | ||
|
|
7cf7767298 | ||
|
|
a2be0cd32b | ||
|
|
e0d8b2663c | ||
|
|
eba98dc78d | ||
|
|
0896655aea | ||
|
|
7aab5bc693 | ||
|
|
c60aa91d76 | ||
|
|
a6284311e8 | ||
|
|
3095491428 | ||
|
|
8114ac92ef | ||
|
|
2083557ea9 | ||
|
|
fdb8a97664 | ||
|
|
050ea51bcb | ||
|
|
38e4408131 | ||
|
|
0b40d2f9cf | ||
|
|
c7ac8db6e4 | ||
|
|
6703bb7c72 | ||
|
|
1b0bd1ff7a | ||
|
|
9af2f7cd35 | ||
|
|
df15be7cf9 | ||
|
|
894cec5697 | ||
|
|
06dd3449e9 | ||
|
|
7a7e45a530 | ||
|
|
c3c9eaf45e | ||
|
|
e5c53b9bbd | ||
|
|
d4be2db521 | ||
|
|
14d25f6094 | ||
|
|
e5b5b15b88 | ||
|
|
b433465f15 | ||
|
|
bcb3a839d1 | ||
|
|
257be25506 | ||
|
|
59593950dc | ||
|
|
6a3018a7c9 | ||
|
|
2f6f41170a | ||
|
|
82687eb7af | ||
|
|
309984de5f | ||
|
|
b1c0bffa78 | ||
|
|
feb3e4caec | ||
|
|
88bc6a609e | ||
|
|
e08597f8fa | ||
|
|
01e3c640fe | ||
|
|
85d1ba9726 | ||
|
|
59a7fbddde | ||
|
|
dc3d22edd9 | ||
|
|
ee43146223 | ||
|
|
cf7288a673 | ||
|
|
f04d84149f | ||
|
|
9bee0589fb | ||
|
|
408d8c63be | ||
|
|
3408441e15 | ||
|
|
57e36f1ed2 | ||
|
|
e40df25f76 | ||
|
|
40bd08b50f | ||
|
|
13b6280373 | ||
|
|
65a757621d | ||
|
|
760aa16ab8 | ||
|
|
7f5c437803 | ||
|
|
8cd1a27463 | ||
|
|
076fb0ff4d | ||
|
|
4c34006070 | ||
|
|
8d99bb5288 | ||
|
|
bac5694e88 | ||
|
|
2aed23cc97 | ||
|
|
4650753c6b | ||
|
|
61be857c95 | ||
|
|
c12c3a96b3 | ||
|
|
ce8c932138 | ||
|
|
9d75986391 | ||
|
|
8fae65141a | ||
|
|
6d16a905b8 | ||
|
|
04d41666dc | ||
|
|
7faddf9e50 | ||
|
|
baba344254 | ||
|
|
1410e91992 | ||
|
|
276dbdc296 | ||
|
|
058176bc28 | ||
|
|
a3528374a8 | ||
|
|
5a4033d4c2 | ||
|
|
f2bf3d8d66 | ||
|
|
17251ec2c1 | ||
|
|
744e834816 | ||
|
|
9b7814a4a1 | ||
|
|
7546fcc64a | ||
|
|
a91c3fbdc0 | ||
|
|
652bc5d967 | ||
|
|
e0f0ee5de6 | ||
|
|
08aa0f52f9 | ||
|
|
7f190a310c | ||
|
|
d8da981665 | ||
|
|
3dd22cf28d | ||
|
|
8461e3a896 | ||
|
|
1f26b2945d | ||
|
|
dd84717899 | ||
|
|
662345c10f |
@@ -58,7 +58,7 @@
|
||||
|
||||
<h3>Recommendations</h3>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>7</strong> or higher.</li>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.2</strong> or higher.</li>
|
||||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
|
||||
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
|
||||
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
|
||||
|
||||
114
wp-activate.php
114
wp-activate.php
@@ -18,6 +18,52 @@ 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 );
|
||||
}
|
||||
}
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( is_object( $wp_object_cache ) )
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
|
||||
@@ -67,13 +113,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,42 +134,39 @@ 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: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your site at %1$s is active. You may now log in to your 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>.' ),
|
||||
sprintf( '<a href="http://%s">%s</a>', $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: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your site at %1$s is active. You may now log in to your 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>.' ),
|
||||
sprintf( '<a href="http://%1$s">%1$s</a>', $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_home_url( (int) $result['blog_id'] ) : '';
|
||||
$user = get_userdata( (int) $result['user_id'] );
|
||||
|
||||
@@ -11,7 +11,8 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
wp_enqueue_script( 'underscore' );
|
||||
|
||||
$title = __( 'About' );
|
||||
/* translators: Page title of the About WordPress page in the admin. */
|
||||
$title = _x( 'About', 'page title' );
|
||||
|
||||
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
|
||||
@@ -27,11 +28,271 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<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.9.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.9.17' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.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.9.16' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.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.9.15' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.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.9.14' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.13'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '4.9.13' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.12'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '4.9.12' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.11'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '4.9.11' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'4.9.10'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '4.9.10' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: WordPress version number */
|
||||
printf( __( '<strong>Version %s</strong> addressed some security issues.' ), '4.9.9' );
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.9' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
46
|
||||
),
|
||||
'4.9.8',
|
||||
number_format_i18n( 46 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.8' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_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.',
|
||||
17
|
||||
),
|
||||
'4.9.7',
|
||||
number_format_i18n( 17 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.7' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
18
|
||||
),
|
||||
'4.9.6',
|
||||
number_format_i18n( 18 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.6' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_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.',
|
||||
28
|
||||
),
|
||||
'4.9.5',
|
||||
number_format_i18n( 28 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.5' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
1
|
||||
),
|
||||
'4.9.4',
|
||||
number_format_i18n( 1 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
/* translators: %s: Codex URL */
|
||||
printf( __( 'For more information, see <a href="%s">the release notes</a>.' ), 'https://codex.wordpress.org/Version_4.9.4' );
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
|
||||
@@ -65,6 +65,8 @@ $core_actions_post = array(
|
||||
'generate-password', 'save-wporg-username', 'delete-plugin', 'search-plugins',
|
||||
'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme', 'install-theme',
|
||||
'get-post-thumbnail-html', 'get-community-events', 'edit-theme-plugin-file',
|
||||
'wp-privacy-export-personal-data',
|
||||
'wp-privacy-erase-personal-data',
|
||||
);
|
||||
|
||||
// Deprecated
|
||||
|
||||
@@ -75,13 +75,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">
|
||||
|
||||
@@ -22,7 +22,7 @@ if ( defined( 'ABSPATH' ) ) {
|
||||
|
||||
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' );
|
||||
|
||||
@@ -28,7 +28,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="about-wrap-content">
|
||||
@@ -52,6 +52,12 @@ if ( ! $credits ) {
|
||||
|
||||
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
|
||||
|
||||
echo '<p>' . sprintf(
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
) . '</p>';
|
||||
|
||||
foreach ( $credits['groups'] as $group_slug => $group_data ) {
|
||||
if ( $group_data['name'] ) {
|
||||
if ( 'Translators' == $group_data['name'] ) {
|
||||
@@ -101,13 +107,6 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
|
||||
}
|
||||
|
||||
?>
|
||||
<p class="clear"><?php
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
);
|
||||
?></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -260,10 +260,8 @@
|
||||
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 2;
|
||||
-moz-column-count: 2;
|
||||
column-count: 2;
|
||||
-webkit-column-gap: 40px;
|
||||
-moz-column-gap: 40px;
|
||||
column-gap: 40px;
|
||||
}
|
||||
|
||||
@@ -551,7 +549,6 @@
|
||||
@media screen and (max-width: 782px) {
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 1;
|
||||
-moz-column-count: 1;
|
||||
column-count: 1;
|
||||
}
|
||||
|
||||
|
||||
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
@@ -260,10 +260,8 @@
|
||||
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 2;
|
||||
-moz-column-count: 2;
|
||||
column-count: 2;
|
||||
-webkit-column-gap: 40px;
|
||||
-moz-column-gap: 40px;
|
||||
column-gap: 40px;
|
||||
}
|
||||
|
||||
@@ -551,7 +549,6 @@
|
||||
@media screen and (max-width: 782px) {
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 1;
|
||||
-moz-column-count: 1;
|
||||
column-count: 1;
|
||||
}
|
||||
|
||||
|
||||
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/code-editor-rtl.min.css
vendored
2
wp-admin/css/code-editor-rtl.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:400 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:400 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-right:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-right:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:right}
|
||||
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-right:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-right:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:right}
|
||||
2
wp-admin/css/code-editor.min.css
vendored
2
wp-admin/css/code-editor.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:400 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:400 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:left}
|
||||
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:left}
|
||||
2
wp-admin/css/color-picker-rtl.min.css
vendored
2
wp-admin/css/color-picker-rtl.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
2
wp-admin/css/color-picker.min.css
vendored
2
wp-admin/css/color-picker.min.css
vendored
@@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-input-wrap label,.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{-webkit-transform:none!important;transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d39323;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d39323;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #b78b66;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #b78b66;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #829237;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #829237;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #037c9a;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -517,4 +501,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #037c9a;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -517,4 +501,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
2
wp-admin/css/colors/light/colors.min.css
vendored
2
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d02c21;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #d02c21;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #80a583;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #80a583;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #c36922;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ body {
|
||||
a {
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus {
|
||||
color: #0096dd;
|
||||
}
|
||||
@@ -32,8 +31,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,66 +44,53 @@ 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;
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
background: #c36922;
|
||||
border-color: #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 {
|
||||
box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
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;
|
||||
}
|
||||
@@ -186,7 +172,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,
|
||||
@@ -205,7 +190,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,
|
||||
@@ -499,4 +483,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;
|
||||
}
|
||||
}
|
||||
@@ -2430,11 +2430,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;
|
||||
}
|
||||
@@ -2469,8 +2469,8 @@ div.star-holder .star-rating {
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
-webkit-transform: rotateY(180deg);
|
||||
transform: rotateY(180deg);
|
||||
-webkit-transform: rotateY(-180deg);
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
|
||||
.star-rating .star-empty:before {
|
||||
@@ -2981,7 +2981,8 @@ img {
|
||||
/* Metabox collapse arrow indicators */
|
||||
.sidebar-name .toggle-indicator:before,
|
||||
.js .meta-box-sortables .postbox .toggle-indicator:before,
|
||||
.bulk-action-notice .toggle-indicator:before {
|
||||
.bulk-action-notice .toggle-indicator:before,
|
||||
.privacy-text-box .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
@@ -2993,7 +2994,8 @@ img {
|
||||
|
||||
.js .widgets-holder-wrap.closed .toggle-indicator:before,
|
||||
.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before,
|
||||
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator:before {
|
||||
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator:before,
|
||||
.privacy-text-box.closed .toggle-indicator:before {
|
||||
content: "\f140";
|
||||
}
|
||||
|
||||
@@ -3625,7 +3627,7 @@ img {
|
||||
/* Back-compat for pre-3.8 */
|
||||
div.star-holder,
|
||||
div.star-holder .star-rating {
|
||||
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;
|
||||
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom right;
|
||||
background-size: 21px 37px;
|
||||
}
|
||||
|
||||
@@ -3943,23 +3945,6 @@ img {
|
||||
}
|
||||
}
|
||||
|
||||
.options-media-php br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 375px) {
|
||||
.options-media-php input[type="number"][name*="_size_"] {
|
||||
margin: 5px 0;
|
||||
}
|
||||
.options-media-php label[for*="_size_h"]:before {
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
.options-media-php br {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
/* Prevent default center alignment and larger font for the Right Now widget when
|
||||
the network dashboard is viewed on a small mobile device. */
|
||||
|
||||
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
@@ -2981,7 +2981,8 @@ img {
|
||||
/* Metabox collapse arrow indicators */
|
||||
.sidebar-name .toggle-indicator:before,
|
||||
.js .meta-box-sortables .postbox .toggle-indicator:before,
|
||||
.bulk-action-notice .toggle-indicator:before {
|
||||
.bulk-action-notice .toggle-indicator:before,
|
||||
.privacy-text-box .toggle-indicator:before {
|
||||
content: "\f142";
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
@@ -2993,7 +2994,8 @@ img {
|
||||
|
||||
.js .widgets-holder-wrap.closed .toggle-indicator:before,
|
||||
.js .meta-box-sortables .postbox.closed .handlediv .toggle-indicator:before,
|
||||
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator:before {
|
||||
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator:before,
|
||||
.privacy-text-box.closed .toggle-indicator:before {
|
||||
content: "\f140";
|
||||
}
|
||||
|
||||
@@ -3943,23 +3945,6 @@ img {
|
||||
}
|
||||
}
|
||||
|
||||
.options-media-php br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 375px) {
|
||||
.options-media-php input[type="number"][name*="_size_"] {
|
||||
margin: 5px 0;
|
||||
}
|
||||
.options-media-php label[for*="_size_h"]:before {
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
.options-media-php br {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 320px) {
|
||||
/* Prevent default center alignment and larger font for the Right Now widget when
|
||||
the network dashboard is viewed on a small mobile device. */
|
||||
|
||||
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
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
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
@@ -141,6 +141,7 @@
|
||||
|
||||
.welcome-panel .welcome-panel-close {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
padding: 10px 21px 10px 15px;
|
||||
@@ -165,7 +166,7 @@
|
||||
}
|
||||
|
||||
.welcome-panel-content {
|
||||
margin-right: 13px;
|
||||
margin: 0 13px;
|
||||
max-width: 1500px;
|
||||
}
|
||||
|
||||
@@ -1223,7 +1224,6 @@ a.rsswidget {
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
margin: 0.4em 0 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
|
||||
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
@@ -141,6 +141,7 @@
|
||||
|
||||
.welcome-panel .welcome-panel-close {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
padding: 10px 15px 10px 21px;
|
||||
@@ -165,7 +166,7 @@
|
||||
}
|
||||
|
||||
.welcome-panel-content {
|
||||
margin-left: 13px;
|
||||
margin: 0 13px;
|
||||
max-width: 1500px;
|
||||
}
|
||||
|
||||
@@ -1223,7 +1224,6 @@ a.rsswidget {
|
||||
.welcome-panel .welcome-panel-column ul {
|
||||
margin: 0.4em 0 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
|
||||
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
@@ -107,19 +107,19 @@ th {
|
||||
/* specific to the image upload form */
|
||||
|
||||
.image-align-none-label {
|
||||
background: url(../images/align-none.png) no-repeat center left;
|
||||
background: url(../images/align-none.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-left-label {
|
||||
background: url(../images/align-left.png) no-repeat center left;
|
||||
background: url(../images/align-left.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-center-label {
|
||||
background: url(../images/align-center.png) no-repeat center left;
|
||||
background: url(../images/align-center.png) no-repeat center right;
|
||||
}
|
||||
|
||||
.image-align-right-label {
|
||||
background: url(../images/align-right.png) no-repeat center left;
|
||||
background: url(../images/align-right.png) no-repeat center right;
|
||||
}
|
||||
|
||||
tr.image-size td {
|
||||
|
||||
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
@@ -646,6 +646,93 @@ span.wp-media-buttons-icon:before {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Suggested text for privacy policy */
|
||||
.wp-privacy-policy-guide {
|
||||
max-width: 1000px;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: calc(100% - 260px);
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: left;
|
||||
width: 250px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc p {
|
||||
margin: 0;
|
||||
padding: 0.7em 1em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc ol {
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide h3 {
|
||||
font-size: 1.2em;
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
|
||||
.privacy-text-section .privacy-text-copy {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.privacy-text-section {
|
||||
position: relative;
|
||||
border-top: 1px solid #e3e3e3;
|
||||
}
|
||||
|
||||
.privacy-text-box-head,
|
||||
.privacy-text-section.text-removed {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.text-removed .policy-text {
|
||||
font-style: italic;
|
||||
color: #666;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.privacy-text-actions {
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide .policy-text h2 {
|
||||
margin: 1.2em 0 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.suggested-policy-content {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: left;
|
||||
margin-left: -250px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.wp-suggested-text p {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.wp-suggested-text p.privacy-policy-tutorial {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.notice.wp-pp-notice {
|
||||
margin: 15px 0 3px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
11.1 - Custom Fields
|
||||
------------------------------------------------------------------------------*/
|
||||
@@ -1570,4 +1657,19 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
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
@@ -646,6 +646,93 @@ span.wp-media-buttons-icon:before {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Suggested text for privacy policy */
|
||||
.wp-privacy-policy-guide {
|
||||
max-width: 1000px;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: calc(100% - 260px);
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: right;
|
||||
width: 250px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc p {
|
||||
margin: 0;
|
||||
padding: 0.7em 1em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc ol {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide h3 {
|
||||
font-size: 1.2em;
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
|
||||
.privacy-text-section .privacy-text-copy {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.privacy-text-section {
|
||||
position: relative;
|
||||
border-top: 1px solid #e3e3e3;
|
||||
}
|
||||
|
||||
.privacy-text-box-head,
|
||||
.privacy-text-section.text-removed {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.text-removed .policy-text {
|
||||
font-style: italic;
|
||||
color: #666;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.privacy-text-actions {
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide .policy-text h2 {
|
||||
margin: 1.2em 0 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.suggested-policy-content {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: right;
|
||||
margin-right: -250px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.wp-suggested-text p {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.wp-suggested-text p.privacy-policy-tutorial {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.notice.wp-pp-notice {
|
||||
margin: 15px 0 3px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
11.1 - Custom Fields
|
||||
------------------------------------------------------------------------------*/
|
||||
@@ -1570,4 +1657,19 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
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
@@ -438,7 +438,15 @@ fieldset label,
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.options-media-php label[for*="_size_"],
|
||||
.options-media-php [for*="_size_"] {
|
||||
min-width: 10em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.options-media-php .small-text[name*="_size_"] {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#misc-publishing-actions label {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
@@ -1068,6 +1076,143 @@ table.form-table td .updated p {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
Privacy Policy settings screen
|
||||
------------------------------------------------------------------------------*/
|
||||
.tools-privacy-policy-page form {
|
||||
margin-bottom: 1.3em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input.button,
|
||||
.tools-privacy-policy-page select {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.tools-privacy-edit {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page span {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.privacy_requests .column-email {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.privacy_requests .column-type {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.privacy_requests thead td:first-child,
|
||||
.privacy_requests tfoot td:first-child {
|
||||
border-right: 4px solid #fff;
|
||||
}
|
||||
|
||||
.privacy_requests tbody th {
|
||||
border-right: 4px solid #fff;
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results th {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests tbody .request-results th .notice {
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
|
||||
.privacy_requests tbody td {
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results td {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests .next_steps .button {
|
||||
height: auto;
|
||||
line-height: 1.5;
|
||||
padding: 4px 10px;
|
||||
word-break: break-all;
|
||||
white-space: unset;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-confirmed th,
|
||||
.privacy_requests .status-request-confirmed td {
|
||||
background-color: #f7fcfe;
|
||||
border-right-color: #00a0d2;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-failed th,
|
||||
.privacy_requests .status-request-failed td {
|
||||
background-color: #fef7f1;
|
||||
border-right-color: #d64d21;
|
||||
}
|
||||
|
||||
.privacy_requests .export_personal_data_failed a {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.status-label.status-request-pending {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
color: #6c7781;
|
||||
}
|
||||
|
||||
.status-label.status-request-failed {
|
||||
color: #aa0000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form-field {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form label {
|
||||
font-weight: bold;
|
||||
line-height: 1.5;
|
||||
padding-bottom: .5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form input {
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.email-personal-data::before {
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
margin: 3px -2px 0 5px;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.email-personal-data--sending::before {
|
||||
color: #f56e28;
|
||||
content: "\f463";
|
||||
-webkit-animation: rotation 2s infinite linear;
|
||||
animation: rotation 2s infinite linear;
|
||||
}
|
||||
|
||||
.email-personal-data--sent::before {
|
||||
color: #79ba49;
|
||||
content: "\f147";
|
||||
}
|
||||
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
@@ -1345,6 +1490,34 @@ table.form-table td .updated p {
|
||||
max-width: 6.25em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Privacy Policy settings screen */
|
||||
.tools-privacy-policy-page form.wp-create-privacy-page {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input#set-page,
|
||||
.tools-privacy-policy-page select {
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page span {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page .button {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests.widefat th input,
|
||||
.wp-list-table.privacy_requests.widefat thead td input {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
@@ -1395,3 +1568,25 @@ table.form-table td .updated p {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes rotation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(-359deg);
|
||||
transform: rotate(-359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(-359deg);
|
||||
transform: rotate(-359deg);
|
||||
}
|
||||
}
|
||||
|
||||
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
@@ -438,7 +438,15 @@ fieldset label,
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.options-media-php label[for*="_size_"],
|
||||
.options-media-php [for*="_size_"] {
|
||||
min-width: 10em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.options-media-php .small-text[name*="_size_"] {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#misc-publishing-actions label {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
@@ -1068,6 +1076,143 @@ table.form-table td .updated p {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
Privacy Policy settings screen
|
||||
------------------------------------------------------------------------------*/
|
||||
.tools-privacy-policy-page form {
|
||||
margin-bottom: 1.3em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input.button,
|
||||
.tools-privacy-policy-page select {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.tools-privacy-edit {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page span {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.privacy_requests .column-email {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.privacy_requests .column-type {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.privacy_requests thead td:first-child,
|
||||
.privacy_requests tfoot td:first-child {
|
||||
border-left: 4px solid #fff;
|
||||
}
|
||||
|
||||
.privacy_requests tbody th {
|
||||
border-left: 4px solid #fff;
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results th {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests tbody .request-results th .notice {
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
|
||||
.privacy_requests tbody td {
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results td {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests .next_steps .button {
|
||||
height: auto;
|
||||
line-height: 1.5;
|
||||
padding: 4px 10px;
|
||||
word-break: break-all;
|
||||
white-space: unset;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-confirmed th,
|
||||
.privacy_requests .status-request-confirmed td {
|
||||
background-color: #f7fcfe;
|
||||
border-left-color: #00a0d2;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-failed th,
|
||||
.privacy_requests .status-request-failed td {
|
||||
background-color: #fef7f1;
|
||||
border-left-color: #d64d21;
|
||||
}
|
||||
|
||||
.privacy_requests .export_personal_data_failed a {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.status-label.status-request-pending {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
color: #6c7781;
|
||||
}
|
||||
|
||||
.status-label.status-request-failed {
|
||||
color: #aa0000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form-field {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form label {
|
||||
font-weight: bold;
|
||||
line-height: 1.5;
|
||||
padding-bottom: .5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form input {
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.email-personal-data::before {
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
margin: 3px 5px 0 -2px;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.email-personal-data--sending::before {
|
||||
color: #f56e28;
|
||||
content: "\f463";
|
||||
-webkit-animation: rotation 2s infinite linear;
|
||||
animation: rotation 2s infinite linear;
|
||||
}
|
||||
|
||||
.email-personal-data--sent::before {
|
||||
color: #79ba49;
|
||||
content: "\f147";
|
||||
}
|
||||
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
@@ -1345,6 +1490,34 @@ table.form-table td .updated p {
|
||||
max-width: 6.25em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Privacy Policy settings screen */
|
||||
.tools-privacy-policy-page form.wp-create-privacy-page {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input#set-page,
|
||||
.tools-privacy-policy-page select {
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page span {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page .button {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests.widefat th input,
|
||||
.wp-list-table.privacy_requests.widefat thead td input {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
@@ -1395,3 +1568,25 @@ table.form-table td .updated p {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes rotation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
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,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.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,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
.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}}
|
||||
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
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
@@ -49,6 +49,7 @@ p {
|
||||
}
|
||||
|
||||
.login .message,
|
||||
.login .success,
|
||||
.login #login_error {
|
||||
border-right: 4px solid #00a0d2;
|
||||
padding: 12px;
|
||||
@@ -58,6 +59,10 @@ p {
|
||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.login .success {
|
||||
border-right-color: #46b450;
|
||||
}
|
||||
|
||||
.login #login_error {
|
||||
border-right-color: #dc3232;
|
||||
}
|
||||
@@ -194,6 +199,12 @@ p {
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.login .privacy-policy-page-link {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin: 5em 0 2em;
|
||||
}
|
||||
|
||||
.login form .input,
|
||||
.login input[type="text"] {
|
||||
font-size: 24px;
|
||||
|
||||
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
@@ -49,6 +49,7 @@ p {
|
||||
}
|
||||
|
||||
.login .message,
|
||||
.login .success,
|
||||
.login #login_error {
|
||||
border-left: 4px solid #00a0d2;
|
||||
padding: 12px;
|
||||
@@ -58,6 +59,10 @@ p {
|
||||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.login .success {
|
||||
border-left-color: #46b450;
|
||||
}
|
||||
|
||||
.login #login_error {
|
||||
border-left-color: #dc3232;
|
||||
}
|
||||
@@ -194,6 +199,12 @@ p {
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.login .privacy-policy-page-link {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin: 5em 0 2em;
|
||||
}
|
||||
|
||||
.login form .input,
|
||||
.login input[type="text"] {
|
||||
font-size: 24px;
|
||||
|
||||
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
@@ -785,7 +785,8 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
body.nav-menus-php {
|
||||
body.nav-menus-php,
|
||||
body.wp-customizer {
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
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
@@ -785,7 +785,8 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
body.nav-menus-php {
|
||||
body.nav-menus-php,
|
||||
body.wp-customizer {
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
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/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
@@ -541,6 +541,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 */
|
||||
|
||||
@@ -322,7 +322,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) {
|
||||
@@ -719,7 +719,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
||||
check_admin_referer('custom-header-upload', '_wpnonce-custom-header-upload');
|
||||
if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -877,7 +877,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
||||
|
||||
if ( ! current_theme_supports( 'custom-header', 'uploads' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'The current theme does not support uploading a custom header image.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -885,7 +885,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
||||
|
||||
if ( ! empty( $_POST['skip-cropping'] ) && ! ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'The current theme does not support a flexible sized header image.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
|
||||
@@ -14,7 +14,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
if ( ! current_user_can( 'customize' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to customize this site.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -31,7 +31,7 @@ if ( $wp_customize->changeset_post_id() ) {
|
||||
|
||||
if ( ! current_user_can( get_post_type_object( 'customize_changeset' )->cap->edit_post, $changeset_post->ID ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to edit this changeset.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -76,7 +76,7 @@ if ( $wp_customize->changeset_post_id() ) {
|
||||
|
||||
if ( in_array( get_post_status( $changeset_post->ID ), array( 'publish', 'trash' ), true ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'Something went wrong.' ) . '</h1>' .
|
||||
'<p>' . __( 'This changeset cannot be further modified.' ) . '</p>' .
|
||||
'<p><a href="' . esc_url( remove_query_arg( 'changeset_uuid' ) ) . '">' . __( 'Customize New Changes' ) . '</a></p>',
|
||||
403
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
if ( ! current_user_can( 'edit_posts' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to edit comments.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
|
||||
@@ -29,7 +29,11 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
||||
<div class="inside">
|
||||
<div id="comment-link-box">
|
||||
<strong><?php _ex( 'Permalink:', 'comment' ); ?></strong>
|
||||
<span id="sample-permalink"><a href="<?php echo $comment_link; ?>"><?php echo $comment_link; ?></a></span>
|
||||
<span id="sample-permalink">
|
||||
<a href="<?php echo esc_url( $comment_link ); ?>">
|
||||
<?php echo esc_html( $comment_link ); ?>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -23,7 +23,7 @@ if ( ! in_array( $tax->name, get_taxonomies( array( 'show_ui' => true ) ) ) ) {
|
||||
|
||||
if ( ! current_user_can( $tax->cap->manage_terms ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to manage terms in this taxonomy.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -72,7 +72,7 @@ case 'add-tag':
|
||||
|
||||
if ( ! current_user_can( $tax->cap->edit_terms ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to create terms in this taxonomy.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -96,7 +96,7 @@ case 'delete':
|
||||
|
||||
if ( ! current_user_can( 'delete_term', $tag_ID ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to delete this item.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -116,7 +116,7 @@ case 'bulk-delete':
|
||||
|
||||
if ( ! current_user_can( $tax->cap->delete_terms ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to delete these items.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
@@ -152,7 +152,7 @@ case 'editedtag':
|
||||
|
||||
if ( ! current_user_can( 'edit_term', $tag_ID ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
|
||||
@@ -36,7 +36,7 @@ if ( ! $post_type_object )
|
||||
|
||||
if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to edit posts in this post type.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
|
||||
@@ -14,6 +14,9 @@ $title = __( 'Freedoms' );
|
||||
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$is_privacy_notice = isset( $_GET['privacy-notice'] );
|
||||
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
|
||||
@@ -26,10 +29,21 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<h2 class="nav-tab-wrapper wp-clearfix">
|
||||
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab nav-tab-active"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab<?php if ( ! $is_privacy_notice ) { echo ' nav-tab-active'; } ?>"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab<?php if ( $is_privacy_notice ) { echo ' nav-tab-active'; } ?>"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<?php if ( $is_privacy_notice ) : ?>
|
||||
|
||||
<div class="about-wrap-content">
|
||||
<p class="about-description"><?php _e( 'From time to time, your WordPress site may send data to WordPress.org — including, but not limited to — the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
|
||||
|
||||
<p><?php printf( __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ), 'https://wordpress.org/about/stats/' ); ?></p>
|
||||
|
||||
<p><?php printf( __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ), 'https://wordpress.org/about/privacy/' ); ?></p>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
<div class="about-wrap-content">
|
||||
<p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p>
|
||||
|
||||
@@ -52,5 +66,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<p><?php _e( 'Don’t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
|
||||
|
||||
@@ -45,6 +45,11 @@ add_action( 'admin_head', 'wp_color_scheme_settings' );
|
||||
add_action( 'admin_head', 'wp_site_icon' );
|
||||
add_action( 'admin_head', '_ipad_meta' );
|
||||
|
||||
// Privacy tools
|
||||
add_action( 'admin_menu', '_wp_privacy_hook_requests_page' );
|
||||
add_action( 'load-tools_page_export_personal_data', '_wp_privacy_requests_screen_options' );
|
||||
add_action( 'load-tools_page_remove_personal_data', '_wp_privacy_requests_screen_options' );
|
||||
|
||||
// Prerendering.
|
||||
if ( ! is_customize_preview() ) {
|
||||
add_filter( 'admin_print_styles', 'wp_resource_hints', 1 );
|
||||
@@ -128,3 +133,24 @@ add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async
|
||||
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 );
|
||||
|
||||
// Privacy hooks
|
||||
add_filter( 'wp_privacy_personal_data_erasure_page', 'wp_privacy_process_personal_data_erasure_page', 10, 5 );
|
||||
add_filter( 'wp_privacy_personal_data_export_page', 'wp_privacy_process_personal_data_export_page', 10, 7 );
|
||||
add_action( 'wp_privacy_personal_data_export_file', 'wp_privacy_generate_personal_data_export_file', 10 );
|
||||
add_action( 'wp_privacy_personal_data_erased', '_wp_privacy_send_erasure_fulfillment_notification', 10 );
|
||||
|
||||
// Privacy policy text changes check.
|
||||
add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'text_change_check' ), 100 );
|
||||
|
||||
// Show a "postbox" with the text suggestions for a privacy policy.
|
||||
add_action( 'edit_form_after_title', array( 'WP_Privacy_Policy_Content', 'notice' ) );
|
||||
|
||||
// Add the suggested policy text from WordPress.
|
||||
add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'add_suggested_content' ), 1 );
|
||||
|
||||
// Update the cached policy info when the policy page is updated.
|
||||
add_action( 'post_updated', array( 'WP_Privacy_Policy_Content', '_policy_page_updated' ) );
|
||||
|
||||
// Append '(Draft)' to draft page titles in the privacy page dropdown.
|
||||
add_filter( 'list_pages', '_wp_privacy_settings_filter_draft_page_titles', 10, 2 );
|
||||
|
||||
@@ -1070,6 +1070,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 {
|
||||
@@ -2068,7 +2070,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'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2082,7 +2084,7 @@ function wp_ajax_upload_attachment() {
|
||||
'success' => false,
|
||||
'data' => array(
|
||||
'message' => __( 'Sorry, you are not allowed to attach files to this post.' ),
|
||||
'filename' => $_FILES['async-upload']['name'],
|
||||
'filename' => esc_html( $_FILES['async-upload']['name'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2092,7 +2094,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' ) ) ) {
|
||||
@@ -2102,7 +2108,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'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2117,7 +2123,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'] ),
|
||||
)
|
||||
) );
|
||||
|
||||
@@ -2442,7 +2448,7 @@ function wp_ajax_query_attachments() {
|
||||
$query = isset( $_REQUEST['query'] ) ? (array) $_REQUEST['query'] : array();
|
||||
$keys = array(
|
||||
's', 'order', 'orderby', 'posts_per_page', 'paged', 'post_mime_type',
|
||||
'post_parent', 'post__in', 'post__not_in', 'year', 'monthnum'
|
||||
'post_parent', 'author', 'post__in', 'post__not_in', 'year', 'monthnum'
|
||||
);
|
||||
foreach ( get_taxonomies_for_attachments( 'objects' ) as $t ) {
|
||||
if ( $t->query_var && isset( $query[ $t->query_var ] ) ) {
|
||||
@@ -4017,3 +4023,402 @@ function wp_ajax_edit_theme_plugin_file() {
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ajax handler for exporting a user's personal data.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*/
|
||||
function wp_ajax_wp_privacy_export_personal_data() {
|
||||
|
||||
if ( empty( $_POST['id'] ) ) {
|
||||
wp_send_json_error( __( 'Missing request ID.' ) );
|
||||
}
|
||||
$request_id = (int) $_POST['id'];
|
||||
|
||||
if ( $request_id < 1 ) {
|
||||
wp_send_json_error( __( 'Invalid request ID.' ) );
|
||||
}
|
||||
|
||||
if ( ! current_user_can( 'export_others_personal_data' ) ) {
|
||||
wp_send_json_error( __( 'Invalid request.' ) );
|
||||
}
|
||||
|
||||
check_ajax_referer( 'wp-privacy-export-personal-data-' . $request_id, 'security' );
|
||||
|
||||
// Get the request data.
|
||||
$request = wp_get_user_request_data( $request_id );
|
||||
|
||||
if ( ! $request || 'export_personal_data' !== $request->action_name ) {
|
||||
wp_send_json_error( __( 'Invalid request type.' ) );
|
||||
}
|
||||
|
||||
$email_address = $request->email;
|
||||
if ( ! is_email( $email_address ) ) {
|
||||
wp_send_json_error( __( 'A valid email address must be given.' ) );
|
||||
}
|
||||
|
||||
if ( ! isset( $_POST['exporter'] ) ) {
|
||||
wp_send_json_error( __( 'Missing exporter index.' ) );
|
||||
}
|
||||
$exporter_index = (int) $_POST['exporter'];
|
||||
|
||||
if ( ! isset( $_POST['page'] ) ) {
|
||||
wp_send_json_error( __( 'Missing page index.' ) );
|
||||
}
|
||||
$page = (int) $_POST['page'];
|
||||
|
||||
$send_as_email = isset( $_POST['sendAsEmail'] ) ? ( 'true' === $_POST['sendAsEmail'] ) : false;
|
||||
|
||||
/**
|
||||
* Filters the array of exporter callbacks.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of callable exporters of personal data. Default empty array.
|
||||
*
|
||||
* @type array {
|
||||
* Array of personal data exporters.
|
||||
*
|
||||
* @type string $callback Callable exporter function that accepts an
|
||||
* email address and a page and returns an array
|
||||
* of name => value pairs of personal data.
|
||||
* @type string $exporter_friendly_name Translated user facing friendly name for the
|
||||
* exporter.
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
$exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() );
|
||||
|
||||
if ( ! is_array( $exporters ) ) {
|
||||
wp_send_json_error( __( 'An exporter has improperly used the registration filter.' ) );
|
||||
}
|
||||
|
||||
// Do we have any registered exporters?
|
||||
if ( 0 < count( $exporters ) ) {
|
||||
if ( $exporter_index < 1 ) {
|
||||
wp_send_json_error( __( 'Exporter index cannot be negative.' ) );
|
||||
}
|
||||
|
||||
if ( $exporter_index > count( $exporters ) ) {
|
||||
wp_send_json_error( __( 'Exporter index out of range.' ) );
|
||||
}
|
||||
|
||||
if ( $page < 1 ) {
|
||||
wp_send_json_error( __( 'Page index cannot be less than one.' ) );
|
||||
}
|
||||
|
||||
$exporter_keys = array_keys( $exporters );
|
||||
$exporter_key = $exporter_keys[ $exporter_index - 1 ];
|
||||
$exporter = $exporters[ $exporter_key ];
|
||||
|
||||
if ( ! is_array( $exporter ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: array index */
|
||||
sprintf( __( 'Expected an array describing the exporter at index %s.' ), $exporter_key )
|
||||
);
|
||||
}
|
||||
if ( ! array_key_exists( 'exporter_friendly_name', $exporter ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: array index */
|
||||
sprintf( __( 'Exporter array at index %s does not include a friendly name.' ), $exporter_key )
|
||||
);
|
||||
}
|
||||
if ( ! array_key_exists( 'callback', $exporter ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: exporter friendly name */
|
||||
sprintf( __( 'Exporter does not include a callback: %s.' ), esc_html( $exporter['exporter_friendly_name'] ) )
|
||||
);
|
||||
}
|
||||
if ( ! is_callable( $exporter['callback'] ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: exporter friendly name */
|
||||
sprintf( __( 'Exporter callback is not a valid callback: %s.' ), esc_html( $exporter['exporter_friendly_name'] ) )
|
||||
);
|
||||
}
|
||||
|
||||
$callback = $exporter['callback'];
|
||||
$exporter_friendly_name = $exporter['exporter_friendly_name'];
|
||||
|
||||
$response = call_user_func( $callback, $email_address, $page );
|
||||
if ( is_wp_error( $response ) ) {
|
||||
wp_send_json_error( $response );
|
||||
}
|
||||
|
||||
if ( ! is_array( $response ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: exporter friendly name */
|
||||
sprintf( __( 'Expected response as an array from exporter: %s.' ), esc_html( $exporter_friendly_name ) )
|
||||
);
|
||||
}
|
||||
if ( ! array_key_exists( 'data', $response ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: exporter friendly name */
|
||||
sprintf( __( 'Expected data in response array from exporter: %s.' ), esc_html( $exporter_friendly_name ) )
|
||||
);
|
||||
}
|
||||
if ( ! is_array( $response['data'] ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: exporter friendly name */
|
||||
sprintf( __( 'Expected data array in response array from exporter: %s.' ), esc_html( $exporter_friendly_name ) )
|
||||
);
|
||||
}
|
||||
if ( ! array_key_exists( 'done', $response ) ) {
|
||||
wp_send_json_error(
|
||||
/* translators: %s: exporter friendly name */
|
||||
sprintf( __( 'Expected done (boolean) in response array from exporter: %s.' ), esc_html( $exporter_friendly_name ) )
|
||||
);
|
||||
}
|
||||
} else {
|
||||
// No exporters, so we're done.
|
||||
$exporter_key = '';
|
||||
|
||||
$response = array(
|
||||
'data' => array(),
|
||||
'done' => true,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters a page of personal data exporter data. Used to build the export report.
|
||||
*
|
||||
* Allows the export response to be consumed by destinations in addition to Ajax.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
* @param array $response The personal data for the given exporter and page.
|
||||
* @param int $exporter_index The index of the exporter that provided this data.
|
||||
* @param string $email_address The email address associated with this personal data.
|
||||
* @param int $page The page for this response.
|
||||
* @param int $request_id The privacy request post ID associated with this request.
|
||||
* @param bool $send_as_email Whether the final results of the export should be emailed to the user.
|
||||
* @param string $exporter_key The key (slug) of the exporter that provided this data.
|
||||
*/
|
||||
$response = apply_filters( 'wp_privacy_personal_data_export_page', $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key );
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
wp_send_json_error( $response );
|
||||
}
|
||||
|
||||
wp_send_json_success( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Ajax handler for erasing personal data.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*/
|
||||
function wp_ajax_wp_privacy_erase_personal_data() {
|
||||
|
||||
if ( empty( $_POST['id'] ) ) {
|
||||
wp_send_json_error( __( 'Missing request ID.' ) );
|
||||
}
|
||||
|
||||
$request_id = (int) $_POST['id'];
|
||||
|
||||
if ( $request_id < 1 ) {
|
||||
wp_send_json_error( __( 'Invalid request ID.' ) );
|
||||
}
|
||||
|
||||
// Both capabilities are required to avoid confusion, see `_wp_personal_data_removal_page()`.
|
||||
if ( ! current_user_can( 'erase_others_personal_data' ) || ! current_user_can( 'delete_users' ) ) {
|
||||
wp_send_json_error( __( 'Invalid request.' ) );
|
||||
}
|
||||
|
||||
check_ajax_referer( 'wp-privacy-erase-personal-data-' . $request_id, 'security' );
|
||||
|
||||
// Get the request data.
|
||||
$request = wp_get_user_request_data( $request_id );
|
||||
|
||||
if ( ! $request || 'remove_personal_data' !== $request->action_name ) {
|
||||
wp_send_json_error( __( 'Invalid request ID.' ) );
|
||||
}
|
||||
|
||||
$email_address = $request->email;
|
||||
|
||||
if ( ! is_email( $email_address ) ) {
|
||||
wp_send_json_error( __( 'Invalid email address in request.' ) );
|
||||
}
|
||||
|
||||
if ( ! isset( $_POST['eraser'] ) ) {
|
||||
wp_send_json_error( __( 'Missing eraser index.' ) );
|
||||
}
|
||||
|
||||
$eraser_index = (int) $_POST['eraser'];
|
||||
|
||||
if ( ! isset( $_POST['page'] ) ) {
|
||||
wp_send_json_error( __( 'Missing page index.' ) );
|
||||
}
|
||||
|
||||
$page = (int) $_POST['page'];
|
||||
|
||||
/**
|
||||
* Filters the array of personal data eraser callbacks.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of callable erasers of personal data. Default empty array.
|
||||
*
|
||||
* @type array {
|
||||
* Array of personal data exporters.
|
||||
*
|
||||
* @type string $callback Callable eraser that accepts an email address and
|
||||
* a page and returns an array with boolean values for
|
||||
* whether items were removed or retained and any messages
|
||||
* from the eraser, as well as if additional pages are
|
||||
* available.
|
||||
* @type string $exporter_friendly_name Translated user facing friendly name for the eraser.
|
||||
* }
|
||||
* }
|
||||
*/
|
||||
$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );
|
||||
|
||||
// Do we have any registered erasers?
|
||||
if ( 0 < count( $erasers ) ) {
|
||||
|
||||
if ( $eraser_index < 1 ) {
|
||||
wp_send_json_error( __( 'Eraser index cannot be less than one.' ) );
|
||||
}
|
||||
|
||||
if ( $eraser_index > count( $erasers ) ) {
|
||||
wp_send_json_error( __( 'Eraser index is out of range.' ) );
|
||||
}
|
||||
|
||||
if ( $page < 1 ) {
|
||||
wp_send_json_error( __( 'Page index cannot be less than one.' ) );
|
||||
}
|
||||
|
||||
$eraser_keys = array_keys( $erasers );
|
||||
$eraser_key = $eraser_keys[ $eraser_index - 1 ];
|
||||
$eraser = $erasers[ $eraser_key ];
|
||||
|
||||
if ( ! is_array( $eraser ) ) {
|
||||
/* translators: %d: array index */
|
||||
wp_send_json_error( sprintf( __( 'Expected an array describing the eraser at index %d.' ), $eraser_index ) );
|
||||
}
|
||||
|
||||
if ( ! array_key_exists( 'callback', $eraser ) ) {
|
||||
/* translators: %d: array index */
|
||||
wp_send_json_error( sprintf( __( 'Eraser array at index %d does not include a callback.' ), $eraser_index ) );
|
||||
}
|
||||
|
||||
if ( ! is_callable( $eraser['callback'] ) ) {
|
||||
/* translators: %d: array index */
|
||||
wp_send_json_error( sprintf( __( 'Eraser callback at index %d is not a valid callback.' ), $eraser_index ) );
|
||||
}
|
||||
|
||||
if ( ! array_key_exists( 'eraser_friendly_name', $eraser ) ) {
|
||||
/* translators: %d: array index */
|
||||
wp_send_json_error( sprintf( __( 'Eraser array at index %d does not include a friendly name.' ), $eraser_index ) );
|
||||
}
|
||||
|
||||
$callback = $eraser['callback'];
|
||||
$eraser_friendly_name = $eraser['eraser_friendly_name'];
|
||||
|
||||
$response = call_user_func( $callback, $email_address, $page );
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
wp_send_json_error( $response );
|
||||
}
|
||||
|
||||
if ( ! is_array( $response ) ) {
|
||||
wp_send_json_error(
|
||||
sprintf(
|
||||
/* translators: 1: eraser friendly name, 2: array index */
|
||||
__( 'Did not receive array from %1$s eraser (index %2$d).' ),
|
||||
esc_html( $eraser_friendly_name ),
|
||||
$eraser_index
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! array_key_exists( 'items_removed', $response ) ) {
|
||||
wp_send_json_error(
|
||||
sprintf(
|
||||
/* translators: 1: eraser friendly name, 2: array index */
|
||||
__( 'Expected items_removed key in response array from %1$s eraser (index %2$d).' ),
|
||||
esc_html( $eraser_friendly_name ),
|
||||
$eraser_index
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! array_key_exists( 'items_retained', $response ) ) {
|
||||
wp_send_json_error(
|
||||
sprintf(
|
||||
/* translators: 1: eraser friendly name, 2: array index */
|
||||
__( 'Expected items_retained key in response array from %1$s eraser (index %2$d).' ),
|
||||
esc_html( $eraser_friendly_name ),
|
||||
$eraser_index
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! array_key_exists( 'messages', $response ) ) {
|
||||
wp_send_json_error(
|
||||
sprintf(
|
||||
/* translators: 1: eraser friendly name, 2: array index */
|
||||
__( 'Expected messages key in response array from %1$s eraser (index %2$d).' ),
|
||||
esc_html( $eraser_friendly_name ),
|
||||
$eraser_index
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! is_array( $response['messages'] ) ) {
|
||||
wp_send_json_error(
|
||||
sprintf(
|
||||
/* translators: 1: eraser friendly name, 2: array index */
|
||||
__( 'Expected messages key to reference an array in response array from %1$s eraser (index %2$d).' ),
|
||||
esc_html( $eraser_friendly_name ),
|
||||
$eraser_index
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! array_key_exists( 'done', $response ) ) {
|
||||
wp_send_json_error(
|
||||
sprintf(
|
||||
/* translators: 1: eraser friendly name, 2: array index */
|
||||
__( 'Expected done flag in response array from %1$s eraser (index %2$d).' ),
|
||||
esc_html( $eraser_friendly_name ),
|
||||
$eraser_index
|
||||
)
|
||||
);
|
||||
}
|
||||
} else {
|
||||
// No erasers, so we're done.
|
||||
$eraser_key = '';
|
||||
|
||||
$response = array(
|
||||
'items_removed' => false,
|
||||
'items_retained' => false,
|
||||
'messages' => array(),
|
||||
'done' => true,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters a page of personal data eraser data.
|
||||
*
|
||||
* Allows the erasure response to be consumed by destinations in addition to Ajax.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
* @param array $response The personal data for the given exporter and page.
|
||||
* @param int $eraser_index The index of the eraser that provided this data.
|
||||
* @param string $email_address The email address associated with this personal data.
|
||||
* @param int $page The page for this response.
|
||||
* @param int $request_id The privacy request post ID associated with this request.
|
||||
* @param string $eraser_key The key (slug) of the eraser that provided this data.
|
||||
*/
|
||||
$response = apply_filters( 'wp_privacy_personal_data_erasure_page', $response, $eraser_index, $email_address, $page, $request_id, $eraser_key );
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
wp_send_json_error( $response );
|
||||
}
|
||||
|
||||
wp_send_json_success( $response );
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ function add_link() {
|
||||
function edit_link( $link_id = 0 ) {
|
||||
if ( ! current_user_can( 'manage_links' ) ) {
|
||||
wp_die(
|
||||
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
|
||||
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
|
||||
'<p>' . __( 'Sorry, you are not allowed to edit the links for this site.' ) . '</p>',
|
||||
403
|
||||
);
|
||||
|
||||
@@ -234,7 +234,6 @@ class WP_Community_Events {
|
||||
*/
|
||||
public static function get_unsafe_client_ip() {
|
||||
$client_ip = $netmask = false;
|
||||
$ip_prefix = '';
|
||||
|
||||
// In order of preference, with the best ones for this purpose first.
|
||||
$address_headers = array(
|
||||
@@ -265,43 +264,13 @@ class WP_Community_Events {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Detect what kind of IP address this is.
|
||||
$is_ipv6 = substr_count( $client_ip, ':' ) > 1;
|
||||
$is_ipv4 = ( 3 === substr_count( $client_ip, '.' ) );
|
||||
$anon_ip = wp_privacy_anonymize_ip( $client_ip, true );
|
||||
|
||||
if ( $is_ipv6 && $is_ipv4 ) {
|
||||
// IPv6 compatibility mode, temporarily strip the IPv6 part, and treat it like IPv4.
|
||||
$ip_prefix = '::ffff:';
|
||||
$client_ip = preg_replace( '/^\[?[0-9a-f:]*:/i', '', $client_ip );
|
||||
$client_ip = str_replace( ']', '', $client_ip );
|
||||
$is_ipv6 = false;
|
||||
}
|
||||
|
||||
if ( $is_ipv6 ) {
|
||||
// IPv6 addresses will always be enclosed in [] if there's a port.
|
||||
$ip_start = 1;
|
||||
$ip_end = (int) strpos( $client_ip, ']' ) - 1;
|
||||
$netmask = 'ffff:ffff:ffff:ffff:0000:0000:0000:0000';
|
||||
|
||||
// Strip the port (and [] from IPv6 addresses), if they exist.
|
||||
if ( $ip_end > 0 ) {
|
||||
$client_ip = substr( $client_ip, $ip_start, $ip_end );
|
||||
}
|
||||
|
||||
// Partially anonymize the IP by reducing it to the corresponding network ID.
|
||||
if ( function_exists( 'inet_pton' ) && function_exists( 'inet_ntop' ) ) {
|
||||
$client_ip = inet_ntop( inet_pton( $client_ip ) & inet_pton( $netmask ) );
|
||||
}
|
||||
} elseif ( $is_ipv4 ) {
|
||||
// Strip any port and partially anonymize the IP.
|
||||
$last_octet_position = strrpos( $client_ip, '.' );
|
||||
$client_ip = substr( $client_ip, 0, $last_octet_position ) . '.0';
|
||||
} else {
|
||||
if ( '0.0.0.0' === $anon_ip || '::' === $anon_ip ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Restore the IPv6 prefix to compatibility mode addresses.
|
||||
return $ip_prefix . $client_ip;
|
||||
return $anon_ip;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -416,20 +385,33 @@ class WP_Community_Events {
|
||||
}
|
||||
|
||||
/**
|
||||
* Discards expired events, and reduces the remaining list.
|
||||
* Prepares the event list for presentation.
|
||||
*
|
||||
* Discards expired events, and makes WordCamps "sticky." Attendees need more
|
||||
* advanced notice about WordCamps than they do for meetups, so camps should
|
||||
* appear in the list sooner. If a WordCamp is coming up, the API will "stick"
|
||||
* it in the response, even if it wouldn't otherwise appear. When that happens,
|
||||
* the event will be at the end of the list, and will need to be moved into a
|
||||
* higher position, so that it doesn't get trimmed off.
|
||||
*
|
||||
* @since 4.8.0
|
||||
* @since 4.9.7 Stick a WordCamp to the final list.
|
||||
*
|
||||
* @param array $response_body The response body which contains the events.
|
||||
* @return array The response body with events trimmed.
|
||||
*/
|
||||
protected function trim_events( $response_body ) {
|
||||
if ( isset( $response_body['events'] ) ) {
|
||||
$wordcamps = array();
|
||||
$current_timestamp = current_time( 'timestamp' );
|
||||
|
||||
foreach ( $response_body['events'] as $key => $event ) {
|
||||
// Skip WordCamps, because they might be multi-day events.
|
||||
if ( 'meetup' !== $event['type'] ) {
|
||||
/*
|
||||
* Skip WordCamps, because they might be multi-day events.
|
||||
* Save a copy so they can be pinned later.
|
||||
*/
|
||||
if ( 'wordcamp' === $event['type'] ) {
|
||||
$wordcamps[] = $event;
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -441,6 +423,13 @@ class WP_Community_Events {
|
||||
}
|
||||
|
||||
$response_body['events'] = array_slice( $response_body['events'], 0, 3 );
|
||||
$trimmed_event_types = wp_list_pluck( $response_body['events'], 'type' );
|
||||
|
||||
// Make sure the soonest upcoming WordCamps is pinned in the list.
|
||||
if ( ! in_array( 'wordcamp', $trimmed_event_types ) && $wordcamps ) {
|
||||
array_pop( $response_body['events'] );
|
||||
array_push( $response_body['events'], $wordcamps[0] );
|
||||
}
|
||||
}
|
||||
|
||||
return $response_body;
|
||||
|
||||
@@ -43,7 +43,7 @@ final class WP_Internal_Pointers {
|
||||
* )
|
||||
*/
|
||||
$registered_pointers = array(
|
||||
// None currently
|
||||
'index.php' => 'wp496_privacy',
|
||||
);
|
||||
|
||||
// Check if screen related pointer is registered
|
||||
@@ -66,7 +66,11 @@ final class WP_Internal_Pointers {
|
||||
* )
|
||||
*/
|
||||
$caps_required = array(
|
||||
// None currently
|
||||
'wp496_privacy' => array(
|
||||
'manage_privacy_options',
|
||||
'export_others_personal_data',
|
||||
'erase_others_personal_data',
|
||||
),
|
||||
);
|
||||
|
||||
// Get dismissed pointers
|
||||
@@ -151,6 +155,39 @@ final class WP_Internal_Pointers {
|
||||
public static function pointer_wp390_widgets() {}
|
||||
public static function pointer_wp410_dfw() {}
|
||||
|
||||
/**
|
||||
* Display a pointer for the new privacy tools.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*/
|
||||
public static function pointer_wp496_privacy() {
|
||||
$content = '<h3>' . __( 'Personal Data and Privacy' ) . '</h3>';
|
||||
$content .= '<h4>' . __( 'Personal Data Export and Erasure' ) . '</h4>';
|
||||
$content .= '<p>' . __( 'New <strong>Tools</strong> have been added to help you with personal data export and erasure requests.' ) . '</p>';
|
||||
$content .= '<h4>' . __( 'Privacy Policy' ) . '</h4>';
|
||||
$content .= '<p>' . __( 'Create or select your site’s privacy policy page under <strong>Settings > Privacy</strong> to keep your users informed and aware.' ) . '</p>';
|
||||
|
||||
if ( is_rtl() ) {
|
||||
$position = array(
|
||||
'edge' => 'right',
|
||||
'align' => 'bottom',
|
||||
);
|
||||
} else {
|
||||
$position = array(
|
||||
'edge' => 'left',
|
||||
'align' => 'bottom',
|
||||
);
|
||||
}
|
||||
|
||||
$js_args = array(
|
||||
'content' => $content,
|
||||
'position' => $position,
|
||||
'pointerClass' => 'wp-pointer arrow-bottom',
|
||||
'pointerWidth' => 420,
|
||||
);
|
||||
self::print_js( 'wp496_privacy', '#menu-tools', $js_args );
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevents new users from seeing existing 'new feature' pointers.
|
||||
*
|
||||
@@ -161,6 +198,6 @@ final class WP_Internal_Pointers {
|
||||
* @param int $user_id User ID.
|
||||
*/
|
||||
public static function dismiss_pointers_for_new_users( $user_id ) {
|
||||
add_user_meta( $user_id, 'dismissed_wp_pointers', '' );
|
||||
add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp496_privacy' );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,8 +119,15 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
$label[0]
|
||||
);
|
||||
}
|
||||
|
||||
$type_links['detached'] = '<option value="detached"' . ( $this->detached ? ' selected="selected"' : '' ) . '>' . __( 'Unattached' ) . '</option>';
|
||||
|
||||
$type_links['mine'] = sprintf(
|
||||
'<option value="mine"%s>%s</option>',
|
||||
selected( 'mine' === $filter, true, false ),
|
||||
_x( 'Mine', 'media items' )
|
||||
);
|
||||
|
||||
if ( $this->is_trash || ( defined( 'MEDIA_TRASH') && MEDIA_TRASH ) ) {
|
||||
$type_links['trash'] = sprintf(
|
||||
'<option value="trash"%s>%s</option>',
|
||||
@@ -128,6 +135,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
_x( 'Trash', 'attachment filter' )
|
||||
);
|
||||
}
|
||||
|
||||
return $type_links;
|
||||
}
|
||||
|
||||
|
||||
@@ -255,6 +255,10 @@ class WP_MS_Users_List_Table extends WP_List_Table {
|
||||
public function column_name( $user ) {
|
||||
if ( $user->first_name && $user->last_name ) {
|
||||
echo "$user->first_name $user->last_name";
|
||||
} elseif ( $user->first_name ) {
|
||||
echo $user->first_name;
|
||||
} elseif ( $user->last_name ) {
|
||||
echo $user->last_name;
|
||||
} else {
|
||||
echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . _x( 'Unknown', 'name' ) . '</span>';
|
||||
}
|
||||
|
||||
@@ -270,7 +270,9 @@ final class WP_Screen {
|
||||
|
||||
switch ( $base ) {
|
||||
case 'post' :
|
||||
if ( isset( $_GET['post'] ) )
|
||||
if ( isset( $_GET['post'] ) && isset( $_POST['post_ID'] ) && (int) $_GET['post'] !== (int) $_POST['post_ID'] )
|
||||
wp_die( __( 'A post ID mismatch has been detected.' ), __( 'Sorry, you are not allowed to edit this item.' ), 400 );
|
||||
elseif ( isset( $_GET['post'] ) )
|
||||
$post_id = (int) $_GET['post'];
|
||||
elseif ( isset( $_POST['post_ID'] ) )
|
||||
$post_id = (int) $_POST['post_ID'];
|
||||
@@ -1020,7 +1022,10 @@ final class WP_Screen {
|
||||
update_user_meta( get_current_user_id(), 'show_welcome_panel', $welcome_checked );
|
||||
} else {
|
||||
$welcome_checked = get_user_meta( get_current_user_id(), 'show_welcome_panel', true );
|
||||
if ( 2 == $welcome_checked && wp_get_current_user()->user_email != get_option( 'admin_email' ) ) {
|
||||
if ( '' === $welcome_checked ) {
|
||||
$welcome_checked = '1';
|
||||
}
|
||||
if ( '2' === $welcome_checked && wp_get_current_user()->user_email != get_option( 'admin_email' ) ) {
|
||||
$welcome_checked = false;
|
||||
}
|
||||
}
|
||||
@@ -1028,6 +1033,7 @@ final class WP_Screen {
|
||||
echo '<input type="checkbox" id="wp_welcome_panel-hide"' . checked( (bool) $welcome_checked, true, false ) . ' />';
|
||||
echo _x( 'Welcome', 'Welcome panel' ) . "</label>\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</fieldset>
|
||||
<?php
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user