Compare commits
167 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
974063fd8e | ||
|
|
60e90ad7c6 | ||
|
|
ab61d84ae4 | ||
|
|
72431d4111 | ||
|
|
ddc233bc17 | ||
|
|
ee7c7b71f5 | ||
|
|
33101d0a78 | ||
|
|
006c1baf95 | ||
|
|
91fae85687 | ||
|
|
a0464a56a7 | ||
|
|
aa4f24179e | ||
|
|
65e7638ee8 | ||
|
|
84645e0cb9 | ||
|
|
e888732769 | ||
|
|
e3221c7d25 | ||
|
|
0ebcbe65d6 | ||
|
|
432a1065cd | ||
|
|
2c03ecf9b1 | ||
|
|
7c0a526276 | ||
|
|
5a4b00a618 | ||
|
|
5702452f4b | ||
|
|
504360c3e0 | ||
|
|
433a1c9f31 | ||
|
|
ffd641f40a | ||
|
|
8043803e2e | ||
|
|
36cc3aab1a | ||
|
|
cf023b82bd | ||
|
|
3f4fe8f059 | ||
|
|
4c0fc42454 | ||
|
|
b4da91521f | ||
|
|
130b6904f3 | ||
|
|
0cf9faf171 | ||
|
|
8dd5c0cdec | ||
|
|
505afcd180 | ||
|
|
94cd77983b | ||
|
|
8b8aef2834 | ||
|
|
8e6550737f | ||
|
|
0d6541c100 | ||
|
|
ff95ac1af3 | ||
|
|
4f0367ef88 | ||
|
|
a0ec22dbda | ||
|
|
b8368e4d72 | ||
|
|
c9886c5357 | ||
|
|
bf5d4c15cc | ||
|
|
7d171684bc | ||
|
|
da95cca74c | ||
|
|
373c82a7c4 | ||
|
|
42a430a0a9 | ||
|
|
d60f90873c | ||
|
|
9380cf2995 | ||
|
|
e9ecfd078e | ||
|
|
0ca56956ae | ||
|
|
cbc773dcbb | ||
|
|
e5e18e9b15 | ||
|
|
c4a25f9386 | ||
|
|
f0335c6a8b | ||
|
|
f82ed753cf | ||
|
|
c83ea95120 | ||
|
|
5753d19fe4 | ||
|
|
e4b3059eb2 | ||
|
|
fd1d9bb298 | ||
|
|
e3194da7eb | ||
|
|
2df5a45321 | ||
|
|
cbd492abd3 | ||
|
|
a3c199b473 | ||
|
|
50f2f05956 | ||
|
|
affedce0a8 | ||
|
|
684ef4e3a7 | ||
|
|
4315d85d65 | ||
|
|
6a63bf0361 | ||
|
|
c4999912e7 | ||
|
|
6e45fa6779 | ||
|
|
dbfcb74609 | ||
|
|
6b8460ee43 | ||
|
|
7a64dfb557 | ||
|
|
5bb75cf4fd | ||
|
|
f6a419e564 | ||
|
|
49d9d2dc57 | ||
|
|
61461dfa07 | ||
|
|
6faaa121a8 | ||
|
|
bd7d21bc49 | ||
|
|
cfce1bcf97 | ||
|
|
0eb803e871 | ||
|
|
fc5723d396 | ||
|
|
8cf11a944f | ||
|
|
c1c7188c8a | ||
|
|
4ef44b9ab0 | ||
|
|
90c221a67c | ||
|
|
ad85b0fe1d | ||
|
|
b967202110 | ||
|
|
e256b2897b | ||
|
|
303034e393 | ||
|
|
7b8b2a7f5c | ||
|
|
18987f840c | ||
|
|
7b82b8fd18 | ||
|
|
7ab695d1d6 | ||
|
|
d8a0523887 | ||
|
|
e81b064b0b | ||
|
|
22eb801023 | ||
|
|
37b995b2bb | ||
|
|
7bde97c5d1 | ||
|
|
65463622a1 | ||
|
|
e58fe38b12 | ||
|
|
41aff9bd35 | ||
|
|
3fe25878ba | ||
|
|
7447c360b5 | ||
|
|
d1cec4590f | ||
|
|
5d7e433b1d | ||
|
|
70a8322fd3 | ||
|
|
63870541c7 | ||
|
|
3d1f02b537 | ||
|
|
6b63fc5845 | ||
|
|
cddad01ede | ||
|
|
3b157938be | ||
|
|
8da585f83f | ||
|
|
b2fbbe2100 | ||
|
|
7eab77d326 | ||
|
|
e28153577f | ||
|
|
f8677253e4 | ||
|
|
c3bc45b95d | ||
|
|
426d43abb7 | ||
|
|
3b810cf2a3 | ||
|
|
51fa88c742 | ||
|
|
4e82993677 | ||
|
|
5db435f564 | ||
|
|
f1239a817e | ||
|
|
67a2425575 | ||
|
|
da22a1cc85 | ||
|
|
b3425b83cd | ||
|
|
d1ff0af1e7 | ||
|
|
8b6279d42c | ||
|
|
d7266b423d | ||
|
|
1c574a4d6b | ||
|
|
0e0e8daf1d | ||
|
|
10effe89b5 | ||
|
|
4ce6eb57b6 | ||
|
|
2e6afd6f81 | ||
|
|
a582a30bf4 | ||
|
|
50cec5733c | ||
|
|
f47af3f8d6 | ||
|
|
6ba2cde3a3 | ||
|
|
7b594da461 | ||
|
|
3715885b2b | ||
|
|
12a29911fb | ||
|
|
84256959b7 | ||
|
|
9bb8bd243e | ||
|
|
608c219a7d | ||
|
|
4319986977 | ||
|
|
056dae6ac5 | ||
|
|
a32c70deb9 | ||
|
|
36bf915264 | ||
|
|
3386574b51 | ||
|
|
6400dfff00 | ||
|
|
64f5990104 | ||
|
|
08844a2c42 | ||
|
|
5bb4b73062 | ||
|
|
6d0e5ee9d0 | ||
|
|
7d01e72e43 | ||
|
|
179aa5ca3d | ||
|
|
d8620b86c7 | ||
|
|
43aa419c4b | ||
|
|
a97d03e4d0 | ||
|
|
03171ca85f | ||
|
|
0cea1e1e76 | ||
|
|
32fce28909 | ||
|
|
dd6391bb09 | ||
|
|
762573a32e |
@@ -24,7 +24,15 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Congratulations on updating to WordPress 5.2! This update makes it easier than ever to fix your site if something goes wrong.' ), $display_version ); ?></p>
|
||||
<p class="about-text">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number */
|
||||
__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
|
||||
$display_version
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<div class="wp-badge">
|
||||
<?php
|
||||
@@ -34,17 +42,426 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
</div>
|
||||
|
||||
<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="about.php" class="nav-tab nav-tab-active" aria-current="page"><?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="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</nav>
|
||||
|
||||
<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.' ),
|
||||
'5.2.19'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.19' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.18'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.18' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.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( '5.2.17' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.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( '5.2.16' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.2.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( '5.2.15' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.14'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.14' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.2.13'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.13' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.12'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.12' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||
'5.2.11'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.11' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.10'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.10' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
1
|
||||
),
|
||||
'5.2.9',
|
||||
number_format_i18n( 1 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.9' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.8'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.8' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
2
|
||||
),
|
||||
'5.2.7',
|
||||
number_format_i18n( 2 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.7' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.6'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.6' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.5'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.5' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.2.4'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.4' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
29
|
||||
),
|
||||
'5.2.3',
|
||||
number_format_i18n( 29 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.3' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</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.',
|
||||
13
|
||||
),
|
||||
'5.2.2',
|
||||
number_format_i18n( 13 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
33
|
||||
),
|
||||
'5.2.1',
|
||||
number_format_i18n( 33 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.2.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="headline-feature">
|
||||
<h2><?php _e( 'Keeping Your Site Safe' ); ?></h2>
|
||||
<p class="lead-description"><?php _e( 'WordPress 5.2 gives you even more robust tools for identifying and fixing configuration issues and fatal errors. Whether you are a developer helping clients or you manage your site solo, these tools can help get you the right information when you need it.' ); ?></p>
|
||||
<div class="inline-svg aligncenter">
|
||||
<img src="https://make.wordpress.org/core/files/2019/05/about_maintain-wordpress.png" alt="">
|
||||
<img src="https://s.w.org/images/core/5.2/about_maintain-wordpress-v2.svg" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -89,7 +506,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
</div>
|
||||
<div class="column is-vertically-aligned-center">
|
||||
<h3><?php _e( 'PHP Error Protection' ); ?></h3>
|
||||
<p><?php _e( 'This administrator-focused update will let you safely fix or manage fatal errors without requiring developer time. It features better handling of the so-called “white screen of death,” and a way to enter recovery mode, which pauses error-causing plugins or themes.' ); ?></p>
|
||||
<p><?php _e( 'This administrator-focused update will let you safely fix or manage fatal errors without requiring a developer. It features better handling of the so-called “white screen of death”, and a way to enter recovery mode, which pauses error-causing plugins or themes.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -194,3 +611,15 @@ _n_noop(
|
||||
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: Link to update WordPress */
|
||||
__( 'Important! Your version of WordPress (%1$s) is no longer supported, you will not receive any security updates for your website. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: Link to update WordPress */
|
||||
__( 'Important! Your version of WordPress (%1$s) will stop receiving security updates in the near future. To keep your site secure, please <a href="%2$s">update to the latest version of WordPress</a>.' );
|
||||
|
||||
/* translators: %s: The major version of WordPress for this branch. */
|
||||
__( 'This is the final release of WordPress %s' );
|
||||
|
||||
/* translators: The localized WordPress download URL. */
|
||||
__( 'https://wordpress.org/download/' );
|
||||
|
||||
@@ -82,13 +82,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' );
|
||||
|
||||
@@ -18,15 +18,33 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
<h1>
|
||||
<?php
|
||||
/* translators: %s: The current WordPress version number */
|
||||
printf( __( 'Welcome to WordPress %s' ), $display_version );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p>
|
||||
<p class="about-text">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number */
|
||||
__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
|
||||
$display_version
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
<div class="wp-badge">
|
||||
<?php
|
||||
/* translators: %s: The current WordPress version number */
|
||||
printf( __( 'Version %s' ), $display_version );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<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="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</nav>
|
||||
@@ -38,8 +56,8 @@ $credits = wp_credits();
|
||||
|
||||
if ( ! $credits ) {
|
||||
echo '<p class="about-description">';
|
||||
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
|
||||
printf(
|
||||
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
|
||||
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
|
||||
'https://wordpress.org/about/',
|
||||
__( 'https://make.wordpress.org/' )
|
||||
@@ -123,6 +141,7 @@ return;
|
||||
|
||||
// These are strings returned by the API that we want to be translatable
|
||||
__( 'Project Leaders' );
|
||||
/* translators: %s: The current WordPress version number */
|
||||
__( 'Core Contributors to WordPress %s' );
|
||||
__( 'Noteworthy Contributors' );
|
||||
__( 'Cofounder, Project Lead' );
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
.about-wrap .inline-svg img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@@ -343,6 +343,7 @@
|
||||
|
||||
.about-wrap .headline-feature img {
|
||||
max-width: 600px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Return to Dashboard Home link */
|
||||
|
||||
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
@@ -52,7 +52,7 @@
|
||||
|
||||
.about-wrap .inline-svg img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@@ -343,6 +343,7 @@
|
||||
|
||||
.about-wrap .headline-feature img {
|
||||
max-width: 600px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Return to Dashboard Home link */
|
||||
|
||||
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
@@ -1,5 +1,7 @@
|
||||
/* rtl:ignore */
|
||||
.wp-color-picker {
|
||||
width: 80px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wp-picker-container .hidden {
|
||||
@@ -39,7 +41,7 @@
|
||||
border-right: 1px solid #999;
|
||||
}
|
||||
|
||||
.wp-picker-containers {
|
||||
.wp-picker-container {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
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:2;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{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:1.4;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:1.15}.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:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.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:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px;direction:ltr}.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:2;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-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-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:1.4;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:1.15}.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:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.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:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
@@ -1,5 +1,7 @@
|
||||
/* rtl:ignore */
|
||||
.wp-color-picker {
|
||||
width: 80px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wp-picker-container .hidden {
|
||||
@@ -39,7 +41,7 @@
|
||||
border-left: 1px solid #999;
|
||||
}
|
||||
|
||||
.wp-picker-containers {
|
||||
.wp-picker-container {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
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:2;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{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:1.4;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:1.15}.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:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.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:2.1}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px;direction:ltr}.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:2;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-container{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-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:1.4;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:1.15}.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:2.1}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:2}.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:2.1}.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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -534,4 +518,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -534,4 +518,4 @@ div#wp-responsive-toggle a:before {
|
||||
.theme-section.current,
|
||||
.theme-filter.current {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
@@ -184,7 +170,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,
|
||||
@@ -203,7 +188,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,
|
||||
@@ -516,4 +500,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;
|
||||
}
|
||||
}
|
||||
@@ -1659,6 +1659,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
float: left;
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
|
||||
@@ -1675,13 +1676,8 @@ form.upgrade .hint {
|
||||
|
||||
#screen-options-link-wrap,
|
||||
#contextual-help-link-wrap {
|
||||
float: left;
|
||||
height: 28px;
|
||||
float: right;
|
||||
margin: 0 6px 0 0;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#screen-meta-links .screen-meta-toggle {
|
||||
@@ -1690,12 +1686,17 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings {
|
||||
border: 0;
|
||||
background: none;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
border-bottom-color: #ccc;
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
padding: 3px 16px 3px 6px;
|
||||
background: #fff;
|
||||
border-radius: 0;
|
||||
color: #72777c;
|
||||
line-height: 1.7;
|
||||
padding: 3px 16px 3px 6px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:hover,
|
||||
@@ -1704,8 +1705,12 @@ form.upgrade .hint {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:active {
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -2458,11 +2463,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;
|
||||
}
|
||||
@@ -2497,7 +2502,7 @@ div.star-holder .star-rating {
|
||||
}
|
||||
|
||||
.rtl .star-rating .star-half {
|
||||
transform: rotateY(180deg);
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
|
||||
.star-rating .star-empty:before {
|
||||
@@ -2651,12 +2656,17 @@ div.action-links {
|
||||
left: 250px;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin-top: 10px;
|
||||
margin-left: 250px; /* FYI box */
|
||||
padding: 10px 26px;
|
||||
margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */
|
||||
padding-bottom: 99999px; /* equal height column trick */
|
||||
}
|
||||
|
||||
#section-holder .notice {
|
||||
margin: 5px 0 15px;
|
||||
}
|
||||
|
||||
#section-holder .updated {
|
||||
margin: 16px 0;
|
||||
}
|
||||
@@ -3654,7 +3664,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;
|
||||
}
|
||||
|
||||
@@ -3686,6 +3696,10 @@ img {
|
||||
padding-top: 46px;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: -39px;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 240px;
|
||||
overflow-x: hidden;
|
||||
@@ -3706,6 +3720,7 @@ img {
|
||||
}
|
||||
|
||||
.wrap {
|
||||
clear: both;
|
||||
margin-left: 12px;
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -3966,7 +3981,7 @@ img {
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
margin-bottom: 60px; /* Add margins beneath links for better spacing between boxes and elements */
|
||||
margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3982,6 +3997,10 @@ img {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
#wpbody {
|
||||
padding-top: 46px;
|
||||
}
|
||||
|
||||
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
@@ -1659,6 +1659,7 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
float: right;
|
||||
margin: 0 20px 0 0;
|
||||
}
|
||||
|
||||
@@ -1675,13 +1676,8 @@ form.upgrade .hint {
|
||||
|
||||
#screen-options-link-wrap,
|
||||
#contextual-help-link-wrap {
|
||||
float: right;
|
||||
height: 28px;
|
||||
float: left;
|
||||
margin: 0 0 0 6px;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
#screen-meta-links .screen-meta-toggle {
|
||||
@@ -1690,12 +1686,17 @@ form.upgrade .hint {
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings {
|
||||
border: 0;
|
||||
background: none;
|
||||
border: 1px solid #ddd;
|
||||
border-top: none;
|
||||
border-bottom-color: #ccc;
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
padding: 3px 6px 3px 16px;
|
||||
background: #fff;
|
||||
border-radius: 0;
|
||||
color: #72777c;
|
||||
line-height: 1.7;
|
||||
padding: 3px 6px 3px 16px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:hover,
|
||||
@@ -1704,8 +1705,12 @@ form.upgrade .hint {
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:focus {
|
||||
border-color: #5b9dd9;
|
||||
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
|
||||
}
|
||||
|
||||
#screen-meta-links .show-settings:active {
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
@@ -2651,12 +2656,17 @@ div.action-links {
|
||||
right: 250px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin-top: 10px;
|
||||
margin-right: 250px; /* FYI box */
|
||||
padding: 10px 26px;
|
||||
margin-bottom: -99939px; /* 60px less than the padding below to accommodate footer */
|
||||
padding-bottom: 99999px; /* equal height column trick */
|
||||
}
|
||||
|
||||
#section-holder .notice {
|
||||
margin: 5px 0 15px;
|
||||
}
|
||||
|
||||
#section-holder .updated {
|
||||
margin: 16px 0;
|
||||
}
|
||||
@@ -3686,6 +3696,10 @@ img {
|
||||
padding-top: 46px;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: -39px;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 240px;
|
||||
overflow-x: hidden;
|
||||
@@ -3706,6 +3720,7 @@ img {
|
||||
}
|
||||
|
||||
.wrap {
|
||||
clear: both;
|
||||
margin-right: 12px;
|
||||
margin-left: 0;
|
||||
}
|
||||
@@ -3966,7 +3981,7 @@ img {
|
||||
}
|
||||
|
||||
#screen-meta-links {
|
||||
margin-bottom: 60px; /* Add margins beneath links for better spacing between boxes and elements */
|
||||
margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3982,6 +3997,10 @@ img {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.screen-reader-shortcut:focus {
|
||||
top: 7px;
|
||||
}
|
||||
|
||||
#wpbody {
|
||||
padding-top: 46px;
|
||||
}
|
||||
|
||||
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
@@ -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
@@ -464,7 +464,7 @@ fieldset label,
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -1px 0 5px;
|
||||
margin: -1px 1px 5px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 25em;
|
||||
@@ -522,7 +522,7 @@ fieldset label,
|
||||
|
||||
.wp-pwd [type="text"],
|
||||
.wp-pwd [type="password"] {
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
/* Same height as the buttons */
|
||||
line-height: 20px;
|
||||
min-height: 28px;
|
||||
@@ -542,10 +542,6 @@ fieldset label,
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
p.search-box {
|
||||
float: left;
|
||||
margin: 0;
|
||||
@@ -801,6 +797,7 @@ table.form-table td .updated p {
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Press this styles */
|
||||
@@ -1549,6 +1546,9 @@ table.form-table td .updated p {
|
||||
.wp-list-table.privacy_requests.widefat thead td input {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.regular-text {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
|
||||
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
@@ -464,7 +464,7 @@ fieldset label,
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -1px 0 5px;
|
||||
margin: -1px 1px 5px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 25em;
|
||||
@@ -522,7 +522,7 @@ fieldset label,
|
||||
|
||||
.wp-pwd [type="text"],
|
||||
.wp-pwd [type="password"] {
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
/* Same height as the buttons */
|
||||
line-height: 20px;
|
||||
min-height: 28px;
|
||||
@@ -542,10 +542,6 @@ fieldset label,
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
p.search-box {
|
||||
float: right;
|
||||
margin: 0;
|
||||
@@ -801,6 +797,7 @@ table.form-table td .updated p {
|
||||
border: 1px solid #e5e5e5;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Press this styles */
|
||||
@@ -1549,6 +1546,9 @@ table.form-table td .updated p {
|
||||
.wp-list-table.privacy_requests.widefat thead td input {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.regular-text {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
|
||||
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
@@ -174,8 +174,9 @@ submit {
|
||||
.form-table input[type=text],
|
||||
.form-table input[type=email],
|
||||
.form-table input[type=url],
|
||||
.form-table input[type=password] {
|
||||
width: 206px;
|
||||
.form-table input[type=password],
|
||||
#pass-strength-result {
|
||||
width: 218px;
|
||||
}
|
||||
|
||||
.form-table th p {
|
||||
@@ -212,66 +213,6 @@ submit {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
.wp-hide-pw > .dashicons {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -2px 0px 5px 5px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 218px;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result.short {
|
||||
background-color: #f1adad;
|
||||
border-color: #e35b5b;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.bad {
|
||||
background-color: #fbc5a9;
|
||||
border-color: #f78b53;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.good {
|
||||
background-color: #ffe399;
|
||||
border-color: #ffc733;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.strong {
|
||||
background-color: #c1e1b9;
|
||||
border-color: #83c373;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass1.short, #pass1-text.short {
|
||||
border-color: #e35b5b;
|
||||
}
|
||||
|
||||
#pass1.bad, #pass1-text.bad {
|
||||
border-color: #f78b53;
|
||||
}
|
||||
|
||||
#pass1.good, #pass1-text.good {
|
||||
border-color: #ffc733;
|
||||
}
|
||||
|
||||
#pass1.strong, #pass1-text.strong {
|
||||
border-color: #83c373;
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-right: 4px solid #dc3232;
|
||||
padding: .7em .6em;
|
||||
@@ -291,20 +232,6 @@ submit {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#pass1-text,
|
||||
.show-password #pass1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.show-password #pass1-text
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
/* localization */
|
||||
body.rtl,
|
||||
|
||||
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
@@ -174,8 +174,9 @@ submit {
|
||||
.form-table input[type=text],
|
||||
.form-table input[type=email],
|
||||
.form-table input[type=url],
|
||||
.form-table input[type=password] {
|
||||
width: 206px;
|
||||
.form-table input[type=password],
|
||||
#pass-strength-result {
|
||||
width: 218px;
|
||||
}
|
||||
|
||||
.form-table th p {
|
||||
@@ -212,66 +213,6 @@ submit {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
.wp-hide-pw > .dashicons {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
color: #23282d;
|
||||
margin: -2px 5px 5px 0px;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 218px;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#pass-strength-result.short {
|
||||
background-color: #f1adad;
|
||||
border-color: #e35b5b;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.bad {
|
||||
background-color: #fbc5a9;
|
||||
border-color: #f78b53;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.good {
|
||||
background-color: #ffe399;
|
||||
border-color: #ffc733;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass-strength-result.strong {
|
||||
background-color: #c1e1b9;
|
||||
border-color: #83c373;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#pass1.short, #pass1-text.short {
|
||||
border-color: #e35b5b;
|
||||
}
|
||||
|
||||
#pass1.bad, #pass1-text.bad {
|
||||
border-color: #f78b53;
|
||||
}
|
||||
|
||||
#pass1.good, #pass1-text.good {
|
||||
border-color: #ffc733;
|
||||
}
|
||||
|
||||
#pass1.strong, #pass1-text.strong {
|
||||
border-color: #83c373;
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-left: 4px solid #dc3232;
|
||||
padding: .7em .6em;
|
||||
@@ -291,20 +232,6 @@ submit {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#pass1-text,
|
||||
.show-password #pass1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.show-password #pass1-text
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.form-table span.description.important {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
/* localization */
|
||||
body.rtl,
|
||||
|
||||
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
@@ -1,6 +1,3 @@
|
||||
@import url(forms-rtl.css);
|
||||
@import url(l10n-rtl.css);
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
|
||||
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
@@ -1,6 +1,3 @@
|
||||
@import url(forms.css);
|
||||
@import url(l10n.css);
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
|
||||
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
@@ -698,13 +698,11 @@ border color while dragging a file over the uploader drop area */
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.edit-attachment-frame .edit-media-header .left:before,
|
||||
.rtl .edit-attachment-frame .edit-media-header .right:before {
|
||||
.edit-attachment-frame .edit-media-header .left:before {
|
||||
content: "\f345";
|
||||
}
|
||||
|
||||
.edit-attachment-frame .edit-media-header .right:before,
|
||||
.rtl .edit-attachment-frame .edit-media-header .left:before {
|
||||
.edit-attachment-frame .edit-media-header .right:before {
|
||||
content: "\f341";
|
||||
}
|
||||
|
||||
|
||||
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
@@ -698,13 +698,11 @@ border color while dragging a file over the uploader drop area */
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.edit-attachment-frame .edit-media-header .left:before,
|
||||
.rtl .edit-attachment-frame .edit-media-header .right:before {
|
||||
.edit-attachment-frame .edit-media-header .left:before {
|
||||
content: "\f341";
|
||||
}
|
||||
|
||||
.edit-attachment-frame .edit-media-header .right:before,
|
||||
.rtl .edit-attachment-frame .edit-media-header .left:before {
|
||||
.edit-attachment-frame .edit-media-header .right:before {
|
||||
content: "\f345";
|
||||
}
|
||||
|
||||
|
||||
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
@@ -835,7 +835,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-menus-php .major-publishing-actions .publishing-action {
|
||||
.nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
|
||||
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
@@ -835,7 +835,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-menus-php .major-publishing-actions .publishing-action {
|
||||
.nav-menus-php #nav-menu-header .major-publishing-actions .publishing-action {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
|
||||
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
@@ -108,8 +108,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
.health-check-tabs-wrapper {
|
||||
/* IE 11 */
|
||||
display: -ms-inline-grid;
|
||||
-ms-grid-columns: 1fr 1fr;
|
||||
vertical-align: top;
|
||||
/* modern browsers */
|
||||
display: inline-grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.health-check-tab {
|
||||
display: inline-block;
|
||||
display: block; /* IE 11 */
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
padding: 0.5rem 1rem 1rem;
|
||||
@@ -117,6 +127,14 @@
|
||||
transition: box-shadow 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.health-check-tab:nth-child(1) {
|
||||
-ms-grid-column: 1; /* IE 11 */
|
||||
}
|
||||
|
||||
.health-check-tab:nth-child(2) {
|
||||
-ms-grid-column: 2; /* IE 11 */
|
||||
}
|
||||
|
||||
.health-check-tab:focus {
|
||||
color: #191e23;
|
||||
outline: 1px solid #6c7781;
|
||||
@@ -153,32 +171,23 @@
|
||||
.health-check-body .pass::before,
|
||||
.health-check-body .good::before {
|
||||
content: "\f147";
|
||||
display: inline-block;
|
||||
color: #46b450;
|
||||
font-family: dashicons;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.health-check-body .warning::before {
|
||||
content: "\f460";
|
||||
display: inline-block;
|
||||
color: #ffb900;
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.health-check-body .info::before {
|
||||
content: "\f348";
|
||||
display: inline-block;
|
||||
color: #00a0d2;
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.health-check-body .fail::before,
|
||||
.health-check-body .error::before {
|
||||
content: "\f335";
|
||||
display: inline-block;
|
||||
color: #dc3232;
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.site-health-copy-buttons {
|
||||
@@ -277,13 +286,16 @@
|
||||
border: 0;
|
||||
color: #32373c;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
display: flex;
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 1em 1.5em 1em 3.5em;
|
||||
min-height: 46px;
|
||||
position: relative;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.site-health-view-passed {
|
||||
@@ -306,9 +318,9 @@
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .title {
|
||||
display: inline-block;
|
||||
pointer-events: none;
|
||||
font-weight: 600;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .icon,
|
||||
@@ -325,7 +337,6 @@
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .badge {
|
||||
float: left;
|
||||
padding: 0.1rem 0.5rem 0.15rem;
|
||||
color: #32373c;
|
||||
font-weight: 600;
|
||||
@@ -386,10 +397,10 @@
|
||||
}
|
||||
|
||||
.health-check-wp-paths-sizes.spinner {
|
||||
position: absolute;
|
||||
visibility: visible;
|
||||
float: none;
|
||||
margin: 0 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@@ -407,14 +418,30 @@
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .title {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
.site-health-issues-wrapper .health-check-accordion-trigger {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .badge {
|
||||
float: right;
|
||||
margin: 0;
|
||||
margin: 1em 0 0;
|
||||
}
|
||||
|
||||
.health-check-table {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.health-check-table td {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.health-check-table td:first-child {
|
||||
width: 100%;
|
||||
padding-bottom: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/site-health-rtl.min.css
vendored
2
wp-admin/css/site-health-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -108,8 +108,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
.health-check-tabs-wrapper {
|
||||
/* IE 11 */
|
||||
display: -ms-inline-grid;
|
||||
-ms-grid-columns: 1fr 1fr;
|
||||
vertical-align: top;
|
||||
/* modern browsers */
|
||||
display: inline-grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.health-check-tab {
|
||||
display: inline-block;
|
||||
display: block; /* IE 11 */
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
padding: 0.5rem 1rem 1rem;
|
||||
@@ -117,6 +127,14 @@
|
||||
transition: box-shadow 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.health-check-tab:nth-child(1) {
|
||||
-ms-grid-column: 1; /* IE 11 */
|
||||
}
|
||||
|
||||
.health-check-tab:nth-child(2) {
|
||||
-ms-grid-column: 2; /* IE 11 */
|
||||
}
|
||||
|
||||
.health-check-tab:focus {
|
||||
color: #191e23;
|
||||
outline: 1px solid #6c7781;
|
||||
@@ -153,32 +171,23 @@
|
||||
.health-check-body .pass::before,
|
||||
.health-check-body .good::before {
|
||||
content: "\f147";
|
||||
display: inline-block;
|
||||
color: #46b450;
|
||||
font-family: dashicons;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.health-check-body .warning::before {
|
||||
content: "\f460";
|
||||
display: inline-block;
|
||||
color: #ffb900;
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.health-check-body .info::before {
|
||||
content: "\f348";
|
||||
display: inline-block;
|
||||
color: #00a0d2;
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.health-check-body .fail::before,
|
||||
.health-check-body .error::before {
|
||||
content: "\f335";
|
||||
display: inline-block;
|
||||
color: #dc3232;
|
||||
font-family: dashicons;
|
||||
}
|
||||
|
||||
.site-health-copy-buttons {
|
||||
@@ -277,13 +286,16 @@
|
||||
border: 0;
|
||||
color: #32373c;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
display: flex;
|
||||
font-weight: 400;
|
||||
margin: 0;
|
||||
padding: 1em 3.5em 1em 1.5em;
|
||||
min-height: 46px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.site-health-view-passed {
|
||||
@@ -306,9 +318,9 @@
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .title {
|
||||
display: inline-block;
|
||||
pointer-events: none;
|
||||
font-weight: 600;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .icon,
|
||||
@@ -325,7 +337,6 @@
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .badge {
|
||||
float: right;
|
||||
padding: 0.1rem 0.5rem 0.15rem;
|
||||
color: #32373c;
|
||||
font-weight: 600;
|
||||
@@ -386,10 +397,10 @@
|
||||
}
|
||||
|
||||
.health-check-wp-paths-sizes.spinner {
|
||||
position: absolute;
|
||||
visibility: visible;
|
||||
float: none;
|
||||
margin: 0 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@@ -407,14 +418,30 @@
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .title {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
.site-health-issues-wrapper .health-check-accordion-trigger {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.health-check-accordion-trigger .badge {
|
||||
float: left;
|
||||
margin: 0;
|
||||
margin: 1em 0 0;
|
||||
}
|
||||
|
||||
.health-check-table {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.health-check-table td {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.health-check-table td:first-child {
|
||||
width: 100%;
|
||||
padding-bottom: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
wp-admin/css/site-health.min.css
vendored
2
wp-admin/css/site-health.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -244,9 +244,9 @@ class Custom_Background {
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<h3><?php _e( 'Background Image' ); ?></h3>
|
||||
<h2><?php _e( 'Background Image' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Preview' ); ?></th>
|
||||
@@ -338,9 +338,9 @@ class Custom_Background {
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3><?php _e( 'Display Options' ); ?></h3>
|
||||
<h2><?php _e( 'Display Options' ); ?></h2>
|
||||
<form method="post">
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
<?php if ( get_background_image() ) : ?>
|
||||
<input name="background-preset" type="hidden" value="custom">
|
||||
@@ -574,6 +574,8 @@ class Custom_Background {
|
||||
* @deprecated 3.5.0
|
||||
*/
|
||||
public function wp_set_background_image() {
|
||||
check_ajax_referer( 'custom-background' );
|
||||
|
||||
if ( ! current_user_can( 'edit_theme_options' ) || ! isset( $_POST['attachment_id'] ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -338,7 +338,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) {
|
||||
@@ -488,9 +488,9 @@ class Custom_Image_Header {
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<h3><?php _e( 'Header Image' ); ?></h3>
|
||||
<h2><?php _e( 'Header Image' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
|
||||
<?php if ( get_custom_header() || display_header_text() ) : ?>
|
||||
@@ -628,7 +628,7 @@ class Custom_Image_Header {
|
||||
|
||||
<form method="post" action="<?php echo esc_url( add_query_arg( 'step', 1 ) ); ?>">
|
||||
<?php submit_button( null, 'screen-reader-text', 'save-header-options', false ); ?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
<?php if ( get_uploaded_header_images() ) : ?>
|
||||
<tr>
|
||||
@@ -687,9 +687,9 @@ class Custom_Image_Header {
|
||||
|
||||
<?php if ( current_theme_supports( 'custom-header', 'header-text' ) ) : ?>
|
||||
|
||||
<h3><?php _e( 'Header Text' ); ?></h3>
|
||||
<h2><?php _e( 'Header Text' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Header Text' ); ?></th>
|
||||
|
||||
@@ -192,7 +192,7 @@ if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
|
||||
}
|
||||
} else {
|
||||
$file = get_theme_file_path( $style );
|
||||
if ( file_exists( $file ) ) {
|
||||
if ( is_file( $file ) ) {
|
||||
$styles[] = array(
|
||||
'css' => file_get_contents( $file ),
|
||||
'baseURL' => get_theme_file_uri( $style ),
|
||||
@@ -226,6 +226,8 @@ foreach ( $image_size_names as $image_size_slug => $image_size_name ) {
|
||||
// Lock settings.
|
||||
$user_id = wp_check_post_lock( $post->ID );
|
||||
if ( $user_id ) {
|
||||
$locked = false;
|
||||
|
||||
/** This filter is documented in wp-admin/includes/post.php */
|
||||
if ( apply_filters( 'show_post_locked_dialog', true, $post, $user_id ) ) {
|
||||
$locked = true;
|
||||
|
||||
@@ -43,7 +43,7 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
||||
<h2 class="edit-comment-author"><?php _e( 'Author' ); ?></h2>
|
||||
<fieldset>
|
||||
<legend class="screen-reader-text"><?php _e( 'Comment Author' ); ?></legend>
|
||||
<table class="form-table editcomment">
|
||||
<table class="form-table editcomment" role="presentation">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first"><label for="name"><?php _e( 'Name' ); ?></label></td>
|
||||
|
||||
@@ -127,7 +127,7 @@ if ( isset( $tag->name ) ) {
|
||||
$tag_name_value = esc_attr( $tag->name );
|
||||
}
|
||||
?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="form-field form-required term-name-wrap">
|
||||
<th scope="row"><label for="name"><?php _ex( 'Name', 'term name' ); ?></label></th>
|
||||
<td><input name="name" id="name" type="text" value="<?php echo $tag_name_value; ?>" size="40" aria-required="true" />
|
||||
|
||||
@@ -18,27 +18,49 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
$is_privacy_notice = isset( $_GET['privacy-notice'] );
|
||||
|
||||
if ( $is_privacy_notice ) {
|
||||
$freedoms_class = '';
|
||||
$privacy_class = ' nav-tab-active';
|
||||
$freedoms_class = '';
|
||||
$privacy_class = ' nav-tab-active';
|
||||
$freedoms_aria_current = '';
|
||||
$privacy_aria_current = ' aria-current="page"';
|
||||
} else {
|
||||
$freedoms_class = ' nav-tab-active';
|
||||
$privacy_class = '';
|
||||
$freedoms_class = ' nav-tab-active';
|
||||
$privacy_class = '';
|
||||
$freedoms_aria_current = ' aria-current="page"';
|
||||
$privacy_aria_current = '';
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
<h1>
|
||||
<?php
|
||||
/* translators: %s: The current WordPress version number */
|
||||
printf( __( 'Welcome to WordPress %s' ), $display_version );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p>
|
||||
<p class="about-text">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: The current WordPress version number */
|
||||
__( 'Congratulations on updating to WordPress %s! This update makes it easier than ever to fix your site if something goes wrong.' ),
|
||||
$display_version
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
<div class="wp-badge">
|
||||
<?php
|
||||
/* translators: %s: The current WordPress version number */
|
||||
printf( __( 'Version %s' ), $display_version );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<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<?php echo $freedoms_class; ?>"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab<?php echo $privacy_class; ?>"><?php _e( 'Privacy' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab<?php echo $freedoms_class; ?>"<?php echo $freedoms_aria_current; ?>><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab<?php echo $privacy_class; ?>"<?php echo $privacy_aria_current; ?>><?php _e( 'Privacy' ); ?></a>
|
||||
</nav>
|
||||
|
||||
<?php if ( $is_privacy_notice ) : ?>
|
||||
@@ -46,16 +68,31 @@ 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
|
||||
/* translators: %s: https://wordpress.org/about/stats/ */
|
||||
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>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: https://wordpress.org/about/privacy/ */
|
||||
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">
|
||||
<div class="feature-section has-1-columns">
|
||||
<h2><?php _e( 'Freedoms' ); ?></h2>
|
||||
<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>
|
||||
<p class="about-description">
|
||||
<?php
|
||||
/* translators: %s: https://wordpress.org/about/license/ */
|
||||
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>
|
||||
</div>
|
||||
|
||||
<div class="feature-section has-4-columns is-fullwidth">
|
||||
@@ -82,13 +119,18 @@ if ( $is_privacy_notice ) {
|
||||
</div>
|
||||
|
||||
<div class="feature-section has-1-columns">
|
||||
<p><?php printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p>
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: https://wordpressfoundation.org/trademark-policy/ */
|
||||
printf( __( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
$plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
|
||||
$themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
|
||||
|
||||
/* translators: %s: https://wordpress.org/about/license/ */
|
||||
printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it’s GPL</a> first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
|
||||
?>
|
||||
</p>
|
||||
|
||||
@@ -1423,6 +1423,7 @@ function wp_ajax_add_menu_item() {
|
||||
$menu_obj = get_post( $menu_item_id );
|
||||
if ( ! empty( $menu_obj->ID ) ) {
|
||||
$menu_obj = wp_setup_nav_menu_item( $menu_obj );
|
||||
$menu_obj->title = empty( $menu_obj->title ) ? __( 'Menu Item' ) : $menu_obj->title;
|
||||
$menu_obj->label = $menu_obj->title; // don't show "(pending)" in ajax-added items
|
||||
$menu_items[] = $menu_obj;
|
||||
}
|
||||
@@ -2311,7 +2312,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'] ),
|
||||
),
|
||||
)
|
||||
);
|
||||
@@ -2327,7 +2328,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'] ),
|
||||
),
|
||||
)
|
||||
);
|
||||
@@ -2353,7 +2354,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'] ),
|
||||
),
|
||||
)
|
||||
);
|
||||
@@ -2370,7 +2371,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'] ),
|
||||
),
|
||||
)
|
||||
);
|
||||
@@ -2515,6 +2516,10 @@ function wp_ajax_set_attachment_thumbnail() {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
if ( false === check_ajax_referer( 'set-attachment-thumbnail', '_ajax_nonce', false ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
$post_ids = array();
|
||||
// For each URL, try to find its corresponding post ID.
|
||||
foreach ( $_POST['urls'] as $url ) {
|
||||
@@ -2754,7 +2759,7 @@ function wp_ajax_query_attachments() {
|
||||
|
||||
// Filter query clauses to include filenames.
|
||||
if ( isset( $query['s'] ) ) {
|
||||
add_filter( 'posts_clauses', '_filter_query_attachment_filenames' );
|
||||
add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3505,13 +3510,29 @@ function wp_ajax_parse_media_shortcode() {
|
||||
|
||||
$shortcode = wp_unslash( $_POST['shortcode'] );
|
||||
|
||||
// Only process previews for media related shortcodes:
|
||||
$found_shortcodes = get_shortcode_tags_in_content( $shortcode );
|
||||
$media_shortcodes = array(
|
||||
'audio',
|
||||
'embed',
|
||||
'playlist',
|
||||
'video',
|
||||
'gallery',
|
||||
);
|
||||
|
||||
$other_shortcodes = array_diff( $found_shortcodes, $media_shortcodes );
|
||||
|
||||
if ( ! empty( $other_shortcodes ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
if ( ! empty( $_POST['post_ID'] ) ) {
|
||||
$post = get_post( (int) $_POST['post_ID'] );
|
||||
}
|
||||
|
||||
// the embed shortcode requires a post
|
||||
if ( ! $post || ! current_user_can( 'edit_post', $post->ID ) ) {
|
||||
if ( 'embed' === $shortcode ) {
|
||||
if ( in_array( 'embed', $found_shortcodes, true ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
} else {
|
||||
@@ -4869,7 +4890,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||
function wp_ajax_health_check_dotorg_communication() {
|
||||
check_ajax_referer( 'health-check-site-status' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
@@ -4889,7 +4910,7 @@ function wp_ajax_health_check_dotorg_communication() {
|
||||
function wp_ajax_health_check_is_in_debug_mode() {
|
||||
wp_verify_nonce( 'health-check-site-status' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
@@ -4909,7 +4930,7 @@ function wp_ajax_health_check_is_in_debug_mode() {
|
||||
function wp_ajax_health_check_background_updates() {
|
||||
check_ajax_referer( 'health-check-site-status' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
@@ -4930,7 +4951,7 @@ function wp_ajax_health_check_background_updates() {
|
||||
function wp_ajax_health_check_loopback_requests() {
|
||||
check_ajax_referer( 'health-check-site-status' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
@@ -4950,7 +4971,7 @@ function wp_ajax_health_check_loopback_requests() {
|
||||
function wp_ajax_health_check_site_status_result() {
|
||||
check_ajax_referer( 'health-check-site-status-result' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
@@ -4967,7 +4988,7 @@ function wp_ajax_health_check_site_status_result() {
|
||||
function wp_ajax_health_check_get_sizes() {
|
||||
check_ajax_referer( 'health-check-site-status-result' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) || is_multisite() ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) || is_multisite() ) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
|
||||
@@ -554,6 +554,19 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
}
|
||||
$this->user_can = current_user_can( 'edit_comment', $comment->comment_ID );
|
||||
|
||||
$edit_post_cap = $post ? 'edit_post' : 'edit_posts';
|
||||
if (
|
||||
current_user_can( $edit_post_cap, $comment->comment_post_ID ) ||
|
||||
(
|
||||
empty( $post->post_password ) &&
|
||||
current_user_can( 'read_post', $comment->comment_post_ID )
|
||||
)
|
||||
) {
|
||||
// The user has access to the post
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
echo "<tr id='comment-$comment->comment_ID' class='$the_comment_class'>";
|
||||
$this->single_row_columns( $comment );
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -117,7 +117,7 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
|
||||
wp_dropdown_categories( $dropdown_options );
|
||||
submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
|
||||
?>
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
@@ -665,7 +665,20 @@ class WP_List_Table {
|
||||
$approved_phrase = sprintf( _n( '%s approved comment', '%s approved comments', $approved_comments ), $approved_comments_number );
|
||||
$pending_phrase = sprintf( _n( '%s pending comment', '%s pending comments', $pending_comments ), $pending_comments_number );
|
||||
|
||||
// No comments at all.
|
||||
$post_object = get_post( $post_id );
|
||||
$edit_post_cap = $post_object ? 'edit_post' : 'edit_posts';
|
||||
if (
|
||||
current_user_can( $edit_post_cap, $post_id ) ||
|
||||
(
|
||||
empty( $post_object->post_password ) &&
|
||||
current_user_can( 'read_post', $post_id )
|
||||
)
|
||||
) {
|
||||
// The user has access to the post and thus can see comments
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( ! $approved_comments && ! $pending_comments ) {
|
||||
printf(
|
||||
'<span aria-hidden="true">—</span><span class="screen-reader-text">%s</span>',
|
||||
|
||||
@@ -761,7 +761,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
|
||||
}
|
||||
|
||||
$requires_php = isset( $plugin['requires_php'] ) ? $plugin['requires_php'] : null;
|
||||
$requires_php = isset( $plugin_data['requires_php'] ) ? $plugin_data['requires_php'] : null;
|
||||
$compatible_php = is_php_version_compatible( $requires_php );
|
||||
$class = $is_active ? 'active' : 'inactive';
|
||||
$checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] );
|
||||
|
||||
@@ -927,16 +927,16 @@ final class WP_Screen {
|
||||
}
|
||||
?>
|
||||
<div id="screen-meta-links">
|
||||
<?php if ( $this->get_help_tabs() ) : ?>
|
||||
<div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">
|
||||
<button type="button" id="contextual-help-link" class="button show-settings" aria-controls="contextual-help-wrap" aria-expanded="false"><?php _e( 'Help' ); ?></button>
|
||||
<?php if ( $this->show_screen_options() ) : ?>
|
||||
<div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle">
|
||||
<button type="button" id="show-settings-link" class="button show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen Options' ); ?></button>
|
||||
</div>
|
||||
<?php
|
||||
endif;
|
||||
if ( $this->show_screen_options() ) :
|
||||
if ( $this->get_help_tabs() ) :
|
||||
?>
|
||||
<div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle">
|
||||
<button type="button" id="show-settings-link" class="button show-settings" aria-controls="screen-options-wrap" aria-expanded="false"><?php _e( 'Screen Options' ); ?></button>
|
||||
<div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">
|
||||
<button type="button" id="contextual-help-link" class="button show-settings" aria-controls="contextual-help-wrap" aria-expanded="false"><?php _e( 'Help' ); ?></button>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -340,7 +340,7 @@ class WP_Site_Health {
|
||||
|
||||
$result['actions'] .= sprintf(
|
||||
'<p><a href="%s">%s</a></p>',
|
||||
esc_url( admin_url( 'plugins.php?plugin_status=upgrade' ) ),
|
||||
esc_url( network_admin_url( 'plugins.php?plugin_status=upgrade' ) ),
|
||||
__( 'Update your plugins' )
|
||||
);
|
||||
} else {
|
||||
@@ -355,7 +355,7 @@ class WP_Site_Health {
|
||||
sprintf(
|
||||
/* translators: %d: The number of active plugins. */
|
||||
_n(
|
||||
'Your site has %d active plugin, and they are all up to date.',
|
||||
'Your site has %d active plugin, and it is up to date.',
|
||||
'Your site has %d active plugins, and they are all up to date.',
|
||||
$plugins_active
|
||||
),
|
||||
@@ -511,7 +511,7 @@ class WP_Site_Health {
|
||||
sprintf(
|
||||
/* translators: %d: The number of themes. */
|
||||
_n(
|
||||
'Your site has %d installed theme, and they are all up to date.',
|
||||
'Your site has %d installed theme, and it is up to date.',
|
||||
'Your site has %d installed themes, and they are all up to date.',
|
||||
$themes_total
|
||||
),
|
||||
@@ -740,13 +740,13 @@ class WP_Site_Health {
|
||||
'<p>%s</p><p>%s</p>',
|
||||
__( 'PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.' ),
|
||||
sprintf(
|
||||
/* translators: %s: Link to the hosting group page about recommended PHP modules. */
|
||||
__( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in %s.' ),
|
||||
/* translators: 1: Link to the hosting group page about recommended PHP modules. 2: Additional link attributes. 3: Accessibility text. */
|
||||
__( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in <a href="%1$s" %2$s>the team handbook%3$s</a>.' ),
|
||||
/* translators: Localized team handbook, if one exists. */
|
||||
esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
|
||||
'target="_blank" rel="noopener noreferrer"',
|
||||
sprintf(
|
||||
'<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
|
||||
/* translators: Localized team handbook, if one exists. */
|
||||
esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
|
||||
__( 'the team handbook' ),
|
||||
' <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span>',
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
)
|
||||
@@ -889,7 +889,7 @@ class WP_Site_Health {
|
||||
$result['status'] = 'recommended';
|
||||
}
|
||||
|
||||
$failures[ $library ] = "<span class='$class'><span class='screen-reader-text'>$screen_reader</span></span> $message";
|
||||
$failures[ $library ] = "<span class='dashicons $class'><span class='screen-reader-text'>$screen_reader</span></span> $message";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1487,7 +1487,7 @@ class WP_Site_Health {
|
||||
}
|
||||
|
||||
$output .= sprintf(
|
||||
'<li><span class="%s"><span class="screen-reader-text">%s</span></span> %s</li>',
|
||||
'<li><span class="dashicons %s"><span class="screen-reader-text">%s</span></span> %s</li>',
|
||||
esc_attr( $test->severity ),
|
||||
$severity_string,
|
||||
$test->description
|
||||
@@ -1577,7 +1577,7 @@ class WP_Site_Health {
|
||||
$blocked = false;
|
||||
$hosts = array();
|
||||
|
||||
if ( defined( 'WP_HTTP_BLOCK_EXTERNAL' ) ) {
|
||||
if ( defined( 'WP_HTTP_BLOCK_EXTERNAL' ) && WP_HTTP_BLOCK_EXTERNAL ) {
|
||||
$blocked = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -945,7 +945,16 @@ function wp_dashboard_recent_comments( $total_items = 5 ) {
|
||||
|
||||
echo '<ul id="the-comment-list" data-wp-lists="list:comment">';
|
||||
foreach ( $comments as $comment ) {
|
||||
_wp_dashboard_recent_comments_row( $comment );
|
||||
$comment_post = get_post( $comment->comment_post_ID );
|
||||
if (
|
||||
current_user_can( 'edit_post', $comment->comment_post_ID ) ||
|
||||
(
|
||||
empty( $comment_post->post_password ) &&
|
||||
current_user_can( 'read_post', $comment->comment_post_ID )
|
||||
)
|
||||
) {
|
||||
_wp_dashboard_recent_comments_row( $comment );
|
||||
}
|
||||
}
|
||||
echo '</ul>';
|
||||
|
||||
@@ -1628,7 +1637,7 @@ function wp_dashboard_php_nag() {
|
||||
<p><?php echo $msg; ?></p>
|
||||
|
||||
<h3><?php _e( 'What is PHP and how does it affect my site?' ); ?></h3>
|
||||
<p><?php _e( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are both faster and more secure, so updating will have a positive effect on your site’s performance.' ); ?></p>
|
||||
<p><?php _e( 'PHP is the programming language we use to build and maintain WordPress. Newer versions of PHP are both faster and more secure, so updating will have a positive effect on your site’s performance.' ); ?></p>
|
||||
|
||||
<p class="button-container">
|
||||
<?php
|
||||
|
||||
@@ -1187,8 +1187,8 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
return new WP_Error(
|
||||
'signature_verification_unsupported',
|
||||
sprintf(
|
||||
/* translators: 1: The filename of the package. */
|
||||
__( 'The authenticity of %1$s could not be verified as signature verification is unavailable on this system.' ),
|
||||
/* translators: %s: The filename of the package. */
|
||||
__( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ),
|
||||
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
|
||||
),
|
||||
array(
|
||||
@@ -1199,6 +1199,39 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
|
||||
}
|
||||
|
||||
// Verify runtime speed of Sodium_Compat is acceptable.
|
||||
if ( ! extension_loaded( 'sodium' ) && ! ParagonIE_Sodium_Compat::polyfill_is_fast() ) {
|
||||
$sodium_compat_is_fast = false;
|
||||
|
||||
// Allow for an old version of Sodium_Compat being loaded before the bundled WordPress one.
|
||||
if ( method_exists( 'ParagonIE_Sodium_Compat', 'runtime_speed_test' ) ) {
|
||||
// Run `ParagonIE_Sodium_Compat::runtime_speed_test()` in optimized integer mode, as that's what WordPress utilises during signing verifications.
|
||||
$old_fastMult = ParagonIE_Sodium_Compat::$fastMult;
|
||||
ParagonIE_Sodium_Compat::$fastMult = true;
|
||||
$sodium_compat_is_fast = ParagonIE_Sodium_Compat::runtime_speed_test( 100, 10 );
|
||||
ParagonIE_Sodium_Compat::$fastMult = $old_fastMult;
|
||||
}
|
||||
|
||||
// This cannot be performed in a reasonable amount of time
|
||||
// https://github.com/paragonie/sodium_compat#help-sodium_compat-is-slow-how-can-i-make-it-fast
|
||||
if ( ! $sodium_compat_is_fast ) {
|
||||
return new WP_Error(
|
||||
'signature_verification_unsupported',
|
||||
sprintf(
|
||||
/* translators: %s: The filename of the package. */
|
||||
__( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ),
|
||||
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
|
||||
),
|
||||
array(
|
||||
'php' => phpversion(),
|
||||
'sodium' => defined( 'SODIUM_LIBRARY_VERSION' ) ? SODIUM_LIBRARY_VERSION : ( defined( 'ParagonIE_Sodium_Compat::VERSION_STRING' ) ? ParagonIE_Sodium_Compat::VERSION_STRING : false ),
|
||||
'polyfill_is_fast' => false,
|
||||
'max_execution_time' => ini_get( 'max_execution_time' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! $signatures ) {
|
||||
return new WP_Error(
|
||||
'signature_verification_no_signature',
|
||||
|
||||
@@ -500,7 +500,7 @@ function wp_iframe( $content_func /* ... */ ) {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<?php
|
||||
@@ -3020,15 +3020,15 @@ function edit_form_image_editor( $post ) {
|
||||
<p class="attachment-alt-text-description" id="alt-text-description">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: link start tag, 2: accessibility text, 3: link end tag */
|
||||
__( '%1$sDescribe the purpose of the image%2$s%3$s. Leave empty if the image is purely decorative.' ),
|
||||
'<a href="' . esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ) . '" target="_blank" rel="noopener noreferrer">',
|
||||
/* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */
|
||||
__( '<a href="%1$s" %2$s>Describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
|
||||
esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
|
||||
'target="_blank" rel="noopener noreferrer"',
|
||||
sprintf(
|
||||
'<span class="screen-reader-text"> %s</span>',
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
),
|
||||
'</a>'
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -3048,7 +3048,7 @@ function edit_form_image_editor( $post ) {
|
||||
'tinymce' => false,
|
||||
'quicktags' => $quicktags_settings,
|
||||
);
|
||||
?>
|
||||
?>
|
||||
|
||||
<label for="attachment_content"><strong><?php _e( 'Description' ); ?></strong>
|
||||
<?php
|
||||
@@ -3057,7 +3057,7 @@ function edit_form_image_editor( $post ) {
|
||||
}
|
||||
?>
|
||||
</label>
|
||||
<?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?>
|
||||
<?php wp_editor( format_to_edit( $post->post_content ), 'attachment_content', $editor_args ); ?>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -639,23 +639,48 @@ function set_screen_options() {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$screen_option = false;
|
||||
|
||||
if ( '_page' === substr( $option, -5 ) || 'layout_columns' === $option ) {
|
||||
/**
|
||||
* Filters a screen option value before it is set.
|
||||
*
|
||||
* The filter can also be used to modify non-standard [items]_per_page
|
||||
* settings. See the parent function for a full list of standard options.
|
||||
*
|
||||
* Returning false to the filter will skip saving the current option.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 5.4.2 Only applied to options ending with '_page',
|
||||
* or the 'layout_columns' option.
|
||||
*
|
||||
* @see set_screen_options()
|
||||
*
|
||||
* @param mixed $screen_option The value to save instead of the option value.
|
||||
* Default false (to skip saving the current option).
|
||||
* @param string $option The option name.
|
||||
* @param int $value The option value.
|
||||
*/
|
||||
$screen_option = apply_filters( 'set-screen-option', $screen_option, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters a screen option value before it is set.
|
||||
*
|
||||
* The filter can also be used to modify non-standard [items]_per_page
|
||||
* settings. See the parent function for a full list of standard options.
|
||||
* The dynamic portion of the hook, `$option`, refers to the option name.
|
||||
*
|
||||
* Returning false to the filter will skip saving the current option.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 5.4.2
|
||||
*
|
||||
* @see set_screen_options()
|
||||
*
|
||||
* @param bool $keep Whether to save or skip saving the screen option value. Default false.
|
||||
* @param string $option The option name.
|
||||
* @param int $value The number of rows to use.
|
||||
* @param mixed $screen_option The value to save instead of the option value.
|
||||
* Default false (to skip saving the current option).
|
||||
* @param string $option The option name.
|
||||
* @param int $value The option value.
|
||||
*/
|
||||
$value = apply_filters( 'set-screen-option', false, $option, $value );
|
||||
$value = apply_filters( "set_screen_option_{$option}", $screen_option, $option, $value );
|
||||
|
||||
if ( false === $value ) {
|
||||
return;
|
||||
|
||||
@@ -802,7 +802,7 @@ function avoid_blog_page_permalink_collision( $data, $postarr ) {
|
||||
*/
|
||||
function choose_primary_blog() {
|
||||
?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<?php /* translators: My sites label */ ?>
|
||||
<th scope="row"><label for="primary_blog"><?php _e( 'Primary Site' ); ?></label></th>
|
||||
@@ -885,7 +885,7 @@ function can_edit_network( $network_id ) {
|
||||
function _thickbox_path_admin_subfolder() {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
|
||||
var tb_pathToImage = "<?php echo esc_js( includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ) ); ?>";
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
@@ -914,7 +914,7 @@ function confirm_delete_users( $users ) {
|
||||
$site_admins = get_super_admins();
|
||||
$admin_out = '<option value="' . esc_attr( $current_user->ID ) . '">' . $current_user->user_login . '</option>';
|
||||
?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php
|
||||
foreach ( ( $allusers = (array) $_POST['allusers'] ) as $user_id ) {
|
||||
if ( $user_id != '' && $user_id != '0' ) {
|
||||
@@ -984,7 +984,7 @@ function confirm_delete_users( $users ) {
|
||||
echo '</fieldset></td></tr>';
|
||||
} else {
|
||||
?>
|
||||
<td><fieldset><p><legend><?php _e( 'User has no sites or content and will be deleted.' ); ?></legend></p>
|
||||
<td><p><?php _e( 'User has no sites or content and will be deleted.' ); ?></p></td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php
|
||||
@@ -1118,9 +1118,13 @@ function network_edit_site_nav( $args = array() ) {
|
||||
// Link classes
|
||||
$classes = array( 'nav-tab' );
|
||||
|
||||
// Aria-current attribute.
|
||||
$aria_current = '';
|
||||
|
||||
// Selected is set by the parent OR assumed by the $pagenow global
|
||||
if ( $r['selected'] === $link_id || $link['url'] === $GLOBALS['pagenow'] ) {
|
||||
$classes[] = 'nav-tab-active';
|
||||
$classes[] = 'nav-tab-active';
|
||||
$aria_current = ' aria-current="page"';
|
||||
}
|
||||
|
||||
// Escape each class
|
||||
@@ -1130,7 +1134,7 @@ function network_edit_site_nav( $args = array() ) {
|
||||
$url = add_query_arg( array( 'id' => $r['blog_id'] ), network_admin_url( $link['url'] ) );
|
||||
|
||||
// Add link to nav links
|
||||
$screen_links[ $link_id ] = '<a href="' . esc_url( $url ) . '" id="' . esc_attr( $link_id ) . '" class="' . $esc_classes . '">' . esc_html( $link['label'] ) . '</a>';
|
||||
$screen_links[ $link_id ] = '<a href="' . esc_url( $url ) . '" id="' . esc_attr( $link_id ) . '" class="' . $esc_classes . '"' . $aria_current . '>' . esc_html( $link['label'] ) . '</a>';
|
||||
}
|
||||
|
||||
// All done!
|
||||
|
||||
@@ -223,7 +223,7 @@ function network_step1( $errors = false ) {
|
||||
<strong><?php _e( 'You cannot change this later.' ); ?></strong></p>
|
||||
<p><?php _e( 'You will need a wildcard DNS record if you are going to use the virtual host (sub-domain) functionality.' ); ?></p>
|
||||
<?php // @todo: Link to an MS readme? ?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th><label><input type="radio" name="subdomain_install" value="1"<?php checked( $subdomain_install ); ?> /> <?php _e( 'Sub-domains' ); ?></label></th>
|
||||
<td>
|
||||
@@ -272,7 +272,7 @@ function network_step1( $errors = false ) {
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope='row'><?php esc_html_e( 'Server Address' ); ?></th>
|
||||
<td>
|
||||
@@ -289,7 +289,7 @@ function network_step1( $errors = false ) {
|
||||
<?php endif; ?>
|
||||
|
||||
<h3><?php esc_html_e( 'Network Details' ); ?></h3>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php if ( 'localhost' == $hostname ) : ?>
|
||||
<tr>
|
||||
<th scope="row"><?php esc_html_e( 'Sub-directory Installation' ); ?></th>
|
||||
@@ -347,18 +347,18 @@ function network_step1( $errors = false ) {
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<th scope='row'><?php esc_html_e( 'Network Title' ); ?></th>
|
||||
<th scope='row'><label for="sitename"><?php esc_html_e( 'Network Title' ); ?></label></th>
|
||||
<td>
|
||||
<input name='sitename' type='text' size='45' value='<?php echo esc_attr( $site_name ); ?>' />
|
||||
<input name='sitename' id='sitename' type='text' size='45' value='<?php echo esc_attr( $site_name ); ?>' />
|
||||
<p class="description">
|
||||
<?php _e( 'What would you like to call your network?' ); ?>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope='row'><?php esc_html_e( 'Network Admin Email' ); ?></th>
|
||||
<th scope='row'><label for="email"><?php esc_html_e( 'Network Admin Email' ); ?></label></th>
|
||||
<td>
|
||||
<input name='email' type='text' size='45' value='<?php echo esc_attr( $admin_email ); ?>' />
|
||||
<input name='email' id='email' type='text' size='45' value='<?php echo esc_attr( $admin_email ); ?>' />
|
||||
<p class="description">
|
||||
<?php _e( 'Your email address.' ); ?>
|
||||
</p>
|
||||
|
||||
@@ -752,7 +752,7 @@ function install_plugin_information() {
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div id="section-holder" class="wrap">
|
||||
<div id="section-holder">
|
||||
<?php
|
||||
$requires_php = isset( $api->requires_php ) ? $api->requires_php : null;
|
||||
$requires_wp = isset( $api->requires ) ? $api->requires : null;
|
||||
|
||||
@@ -1245,7 +1245,7 @@ function wp_edit_attachments_query_vars( $q = false ) {
|
||||
|
||||
// Filter query clauses to include filenames.
|
||||
if ( isset( $q['s'] ) ) {
|
||||
add_filter( 'posts_clauses', '_filter_query_attachment_filenames' );
|
||||
add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' );
|
||||
}
|
||||
|
||||
return $q;
|
||||
|
||||
@@ -1122,7 +1122,13 @@ function do_block_editor_incompatible_meta_box( $object, $box ) {
|
||||
echo '</p>';
|
||||
}
|
||||
} elseif ( $object instanceof WP_Post ) {
|
||||
$edit_url = add_query_arg( 'classic-editor', '', get_edit_post_link( $object ) );
|
||||
$edit_url = add_query_arg(
|
||||
array(
|
||||
'classic-editor' => '',
|
||||
'classic-editor__forget' => '',
|
||||
),
|
||||
get_edit_post_link( $object )
|
||||
);
|
||||
echo '<p>';
|
||||
/* translators: %s: A link to use the Classic Editor plugin. */
|
||||
printf( __( 'Please open the <a href="%s">classic editor</a> to use this meta box.' ), esc_url( $edit_url ) );
|
||||
@@ -1605,7 +1611,7 @@ function do_settings_sections( $page ) {
|
||||
if ( ! isset( $wp_settings_fields ) || ! isset( $wp_settings_fields[ $page ] ) || ! isset( $wp_settings_fields[ $page ][ $section['id'] ] ) ) {
|
||||
continue;
|
||||
}
|
||||
echo '<table class="form-table">';
|
||||
echo '<table class="form-table" role="presentation">';
|
||||
do_settings_fields( $page, $section['id'] );
|
||||
echo '</table>';
|
||||
}
|
||||
@@ -1910,12 +1916,12 @@ function iframe_header( $title = '', $deprecated = false ) {
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();}
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
|
||||
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
|
||||
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
|
||||
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
|
||||
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<?php
|
||||
|
||||
@@ -273,6 +273,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
|
||||
__( 'Features' ) => array(
|
||||
'accessibility-ready' => __( 'Accessibility Ready' ),
|
||||
'block-styles' => __( 'Block Editor Styles' ),
|
||||
'custom-background' => __( 'Custom Background' ),
|
||||
'custom-colors' => __( 'Custom Colors' ),
|
||||
'custom-header' => __( 'Custom Header' ),
|
||||
@@ -295,6 +296,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
'four-columns' => __( 'Four Columns' ),
|
||||
'left-sidebar' => __( 'Left Sidebar' ),
|
||||
'right-sidebar' => __( 'Right Sidebar' ),
|
||||
'wide-blocks' => __( 'Wide Blocks' ),
|
||||
),
|
||||
|
||||
);
|
||||
@@ -723,8 +725,13 @@ function customize_themes_print_templates() {
|
||||
{{{ data.stars }}}
|
||||
<a class="num-ratings" target="_blank" href="{{ data.reviews_url }}">
|
||||
<?php
|
||||
/* translators: %s: number of ratings */
|
||||
echo sprintf( __( '(%s ratings) <span class="screen-reader-text">link to view ratings opens in a new tab</span>' ), '{{ data.num_ratings }}' );
|
||||
printf(
|
||||
'%1$s <span class="screen-reader-text">%2$s</span>',
|
||||
/* translators: %s: number of ratings */
|
||||
sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' ),
|
||||
/* translators: accessibility text */
|
||||
__( '(opens in a new tab)' )
|
||||
);
|
||||
?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -946,10 +946,23 @@ function update_core( $from, $to ) {
|
||||
$wp_filesystem->delete( $from, true );
|
||||
}
|
||||
|
||||
$php_update_message = '';
|
||||
if ( function_exists( 'wp_get_update_php_url' ) ) {
|
||||
/* translators: %s: Update PHP page URL */
|
||||
$php_update_message = '</p><p>' . sprintf( __( '<a href="%s">Learn more about updating PHP</a>.' ), esc_url( wp_get_update_php_url() ) );
|
||||
|
||||
if ( function_exists( 'wp_get_update_php_annotation' ) ) {
|
||||
$annotation = wp_get_update_php_annotation();
|
||||
if ( $annotation ) {
|
||||
$php_update_message .= '</p><p><em>' . $annotation . '</em>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! $mysql_compat && ! $php_compat ) {
|
||||
return new WP_Error( 'php_mysql_not_compatible', sprintf( __( 'The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
|
||||
return new WP_Error( 'php_mysql_not_compatible', sprintf( __( 'The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.' ), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) . $php_update_message );
|
||||
} elseif ( ! $php_compat ) {
|
||||
return new WP_Error( 'php_not_compatible', sprintf( __( 'The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_php_version, $php_version ) );
|
||||
return new WP_Error( 'php_not_compatible', sprintf( __( 'The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_php_version, $php_version ) . $php_update_message );
|
||||
} elseif ( ! $mysql_compat ) {
|
||||
return new WP_Error( 'mysql_not_compatible', sprintf( __( 'The update cannot be installed because WordPress %1$s requires MySQL version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_mysql_version, $mysql_version ) );
|
||||
}
|
||||
|
||||
@@ -841,10 +841,20 @@ function wp_recovery_mode_nag() {
|
||||
return;
|
||||
}
|
||||
|
||||
$url = wp_login_url();
|
||||
$url = add_query_arg( 'action', WP_Recovery_Mode::EXIT_ACTION, $url );
|
||||
$url = wp_nonce_url( $url, WP_Recovery_Mode::EXIT_ACTION );
|
||||
|
||||
?>
|
||||
<div class="notice notice-info">
|
||||
<p>
|
||||
<?php esc_html_e( 'You are in recovery mode. This means there may be an error with a theme or plugin. To exit recovery mode, log out or use the Exit button.' ); ?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Recovery Mode exit link */
|
||||
__( 'You are in recovery mode. This means there may be an error with a theme or plugin. To exit recovery mode, log out or use the Exit button. <a href="%s">Exit Recovery Mode</a>' ),
|
||||
esc_url( $url )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -1591,8 +1591,8 @@ function upgrade_280() {
|
||||
$start = 0;
|
||||
while ( $rows = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options ORDER BY option_id LIMIT $start, 20" ) ) {
|
||||
foreach ( $rows as $row ) {
|
||||
$value = $row->option_value;
|
||||
if ( ! @unserialize( $value ) ) {
|
||||
$value = maybe_unserialize( $row->option_value );
|
||||
if ( $value === $row->option_value ) {
|
||||
$value = stripslashes( $value );
|
||||
}
|
||||
if ( $value !== $row->option_value ) {
|
||||
|
||||
@@ -71,10 +71,7 @@ function display_header( $body_classes = '' ) {
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<title><?php _e( 'WordPress › Installation' ); ?></title>
|
||||
<?php
|
||||
wp_admin_css( 'install', true );
|
||||
wp_admin_css( 'dashicons', true );
|
||||
?>
|
||||
<?php wp_admin_css( 'install', true ); ?>
|
||||
</head>
|
||||
<body class="wp-core-ui<?php echo $body_classes; ?>">
|
||||
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
|
||||
@@ -113,7 +110,7 @@ function display_setup_form( $error = null ) {
|
||||
<p class="message"><?php echo $error; ?></p>
|
||||
<?php } ?>
|
||||
<form id="setup" method="post" action="install.php?step=2" novalidate="novalidate">
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><label for="weblog_title"><?php _e( 'Site Title' ); ?></label></th>
|
||||
<td><input name="weblog_title" type="text" id="weblog_title" size="25" value="<?php echo esc_attr( $weblog_title ); ?>" /></td>
|
||||
@@ -142,7 +139,7 @@ function display_setup_form( $error = null ) {
|
||||
</label>
|
||||
</th>
|
||||
<td>
|
||||
<div class="">
|
||||
<div class="wp-pwd">
|
||||
<?php $initial_password = isset( $_POST['admin_password'] ) ? stripslashes( $_POST['admin_password'] ) : wp_generate_password( 18 ); ?>
|
||||
<input type="password" name="admin_password" id="pass1" class="regular-text" autocomplete="off" data-reveal="1" data-pw="<?php echo esc_attr( $initial_password ); ?>" aria-describedby="pass-strength-result" />
|
||||
<button type="button" class="button wp-hide-pw hide-if-no-js" data-start-masked="<?php echo (int) isset( $_POST['admin_password'] ); ?>" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
|
||||
@@ -243,12 +240,20 @@ $version_url = sprintf(
|
||||
sanitize_title( $wp_version )
|
||||
);
|
||||
|
||||
/* translators: %s: Update PHP page URL */
|
||||
$php_update_message = '</p><p>' . sprintf( __( '<a href="%s">Learn more about updating PHP</a>.' ), esc_url( wp_get_update_php_url() ) );
|
||||
|
||||
$annotation = wp_get_update_php_annotation();
|
||||
if ( $annotation ) {
|
||||
$php_update_message .= '</p><p><em>' . $annotation . '</em>';
|
||||
}
|
||||
|
||||
if ( ! $mysql_compat && ! $php_compat ) {
|
||||
/* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Minimum required MySQL version number, 5: Current PHP version number, 6: Current MySQL version number */
|
||||
$compat = sprintf( __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher and MySQL version %4$s or higher. You are running PHP version %5$s and MySQL version %6$s.' ), $version_url, $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
|
||||
$compat = sprintf( __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher and MySQL version %4$s or higher. You are running PHP version %5$s and MySQL version %6$s.' ), $version_url, $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) . $php_update_message;
|
||||
} elseif ( ! $php_compat ) {
|
||||
/* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Current PHP version number */
|
||||
$compat = sprintf( __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ), $version_url, $wp_version, $required_php_version, $php_version );
|
||||
$compat = sprintf( __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ), $version_url, $wp_version, $required_php_version, $php_version ) . $php_update_message;
|
||||
} elseif ( ! $mysql_compat ) {
|
||||
/* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required MySQL version number, 4: Current MySQL version number */
|
||||
$compat = sprintf( __( 'You cannot install because <a href="%1$s">WordPress %2$s</a> requires MySQL version %3$s or higher. You are running version %4$s.' ), $version_url, $wp_version, $required_mysql_version, $mysql_version );
|
||||
|
||||
2
wp-admin/js/accordion.min.js
vendored
2
wp-admin/js/accordion.min.js
vendored
@@ -1 +1 @@
|
||||
!function(a){function b(a){var b=a.closest(".accordion-section"),c=b.find("[aria-expanded]").first(),d=b.closest(".accordion-container"),e=d.find(".open"),f=e.find("[aria-expanded]").first(),g=b.find(".accordion-section-content");b.hasClass("cannot-expand")||(d.addClass("opening"),b.hasClass("open")?(b.toggleClass("open"),g.toggle(!0).slideToggle(150)):(f.attr("aria-expanded","false"),e.removeClass("open"),e.find(".accordion-section-content").show().slideUp(150),g.toggle(!1).slideToggle(150),b.toggleClass("open")),setTimeout(function(){d.removeClass("opening")},150),c&&c.attr("aria-expanded",String("false"===c.attr("aria-expanded"))))}a(document).ready(function(){a(".accordion-container").on("click keydown",".accordion-section-title",function(c){"keydown"===c.type&&13!==c.which||(c.preventDefault(),b(a(this)))})})}(jQuery);
|
||||
!function(s){s(document).ready(function(){s(".accordion-container").on("click keydown",".accordion-section-title",function(e){var n,o,a,i,t;"keydown"===e.type&&13!==e.which||(e.preventDefault(),n=s(this),o=n.closest(".accordion-section"),a=o.find("[aria-expanded]").first(),i=o.closest(".accordion-container"),t=i.find(".open"),e=t.find("[aria-expanded]").first(),n=o.find(".accordion-section-content"),o.hasClass("cannot-expand")||(i.addClass("opening"),o.hasClass("open")?(o.toggleClass("open"),n.toggle(!0).slideToggle(150)):(e.attr("aria-expanded","false"),t.removeClass("open"),t.find(".accordion-section-content").show().slideUp(150),n.toggle(!1).slideToggle(150),o.toggleClass("open")),setTimeout(function(){i.removeClass("opening")},150),a&&a.attr("aria-expanded",String("false"===a.attr("aria-expanded")))))})})}(jQuery);
|
||||
2
wp-admin/js/code-editor.min.js
vendored
2
wp-admin/js/code-editor.min.js
vendored
@@ -1 +1 @@
|
||||
"undefined"==typeof window.wp&&(window.wp={}),"undefined"==typeof window.wp.codeEditor&&(window.wp.codeEditor={}),function(a,b){"use strict";function c(b,c){function d(){c.onUpdateErrorNotice&&!_.isEqual(f,g)&&(c.onUpdateErrorNotice(f,b),g=f)}function e(){var e=b.getOption("lint");return!!e&&(!0===e?e={}:_.isObject(e)&&(e=a.extend({},e)),e.options||(e.options={}),"javascript"===c.codemirror.mode&&c.jshint&&a.extend(e.options,c.jshint),"css"===c.codemirror.mode&&c.csslint&&a.extend(e.options,c.csslint),"htmlmixed"===c.codemirror.mode&&c.htmlhint&&(e.options.rules=a.extend({},c.htmlhint),c.jshint&&(e.options.rules.jshint=c.jshint),c.csslint&&(e.options.rules.csslint=c.csslint)),e.onUpdateLinting=function(a){return function(e,h,i){var j=_.filter(e,function(a){return"error"===a.severity});a&&a.apply(e,h,i),_.isEqual(j,f)||(f=j,c.onChangeLintingErrors&&c.onChangeLintingErrors(j,e,h,i),(!b.state.focused||0===f.length||g.length>0)&&d())}}(e.onUpdateLinting),e)}var f=[],g=[];b.setOption("lint",e()),b.on("optionChange",function(a,c){var g,h,i="CodeMirror-lint-markers";"lint"===c&&(h=b.getOption("gutters")||[],g=b.getOption("lint"),!0===g?(_.contains(h,i)||b.setOption("gutters",[i].concat(h)),b.setOption("lint",e())):g||b.setOption("gutters",_.without(h,i)),b.getOption("lint")?b.performLint():(f=[],d()))}),b.on("blur",d),b.on("startCompletion",function(){b.off("blur",d)}),b.on("endCompletion",function(){var a=500;b.on("blur",d),_.delay(function(){b.state.focused||d()},a)}),a(document.body).on("mousedown",function(c){!b.state.focused||a.contains(b.display.wrapper,c.target)||a(c.target).hasClass("CodeMirror-hint")||d()})}function d(b,c){var d=a(b.getTextArea());b.on("blur",function(){d.data("next-tab-blurs",!1)}),b.on("keydown",function(a,e){var f=9,g=27;return g===e.keyCode?void d.data("next-tab-blurs",!0):void(f===e.keyCode&&d.data("next-tab-blurs")&&(e.shiftKey?c.onTabPrevious(b,e):c.onTabNext(b,e),d.data("next-tab-blurs",!1),e.preventDefault()))})}b.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},b.codeEditor.initialize=function(e,f){var g,h,i,j;return g=a("string"==typeof e?"#"+e:e),i=a.extend({},b.codeEditor.defaultSettings,f),i.codemirror=a.extend({},i.codemirror),h=b.CodeMirror.fromTextArea(g[0],i.codemirror),c(h,i),j={settings:i,codemirror:h},h.showHint&&h.on("keyup",function(a,c){var d,e,f,g,i=/^[a-zA-Z]$/.test(c.key);h.state.completionActive&&i||(g=h.getTokenAt(h.getCursor()),"string"!==g.type&&"comment"!==g.type&&(f=b.CodeMirror.innerMode(h.getMode(),g.state).mode.name,e=h.doc.getLine(h.doc.getCursor().line).substr(0,h.doc.getCursor().ch),"html"===f||"xml"===f?d="<"===c.key||"/"===c.key&&"tag"===g.type||i&&"tag"===g.type||i&&"attribute"===g.type||"="===g.string&&g.state.htmlState&&g.state.htmlState.tagName:"css"===f?d=i||":"===c.key||" "===c.key&&/:\s+$/.test(e):"javascript"===f?d=i||"."===c.key:"clike"===f&&"application/x-httpd-php"===h.options.mode&&(d="keyword"===g.type||"variable"===g.type),d&&h.showHint({completeSingle:!1})))}),d(h,f),j}}(window.jQuery,window.wp);
|
||||
void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,d){"use strict";function s(r,s){var a=[],d=[];function c(){s.onUpdateErrorNotice&&!_.isEqual(a,d)&&(s.onUpdateErrorNotice(a,r),d=a)}function i(){var i,t=r.getOption("lint");return!!t&&(!0===t?t={}:_.isObject(t)&&(t=u.extend({},t)),t.options||(t.options={}),"javascript"===s.codemirror.mode&&s.jshint&&u.extend(t.options,s.jshint),"css"===s.codemirror.mode&&s.csslint&&u.extend(t.options,s.csslint),"htmlmixed"===s.codemirror.mode&&s.htmlhint&&(t.options.rules=u.extend({},s.htmlhint),s.jshint&&(t.options.rules.jshint=s.jshint),s.csslint&&(t.options.rules.csslint=s.csslint)),t.onUpdateLinting=(i=t.onUpdateLinting,function(t,n,e){var o=_.filter(t,function(t){return"error"===t.severity});i&&i.apply(t,n,e),_.isEqual(o,a)||(a=o,s.onChangeLintingErrors&&s.onChangeLintingErrors(o,t,n,e),(!r.state.focused||0===a.length||0<d.length)&&c())}),t)}r.setOption("lint",i()),r.on("optionChange",function(t,n){var e,o="CodeMirror-lint-markers";"lint"===n&&(e=r.getOption("gutters")||[],!0===(n=r.getOption("lint"))?(_.contains(e,o)||r.setOption("gutters",[o].concat(e)),r.setOption("lint",i())):n||r.setOption("gutters",_.without(e,o)),r.getOption("lint")?r.performLint():(a=[],c()))}),r.on("blur",c),r.on("startCompletion",function(){r.off("blur",c)}),r.on("endCompletion",function(){r.on("blur",c),_.delay(function(){r.state.focused||c()},500)}),u(document.body).on("mousedown",function(t){!r.state.focused||u.contains(r.display.wrapper,t.target)||u(t.target).hasClass("CodeMirror-hint")||c()})}d.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},d.codeEditor.initialize=function(t,n){var a,e,o,i,r=u("string"==typeof t?"#"+t:t),t=u.extend({},d.codeEditor.defaultSettings,n);return t.codemirror=u.extend({},t.codemirror),s(a=d.CodeMirror.fromTextArea(r[0],t.codemirror),t),t={settings:t,codemirror:a},a.showHint&&a.on("keyup",function(t,n){var e,o,i,r,s=/^[a-zA-Z]$/.test(n.key);a.state.completionActive&&s||"string"!==(r=a.getTokenAt(a.getCursor())).type&&"comment"!==r.type&&(i=d.CodeMirror.innerMode(a.getMode(),r.state).mode.name,o=a.doc.getLine(a.doc.getCursor().line).substr(0,a.doc.getCursor().ch),"html"===i||"xml"===i?e="<"===n.key||"/"===n.key&&"tag"===r.type||s&&"tag"===r.type||s&&"attribute"===r.type||"="===r.string&&r.state.htmlState&&r.state.htmlState.tagName:"css"===i?e=s||":"===n.key||" "===n.key&&/:\s+$/.test(o):"javascript"===i?e=s||"."===n.key:"clike"===i&&"application/x-httpd-php"===a.options.mode&&(e="keyword"===r.type||"variable"===r.type),e&&a.showHint({completeSingle:!1}))}),o=n,i=u((e=a).getTextArea()),e.on("blur",function(){i.data("next-tab-blurs",!1)}),e.on("keydown",function(t,n){27!==n.keyCode?9===n.keyCode&&i.data("next-tab-blurs")&&(n.shiftKey?o.onTabPrevious(e,n):o.onTabNext(e,n),i.data("next-tab-blurs",!1),n.preventDefault()):i.data("next-tab-blurs",!0)}),t}}(window.jQuery,window.wp);
|
||||
2
wp-admin/js/color-picker.min.js
vendored
2
wp-admin/js/color-picker.min.js
vendored
@@ -1 +1 @@
|
||||
!function(a,b){var c,d='<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>',e='<div class="wp-picker-holder" />',f='<div class="wp-picker-container" />',g='<input type="button" class="button button-small" />',h="<label></label>",i='<span class="screen-reader-text"></span>';c={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var b,c=this,d=c.element;d.hide(),b="hsl("+d.val()+", 100, 50)",d.iris({mode:"hsl",type:"hue",hide:!1,color:b,change:function(b,d){a.isFunction(c.options.change)&&c.options.change.call(this,b,d)},width:c.options.width,slider:c.options.slider})},_create:function(){if(a.support.iris){var b=this,c=b.element;if(a.extend(b.options,c.data()),"hue"===b.options.type)return b._createHueOnly();b.close=a.proxy(b.close,b),b.initialValue=c.val(),c.addClass("wp-color-picker"),c.parent("label").length||(c.wrap(h),b.wrappingLabelText=a(i).insertBefore(c).text(wpColorPickerL10n.defaultLabel)),b.wrappingLabel=c.parent(),b.wrappingLabel.wrap(f),b.wrap=b.wrappingLabel.parent(),b.toggler=a(d).insertBefore(b.wrappingLabel).css({backgroundColor:b.initialValue}),b.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),b.pickerContainer=a(e).insertAfter(b.wrappingLabel),b.button=a(g),b.options.defaultColor?b.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString).attr("aria-label",wpColorPickerL10n.defaultAriaLabel):b.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear).attr("aria-label",wpColorPickerL10n.clearAriaLabel),b.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(b.button),b.inputWrapper=c.closest(".wp-picker-input-wrap"),c.iris({target:b.pickerContainer,hide:b.options.hide,width:b.options.width,mode:b.options.mode,palettes:b.options.palettes,change:function(c,d){b.toggler.css({backgroundColor:d.color.toString()}),a.isFunction(b.options.change)&&b.options.change.call(this,c,d)}}),c.val(b.initialValue),b._addListeners(),b.options.hide||b.toggler.click()}},_addListeners:function(){var b=this;b.wrap.on("click.wpcolorpicker",function(a){a.stopPropagation()}),b.toggler.click(function(){b.toggler.hasClass("wp-picker-open")?b.close():b.open()}),b.element.change(function(c){var d=a(this),e=d.val();""!==e&&"#"!==e||(b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c))}),b.button.click(function(c){var d=a(this);d.hasClass("wp-picker-clear")?(b.element.val(""),b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c)):d.hasClass("wp-picker-default")&&b.element.val(b.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),a("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),a("body").off("click.wpcolorpicker",this.close)},color:function(a){return a===b?this.element.iris("option","color"):void this.element.iris("option","color",a)},defaultColor:function(a){return a===b?this.options.defaultColor:void(this.options.defaultColor=a)}},a.widget("wp.wpColorPicker",c)}(jQuery);
|
||||
!function(i,t){var e={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0,width:255,mode:"hsv",type:"full",slider:"horizontal"},_createHueOnly:function(){var e,o=this,t=o.element;t.hide(),e="hsl("+t.val()+", 100, 50)",t.iris({mode:"hsl",type:"hue",hide:!1,color:e,change:function(e,t){i.isFunction(o.options.change)&&o.options.change.call(this,e,t)},width:o.options.width,slider:o.options.slider})},_create:function(){if(i.support.iris){var o=this,e=o.element;if(i.extend(o.options,e.data()),"hue"===o.options.type)return o._createHueOnly();o.close=i.proxy(o.close,o),o.initialValue=e.val(),e.addClass("wp-color-picker"),e.parent("label").length||(e.wrap("<label></label>"),o.wrappingLabelText=i('<span class="screen-reader-text"></span>').insertBefore(e).text(wpColorPickerL10n.defaultLabel)),o.wrappingLabel=e.parent(),o.wrappingLabel.wrap('<div class="wp-picker-container" />'),o.wrap=o.wrappingLabel.parent(),o.toggler=i('<button type="button" class="button wp-color-result" aria-expanded="false"><span class="wp-color-result-text"></span></button>').insertBefore(o.wrappingLabel).css({backgroundColor:o.initialValue}),o.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),o.pickerContainer=i('<div class="wp-picker-holder" />').insertAfter(o.wrappingLabel),o.button=i('<input type="button" class="button button-small" />'),o.options.defaultColor?o.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString).attr("aria-label",wpColorPickerL10n.defaultAriaLabel):o.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear).attr("aria-label",wpColorPickerL10n.clearAriaLabel),o.wrappingLabel.wrap('<span class="wp-picker-input-wrap hidden" />').after(o.button),o.inputWrapper=e.closest(".wp-picker-input-wrap"),e.iris({target:o.pickerContainer,hide:o.options.hide,width:o.options.width,mode:o.options.mode,palettes:o.options.palettes,change:function(e,t){o.toggler.css({backgroundColor:t.color.toString()}),i.isFunction(o.options.change)&&o.options.change.call(this,e,t)}}),e.val(o.initialValue),o._addListeners(),o.options.hide||o.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(e){e.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.change(function(e){var t=i(this).val();""!==t&&"#"!==t||(o.toggler.css("backgroundColor",""),i.isFunction(o.options.clear)&&o.options.clear.call(this,e))}),o.button.click(function(e){var t=i(this);t.hasClass("wp-picker-clear")?(o.element.val(""),o.toggler.css("backgroundColor",""),i.isFunction(o.options.clear)&&o.options.clear.call(this,e)):t.hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})},open:function(){this.element.iris("toggle"),this.inputWrapper.removeClass("hidden"),this.wrap.addClass("wp-picker-active"),this.toggler.addClass("wp-picker-open").attr("aria-expanded","true"),i("body").trigger("click.wpcolorpicker").on("click.wpcolorpicker",this.close)},close:function(){this.element.iris("toggle"),this.inputWrapper.addClass("hidden"),this.wrap.removeClass("wp-picker-active"),this.toggler.removeClass("wp-picker-open").attr("aria-expanded","false"),i("body").off("click.wpcolorpicker",this.close)},color:function(e){if(e===t)return this.element.iris("option","color");this.element.iris("option","color",e)},defaultColor:function(e){if(e===t)return this.options.defaultColor;this.options.defaultColor=e}};i.widget("wp.wpColorPicker",e)}(jQuery);
|
||||
2
wp-admin/js/comment.min.js
vendored
2
wp-admin/js/comment.min.js
vendored
@@ -1 +1 @@
|
||||
jQuery(document).ready(function(a){postboxes.add_postbox_toggles("comment");var b=a("#timestampdiv"),c=a("#timestamp"),d=c.html(),e=b.find(".timestamp-wrap"),f=b.siblings("a.edit-timestamp");f.click(function(c){b.is(":hidden")&&(b.slideDown("fast",function(){a("input, select",e).first().focus()}),a(this).hide()),c.preventDefault()}),b.find(".cancel-timestamp").click(function(e){f.show().focus(),b.slideUp("fast"),a("#mm").val(a("#hidden_mm").val()),a("#jj").val(a("#hidden_jj").val()),a("#aa").val(a("#hidden_aa").val()),a("#hh").val(a("#hidden_hh").val()),a("#mn").val(a("#hidden_mn").val()),c.html(d),e.preventDefault()}),b.find(".save-timestamp").click(function(d){var g=a("#aa").val(),h=a("#mm").val(),i=a("#jj").val(),j=a("#hh").val(),k=a("#mn").val(),l=new Date(g,h-1,i,j,k);return d.preventDefault(),l.getFullYear()!=g||1+l.getMonth()!=h||l.getDate()!=i||l.getMinutes()!=k?void e.addClass("form-invalid"):(e.removeClass("form-invalid"),c.html(commentL10n.submittedOn+" <b>"+commentL10n.dateFormat.replace("%1$s",a('option[value="'+h+'"]',"#mm").attr("data-text")).replace("%2$s",parseInt(i,10)).replace("%3$s",g).replace("%4$s",("00"+j).slice(-2)).replace("%5$s",("00"+k).slice(-2))+"</b> "),f.show().focus(),void b.slideUp("fast"))})});
|
||||
jQuery(document).ready(function(m){postboxes.add_postbox_toggles("comment");var d=m("#timestampdiv"),c=m("#timestamp"),a=c.html(),o=d.find(".timestamp-wrap"),v=d.siblings("a.edit-timestamp");v.click(function(e){d.is(":hidden")&&(d.slideDown("fast",function(){m("input, select",o).first().focus()}),m(this).hide()),e.preventDefault()}),d.find(".cancel-timestamp").click(function(e){v.show().focus(),d.slideUp("fast"),m("#mm").val(m("#hidden_mm").val()),m("#jj").val(m("#hidden_jj").val()),m("#aa").val(m("#hidden_aa").val()),m("#hh").val(m("#hidden_hh").val()),m("#mn").val(m("#hidden_mn").val()),c.html(a),e.preventDefault()}),d.find(".save-timestamp").click(function(e){var a=m("#aa").val(),t=m("#mm").val(),l=m("#jj").val(),i=m("#hh").val(),n=m("#mn").val(),s=new Date(a,t-1,l,i,n);e.preventDefault(),s.getFullYear()==a&&1+s.getMonth()==t&&s.getDate()==l&&s.getMinutes()==n?(o.removeClass("form-invalid"),c.html(commentL10n.submittedOn+" <b>"+commentL10n.dateFormat.replace("%1$s",m('option[value="'+t+'"]',"#mm").attr("data-text")).replace("%2$s",parseInt(l,10)).replace("%3$s",a).replace("%4$s",("00"+i).slice(-2)).replace("%5$s",("00"+n).slice(-2))+"</b> "),v.show().focus(),d.slideUp("fast")):o.addClass("form-invalid")})});
|
||||
2
wp-admin/js/common.min.js
vendored
2
wp-admin/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -126,11 +126,13 @@
|
||||
frame.on( 'select', function() {
|
||||
// Grab the selected attachment.
|
||||
var attachment = frame.state().get('selection').first();
|
||||
var nonceValue = $( '#_wpnonce' ).val() || '';
|
||||
|
||||
// Run an AJAX request to set the background image.
|
||||
$.post( ajaxurl, {
|
||||
action: 'set-background-image',
|
||||
attachment_id: attachment.id,
|
||||
_ajax_nonce: nonceValue,
|
||||
size: 'full'
|
||||
}).done( function() {
|
||||
// When the request completes, reload the window.
|
||||
|
||||
2
wp-admin/js/custom-background.min.js
vendored
2
wp-admin/js/custom-background.min.js
vendored
@@ -1 +1 @@
|
||||
!function(a){a(document).ready(function(){var b,c=a("#custom-background-image");a("#background-color").wpColorPicker({change:function(a,b){c.css("background-color",b.color.toString())},clear:function(){c.css("background-color","")}}),a('select[name="background-size"]').change(function(){c.css("background-size",a(this).val())}),a('input[name="background-position"]').change(function(){c.css("background-position",a(this).val())}),a('input[name="background-repeat"]').change(function(){c.css("background-repeat",a(this).is(":checked")?"repeat":"no-repeat")}),a('input[name="background-attachment"]').change(function(){c.css("background-attachment",a(this).is(":checked")?"scroll":"fixed")}),a("#choose-from-library-link").click(function(c){var d=a(this);return c.preventDefault(),b?void b.open():(b=wp.media.frames.customBackground=wp.media({title:d.data("choose"),library:{type:"image"},button:{text:d.data("update"),close:!1}}),b.on("select",function(){var c=b.state().get("selection").first();a.post(ajaxurl,{action:"set-background-image",attachment_id:c.id,size:"full"}).done(function(){window.location.reload()})}),void b.open())})})}(jQuery);
|
||||
!function(e){e(document).ready(function(){var o,a=e("#custom-background-image");e("#background-color").wpColorPicker({change:function(n,c){a.css("background-color",c.color.toString())},clear:function(){a.css("background-color","")}}),e('select[name="background-size"]').change(function(){a.css("background-size",e(this).val())}),e('input[name="background-position"]').change(function(){a.css("background-position",e(this).val())}),e('input[name="background-repeat"]').change(function(){a.css("background-repeat",e(this).is(":checked")?"repeat":"no-repeat")}),e('input[name="background-attachment"]').change(function(){a.css("background-attachment",e(this).is(":checked")?"scroll":"fixed")}),e("#choose-from-library-link").click(function(n){var c=e(this);n.preventDefault(),o||(o=wp.media.frames.customBackground=wp.media({title:c.data("choose"),library:{type:"image"},button:{text:c.data("update"),close:!1}})).on("select",function(){var n=o.state().get("selection").first(),c=e("#_wpnonce").val()||"";e.post(ajaxurl,{action:"set-background-image",attachment_id:n.id,_ajax_nonce:c,size:"full"}).done(function(){window.location.reload()})}),o.open()})})}(jQuery);
|
||||
5
wp-admin/js/customize-controls.min.js
vendored
5
wp-admin/js/customize-controls.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -544,6 +544,7 @@
|
||||
var menuItem,
|
||||
itemName = $( '#custom-menu-item-name' ),
|
||||
itemUrl = $( '#custom-menu-item-url' ),
|
||||
url = itemUrl.val().trim(),
|
||||
urlRegex;
|
||||
|
||||
if ( ! this.currentMenuControl ) {
|
||||
@@ -567,14 +568,14 @@
|
||||
if ( '' === itemName.val() ) {
|
||||
itemName.addClass( 'invalid' );
|
||||
return;
|
||||
} else if ( ! urlRegex.test( itemUrl.val() ) ) {
|
||||
} else if ( ! urlRegex.test( url ) ) {
|
||||
itemUrl.addClass( 'invalid' );
|
||||
return;
|
||||
}
|
||||
|
||||
menuItem = {
|
||||
'title': itemName.val(),
|
||||
'url': itemUrl.val(),
|
||||
'url': url,
|
||||
'type': 'custom',
|
||||
'type_label': api.Menus.data.l10n.custom_label,
|
||||
'object': 'custom'
|
||||
@@ -3455,7 +3456,7 @@
|
||||
*/
|
||||
function displayNavMenuName( name ) {
|
||||
name = name || '';
|
||||
name = $( '<div>' ).text( name ).html(); // Emulate esc_html() which is used in wp-admin/nav-menus.php.
|
||||
name = wp.sanitize.stripTagsAndEncodeText( name ); // Remove any potential tags from name.
|
||||
name = $.trim( name );
|
||||
return name || api.Menus.data.l10n.unnamed;
|
||||
}
|
||||
|
||||
3
wp-admin/js/customize-nav-menus.min.js
vendored
3
wp-admin/js/customize-nav-menus.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/customize-widgets.min.js
vendored
2
wp-admin/js/customize-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/dashboard.min.js
vendored
2
wp-admin/js/dashboard.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/edit-comments.min.js
vendored
2
wp-admin/js/edit-comments.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/editor-expand.min.js
vendored
2
wp-admin/js/editor-expand.min.js
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/js/editor.min.js
vendored
2
wp-admin/js/editor.min.js
vendored
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user