Compare commits
119 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b84a21d66 | ||
|
|
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,116 @@ 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.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 +196,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>
|
||||
|
||||
|
||||
@@ -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}}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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
@@ -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">
|
||||
|
||||
@@ -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'] ),
|
||||
),
|
||||
)
|
||||
);
|
||||
@@ -4869,7 +4870,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 +4890,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 +4910,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 +4931,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 +4951,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 +4968,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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -1628,7 +1628,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',
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
|
||||
@@ -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>';
|
||||
}
|
||||
|
||||
@@ -723,8 +723,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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
4
wp-admin/js/customize-nav-menus.min.js
vendored
4
wp-admin/js/customize-nav-menus.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -944,7 +944,7 @@
|
||||
},
|
||||
|
||||
addCustomLink : function( processMethod ) {
|
||||
var url = $('#custom-menu-item-url').val(),
|
||||
var url = $('#custom-menu-item-url').val().trim(),
|
||||
label = $('#custom-menu-item-name').val();
|
||||
|
||||
processMethod = processMethod || api.addMenuItemToBottom;
|
||||
|
||||
2
wp-admin/js/nav-menu.min.js
vendored
2
wp-admin/js/nav-menu.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -795,7 +795,9 @@ jQuery(document).ready( function($) {
|
||||
}
|
||||
|
||||
// Update "Status:" to currently selected status.
|
||||
$('#post-status-display').html($('option:selected', postStatus).text());
|
||||
$('#post-status-display').text(
|
||||
wp.sanitize.stripTagsAndEncodeText( $('option:selected', postStatus).text() ) // Remove any potential tags from post status text.
|
||||
);
|
||||
|
||||
// Show or hide the "Save Draft" button.
|
||||
if ( $('option:selected', postStatus).val() == 'private' || $('option:selected', postStatus).val() == 'publish' ) {
|
||||
|
||||
2
wp-admin/js/post.min.js
vendored
2
wp-admin/js/post.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -262,7 +262,8 @@
|
||||
|
||||
if ( 'undefined' !== typeof response.debug && window.console && window.console.log ) {
|
||||
_.map( response.debug, function( message ) {
|
||||
window.console.log( $( '<p />' ).html( message ).text() );
|
||||
// Remove all HTML tags and write a message to the console.
|
||||
window.console.log( wp.sanitize.stripTagsAndEncodeText( message ) );
|
||||
} );
|
||||
}
|
||||
};
|
||||
|
||||
4
wp-admin/js/updates.min.js
vendored
4
wp-admin/js/updates.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -18,9 +18,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<title><?php _e( 'WordPress › Database Repair' ); ?></title>
|
||||
<?php
|
||||
wp_admin_css( 'install', true );
|
||||
?>
|
||||
<?php wp_admin_css( 'install', true ); ?>
|
||||
</head>
|
||||
<body class="wp-core-ui">
|
||||
<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></p>
|
||||
|
||||
@@ -263,7 +263,7 @@ $menu[75] = array( __( 'Tools' ), 'edit_posts', 'tools.php',
|
||||
$submenu['tools.php'][5] = array( __( 'Available Tools' ), 'edit_posts', 'tools.php' );
|
||||
$submenu['tools.php'][10] = array( __( 'Import' ), 'import', 'import.php' );
|
||||
$submenu['tools.php'][15] = array( __( 'Export' ), 'export', 'export.php' );
|
||||
$submenu['tools.php'][20] = array( __( 'Site Health' ), 'install_plugins', 'site-health.php' );
|
||||
$submenu['tools.php'][20] = array( __( 'Site Health' ), 'view_site_health_checks', 'site-health.php' );
|
||||
if ( is_multisite() && ! is_main_site() ) {
|
||||
$submenu['tools.php'][25] = array( __( 'Delete Site' ), 'delete_site', 'ms-delete-site.php' );
|
||||
}
|
||||
|
||||
@@ -620,23 +620,27 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
endif;
|
||||
|
||||
$nav_tab_active_class = '';
|
||||
$nav_aria_current = '';
|
||||
if ( ! isset( $_GET['action'] ) || isset( $_GET['action'] ) && 'locations' != $_GET['action'] ) {
|
||||
$nav_tab_active_class = ' nav-tab-active';
|
||||
$nav_aria_current = ' aria-current="page"';
|
||||
}
|
||||
?>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<nav class="nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php echo $nav_tab_active_class; ?>"><?php esc_html_e( 'Edit Menus' ); ?></a>
|
||||
<a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php echo $nav_tab_active_class; ?>"<?php echo $nav_aria_current; ?>><?php esc_html_e( 'Edit Menus' ); ?></a>
|
||||
<?php
|
||||
if ( $num_locations && $menu_count ) {
|
||||
$active_tab_class = '';
|
||||
$aria_current = '';
|
||||
if ( $locations_screen ) {
|
||||
$active_tab_class = ' nav-tab-active';
|
||||
$aria_current = ' aria-current="page"';
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php echo $active_tab_class; ?>"><?php esc_html_e( 'Manage Locations' ); ?></a>
|
||||
<a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php echo $active_tab_class; ?>"<?php echo $aria_current; ?>><?php esc_html_e( 'Manage Locations' ); ?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@@ -878,7 +882,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
$menu_name_val = 'value="' . esc_attr( $nav_menu_selected_title ) . '"';
|
||||
}
|
||||
?>
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="menu" id="menu" value="<?php echo esc_attr( $nav_menu_selected_id ); ?>" />
|
||||
<div id="nav-menu-header">
|
||||
<div class="major-publishing-actions wp-clearfix">
|
||||
@@ -956,8 +960,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<?php if ( ! empty( $menu_locations[ $location ] ) && $menu_locations[ $location ] != $nav_menu_selected_id ) : ?>
|
||||
<span class="theme-location-set">
|
||||
<?php
|
||||
/* translators: %s: menu name */
|
||||
printf(
|
||||
/* translators: %s: menu name */
|
||||
_x( '(Currently set to: %s)', 'menu location' ),
|
||||
wp_get_nav_menu_object( $menu_locations[ $location ] )->name
|
||||
);
|
||||
|
||||
@@ -148,7 +148,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
<form method="post" action="settings.php" novalidate="novalidate">
|
||||
<?php wp_nonce_field( 'siteoptions' ); ?>
|
||||
<h2><?php _e( 'Operational Settings' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><label for="site_name"><?php _e( 'Network Title' ); ?></label></th>
|
||||
<td>
|
||||
@@ -188,7 +188,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
</tr>
|
||||
</table>
|
||||
<h2><?php _e( 'Registration Settings' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Allow new registrations' ); ?></th>
|
||||
<?php
|
||||
@@ -277,7 +277,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
|
||||
</table>
|
||||
<h2><?php _e( 'New Site Settings' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ); ?></label></th>
|
||||
@@ -358,7 +358,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
</tr>
|
||||
</table>
|
||||
<h2><?php _e( 'Upload Settings' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Site upload space' ); ?></th>
|
||||
<td>
|
||||
@@ -402,7 +402,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
if ( ! empty( $languages ) || ! empty( $translations ) ) {
|
||||
?>
|
||||
<h2><?php _e( 'Language Settings' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th><label for="WPLANG"><?php _e( 'Default Language' ); ?></label></th>
|
||||
<td>
|
||||
@@ -452,16 +452,15 @@ if ( isset( $_GET['updated'] ) ) {
|
||||
*
|
||||
* @param string[] $admin_menus Associative array of the menu items available.
|
||||
*/
|
||||
$menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) );
|
||||
$fieldset_end = '';
|
||||
if ( count( (array) $menu_items ) > 1 ) {
|
||||
echo '<fieldset><legend class="screen-reader-text">' . __( 'Enable menus' ) . '</legend>';
|
||||
$fieldset_end = '</fieldset>';
|
||||
}
|
||||
$menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) );
|
||||
|
||||
echo '<fieldset><legend class="screen-reader-text">' . __( 'Enable menus' ) . '</legend>';
|
||||
|
||||
foreach ( (array) $menu_items as $key => $val ) {
|
||||
echo "<label><input type='checkbox' name='menu_items[" . $key . "]' value='1'" . ( isset( $menu_perms[ $key ] ) ? checked( $menu_perms[ $key ], '1', false ) : '' ) . ' /> ' . esc_html( $val ) . '</label><br/>';
|
||||
}
|
||||
echo $fieldset_end;
|
||||
|
||||
echo '</fieldset>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -152,7 +152,7 @@ if ( ! empty( $messages ) ) {
|
||||
<form method="post" action="site-info.php?action=update-site">
|
||||
<?php wp_nonce_field( 'edit-site' ); ?>
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php
|
||||
// The main site of the network should not be updated on this page.
|
||||
if ( $is_main_site ) :
|
||||
@@ -166,7 +166,7 @@ if ( ! empty( $messages ) ) {
|
||||
else :
|
||||
?>
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><?php _e( 'Site Address (URL)' ); ?></th>
|
||||
<th scope="row"><label for="url"><?php _e( 'Site Address (URL)' ); ?></label></th>
|
||||
<td><input name="blog[url]" type="text" id="url" value="<?php echo $parsed_scheme . '://' . esc_attr( $details->domain ) . esc_attr( $details->path ); ?>" /></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -224,7 +224,7 @@ printf(
|
||||
</p>
|
||||
<form method="post" action="<?php echo network_admin_url( 'site-new.php?action=add-site' ); ?>" novalidate="novalidate">
|
||||
<?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ); ?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><label for="site-address"><?php _e( 'Site Address (URL)' ); ?> <span class="required">*</span></label></th>
|
||||
<td>
|
||||
@@ -281,7 +281,7 @@ printf(
|
||||
<td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" id="admin-email" data-autocomplete-type="search" data-autocomplete-field="user_email" aria-describedby="site-admin-email" required /></td>
|
||||
</tr>
|
||||
<tr class="form-field">
|
||||
<td colspan="2"><p id="site-admin-email"><?php _e( 'A new user will be created if the above email address is not in the database.' ); ?><br /><?php _e( 'The username and a link to set the password will be mailed to this email address.' ); ?></p></td>
|
||||
<td colspan="2" class="td-full"><p id="site-admin-email"><?php _e( 'A new user will be created if the above email address is not in the database.' ); ?><br /><?php _e( 'The username and a link to set the password will be mailed to this email address.' ); ?></p></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ if ( ! empty( $messages ) ) {
|
||||
<form method="post" action="site-settings.php?action=update-site">
|
||||
<?php wp_nonce_field( 'edit-site' ); ?>
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php
|
||||
$blog_prefix = $wpdb->get_blog_prefix( $id );
|
||||
$sql = "SELECT * FROM {$blog_prefix}options
|
||||
|
||||
@@ -300,7 +300,7 @@ if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_us
|
||||
<h2 id="add-existing-user"><?php _e( 'Add Existing User' ); ?></h2>
|
||||
<form action="site-users.php?action=adduser" id="adduser" method="post">
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><label for="newuser"><?php _e( 'Username' ); ?></label></th>
|
||||
<td><input type="text" class="regular-text wp-suggest-user" name="newuser" id="newuser" /></td>
|
||||
@@ -334,7 +334,7 @@ if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_use
|
||||
<h2 id="add-new-user"><?php _e( 'Add New User' ); ?></h2>
|
||||
<form action="<?php echo network_admin_url( 'site-users.php?action=newuser' ); ?>" id="newuser" method="post">
|
||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" />
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><label for="user_username"><?php _e( 'Username' ); ?></label></th>
|
||||
<td><input type="text" class="regular-text" name="user[username]" id="user_username" /></td>
|
||||
@@ -354,7 +354,7 @@ if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_use
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr class="form-field">
|
||||
<td colspan="2"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>
|
||||
<td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ); ?>
|
||||
|
||||
@@ -120,7 +120,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) {
|
||||
</div>
|
||||
<?php } ?>
|
||||
<form action="<?php echo network_admin_url( 'user-new.php?action=add-user' ); ?>" id="adduser" method="post" novalidate="novalidate">
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><label for="username"><?php _e( 'Username' ); ?></label></th>
|
||||
<td><input type="text" class="regular-text" name="user[username]" id="username" autocapitalize="none" autocorrect="off" maxlength="60" /></td>
|
||||
@@ -130,7 +130,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) {
|
||||
<td><input type="email" class="regular-text" name="user[email]" id="email"/></td>
|
||||
</tr>
|
||||
<tr class="form-field">
|
||||
<td colspan="2"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>
|
||||
<td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
|
||||
@@ -41,7 +41,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<form method="post" action="options.php">
|
||||
<?php settings_fields( 'discussion' ); ?>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Default article settings' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Default article settings' ); ?></span></legend>
|
||||
@@ -218,15 +218,15 @@ if ( ! $show_avatars ) {
|
||||
}
|
||||
?>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Avatar Display' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Avatar Display' ); ?></span></legend>
|
||||
<td>
|
||||
<label for="show_avatars">
|
||||
<input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> />
|
||||
<?php _e( 'Show Avatars' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="avatar-settings<?php echo $show_avatars_class; ?>">
|
||||
<th scope="row"><?php _e( 'Maximum Rating' ); ?></th>
|
||||
@@ -255,7 +255,9 @@ endforeach;
|
||||
<th scope="row"><?php _e( 'Default Avatar' ); ?></th>
|
||||
<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Default Avatar' ); ?></span></legend>
|
||||
|
||||
<p>
|
||||
<?php _e( 'For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address.' ); ?><br />
|
||||
</p>
|
||||
|
||||
<?php
|
||||
$avatar_defaults = array(
|
||||
|
||||
@@ -58,7 +58,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<form method="post" action="options.php" novalidate="novalidate">
|
||||
<?php settings_fields( 'general' ); ?>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="blogname"><?php _e( 'Site Title' ); ?></label></th>
|
||||
|
||||
@@ -51,7 +51,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<h2 class="title"><?php _e( 'Image sizes' ); ?></h2>
|
||||
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Thumbnail size' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Thumbnail size' ); ?></span></legend>
|
||||
@@ -98,14 +98,14 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) :
|
||||
?>
|
||||
<h2 class="title"><?php _e( 'Embeds' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php do_settings_fields( 'media', 'embeds' ); ?>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( ! is_multisite() ) : ?>
|
||||
<h2 class="title"><?php _e( 'Uploading Files' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php
|
||||
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
|
||||
if ( get_option( 'upload_url_path' ) || ( get_option( 'upload_path' ) != 'wp-content/uploads' && get_option( 'upload_path' ) ) ) :
|
||||
|
||||
@@ -197,27 +197,27 @@ $structures = array(
|
||||
<h2 class="title"><?php _e( 'Common Settings' ); ?></h2>
|
||||
<table class="form-table permalink-structure">
|
||||
<tr>
|
||||
<th><label><input name="selection" type="radio" value="" <?php checked( '', $permalink_structure ); ?> /> <?php _e( 'Plain' ); ?></label></th>
|
||||
<th scope="row"><label><input name="selection" type="radio" value="" <?php checked( '', $permalink_structure ); ?> /> <?php _e( 'Plain' ); ?></label></th>
|
||||
<td><code><?php echo get_option( 'home' ); ?>/?p=123</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[1] ); ?>" <?php checked( $structures[1], $permalink_structure ); ?> /> <?php _e( 'Day and name' ); ?></label></th>
|
||||
<th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[1] ); ?>" <?php checked( $structures[1], $permalink_structure ); ?> /> <?php _e( 'Day and name' ); ?></label></th>
|
||||
<td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . date( 'Y' ) . '/' . date( 'm' ) . '/' . date( 'd' ) . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[2] ); ?>" <?php checked( $structures[2], $permalink_structure ); ?> /> <?php _e( 'Month and name' ); ?></label></th>
|
||||
<th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[2] ); ?>" <?php checked( $structures[2], $permalink_structure ); ?> /> <?php _e( 'Month and name' ); ?></label></th>
|
||||
<td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . date( 'Y' ) . '/' . date( 'm' ) . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[3] ); ?>" <?php checked( $structures[3], $permalink_structure ); ?> /> <?php _e( 'Numeric' ); ?></label></th>
|
||||
<th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[3] ); ?>" <?php checked( $structures[3], $permalink_structure ); ?> /> <?php _e( 'Numeric' ); ?></label></th>
|
||||
<td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . _x( 'archives', 'sample permalink base' ) . '/123'; ?></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[4] ); ?>" <?php checked( $structures[4], $permalink_structure ); ?> /> <?php _e( 'Post name' ); ?></label></th>
|
||||
<th scope="row"><label><input name="selection" type="radio" value="<?php echo esc_attr( $structures[4] ); ?>" <?php checked( $structures[4], $permalink_structure ); ?> /> <?php _e( 'Post name' ); ?></label></th>
|
||||
<td><code><?php echo get_option( 'home' ) . $blog_prefix . $prefix . '/' . _x( 'sample-post', 'sample permalink structure' ) . '/'; ?></code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<th scope="row">
|
||||
<label><input name="selection" id="custom_selection" type="radio" value="custom" <?php checked( ! in_array( $permalink_structure, $structures ) ); ?> />
|
||||
<?php _e( 'Custom Structure' ); ?>
|
||||
</label>
|
||||
@@ -300,7 +300,7 @@ printf( __( 'If you like, you may enter custom structures for your category and
|
||||
?>
|
||||
</p>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e( 'Category base' ); ?></label></th>
|
||||
<td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td>
|
||||
|
||||
@@ -61,7 +61,7 @@ if ( ! in_array( get_option( 'blog_charset' ), array( 'utf8', 'utf-8', 'UTF8', '
|
||||
|
||||
<?php if ( ! get_pages() ) : ?>
|
||||
<input name="show_on_front" type="hidden" value="posts" />
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php
|
||||
if ( 'posts' != get_option( 'show_on_front' ) ) :
|
||||
update_option( 'show_on_front', 'posts' );
|
||||
@@ -72,7 +72,7 @@ else :
|
||||
update_option( 'show_on_front', 'posts' );
|
||||
}
|
||||
?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Your homepage displays' ); ?></th>
|
||||
<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Your homepage displays' ); ?></span></legend>
|
||||
|
||||
@@ -62,7 +62,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<form method="post" action="options.php">
|
||||
<?php settings_fields( 'writing' ); ?>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Formatting' ); ?></th>
|
||||
@@ -150,7 +150,7 @@ if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
|
||||
?>
|
||||
</p>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><label for="mailserver_url"><?php _e( 'Mail Server' ); ?></label></th>
|
||||
<td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option( 'mailserver_url' ); ?>" class="regular-text code" />
|
||||
|
||||
@@ -320,7 +320,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||
<?php wp_nonce_field( 'options-options' ); ?>
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="option_page" value="options" />
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php
|
||||
$options = $wpdb->get_results( "SELECT * FROM $wpdb->options ORDER BY option_name" );
|
||||
|
||||
|
||||
@@ -191,9 +191,9 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<table class="form-table tools-privacy-policy-page">
|
||||
<table class="form-table tools-privacy-policy-page" role="presentation">
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<th scope="row"><label for="page_for_privacy_policy">
|
||||
<?php
|
||||
if ( $privacy_policy_page_exists ) {
|
||||
_e( 'Change your Privacy Policy page' );
|
||||
@@ -201,7 +201,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
_e( 'Select a Privacy Policy page' );
|
||||
}
|
||||
?>
|
||||
</th>
|
||||
</label></th>
|
||||
<td>
|
||||
<?php
|
||||
$has_pages = (bool) get_posts(
|
||||
@@ -218,9 +218,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
if ( $has_pages ) :
|
||||
?>
|
||||
<form method="post" action="">
|
||||
<label for="page_for_privacy_policy">
|
||||
<?php _e( 'Select an existing page:' ); ?>
|
||||
</label>
|
||||
<input type="hidden" name="action" value="set-privacy-page" />
|
||||
<?php
|
||||
wp_dropdown_pages(
|
||||
|
||||
@@ -207,26 +207,26 @@ switch ( $step ) {
|
||||
<h1 class="screen-reader-text"><?php _e( 'Set up your database connection' ); ?></h1>
|
||||
<form method="post" action="setup-config.php?step=2">
|
||||
<p><?php _e( 'Below you should enter your database connection details. If you’re not sure about these, contact your host.' ); ?></p>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr>
|
||||
<th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
|
||||
<td><input name="dbname" id="dbname" type="text" size="25" value="wordpress"<?php echo $autofocus; ?>/></td>
|
||||
<td><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td>
|
||||
<td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" value="wordpress"<?php echo $autofocus; ?>/></td>
|
||||
<td id="dbname-desc"><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="uname"><?php _e( 'Username' ); ?></label></th>
|
||||
<td><input name="uname" id="uname" type="text" size="25" value="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /></td>
|
||||
<td><?php _e( 'Your database username.' ); ?></td>
|
||||
<td><input name="uname" id="uname" type="text" aria-describedby="uname-desc" size="25" value="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /></td>
|
||||
<td id="uname-desc"><?php _e( 'Your database username.' ); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="pwd"><?php _e( 'Password' ); ?></label></th>
|
||||
<td><input name="pwd" id="pwd" type="text" size="25" value="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td>
|
||||
<td><?php _e( 'Your database password.' ); ?></td>
|
||||
<td><input name="pwd" id="pwd" type="text" aria-describedby="pwd-desc" size="25" value="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td>
|
||||
<td id="pwd-desc"><?php _e( 'Your database password.' ); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="dbhost"><?php _e( 'Database Host' ); ?></label></th>
|
||||
<td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td>
|
||||
<td>
|
||||
<td><input name="dbhost" id="dbhost" type="text" aria-describedby="dbhost-desc" size="25" value="localhost" /></td>
|
||||
<td id="dbhost-desc">
|
||||
<?php
|
||||
/* translators: %s: localhost */
|
||||
printf( __( 'You should be able to get this info from your web host, if %s doesn’t work.' ), '<code>localhost</code>' );
|
||||
@@ -235,8 +235,8 @@ switch ( $step ) {
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="prefix"><?php _e( 'Table Prefix' ); ?></label></th>
|
||||
<td><input name="prefix" id="prefix" type="text" value="wp_" size="25" /></td>
|
||||
<td><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></td>
|
||||
<td><input name="prefix" id="prefix" type="text" aria-describedby="prefix-desc" value="wp_" size="25" /></td>
|
||||
<td id="prefix-desc"><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
|
||||
@@ -11,7 +11,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
$title = __( 'Site Health Info' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to access the debug data.' ), '', 403 );
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
$title = __( 'Site Health Status' );
|
||||
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
if ( ! current_user_can( 'view_site_health_checks' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to access site health information.' ), '', 403 );
|
||||
}
|
||||
|
||||
@@ -52,11 +52,17 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
<nav class="health-check-tabs-wrapper hide-if-no-js" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
||||
<a href="<?php echo esc_url( admin_url( 'site-health.php' ) ); ?>" class="health-check-tab active" aria-current="true">
|
||||
<?php _e( 'Status' ); ?>
|
||||
<?php
|
||||
/* translators: tab heading for Site Health Status page */
|
||||
_ex( 'Status', 'Site Health' );
|
||||
?>
|
||||
</a>
|
||||
|
||||
<a href="<?php echo esc_url( admin_url( 'site-health.php?tab=debug' ) ); ?>" class="health-check-tab">
|
||||
<?php _e( 'Info' ); ?>
|
||||
<?php
|
||||
/* translators: tab heading for Site Health Info page */
|
||||
_ex( 'Info', 'Site Health' );
|
||||
?>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
@@ -76,12 +76,20 @@ function list_core_update( $update ) {
|
||||
sanitize_title( $update->current )
|
||||
);
|
||||
|
||||
/* 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 */
|
||||
$message = sprintf( __( 'You cannot update 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, $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
|
||||
$message = sprintf( __( 'You cannot update 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, $update->current, $update->php_version, $update->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 */
|
||||
$message = sprintf( __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ), $version_url, $update->current, $update->php_version, $php_version );
|
||||
$message = sprintf( __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires PHP version %3$s or higher. You are running version %4$s.' ), $version_url, $update->current, $update->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 */
|
||||
$message = sprintf( __( 'You cannot update because <a href="%1$s">WordPress %2$s</a> requires MySQL version %3$s or higher. You are running version %4$s.' ), $version_url, $update->current, $update->mysql_version, $mysql_version );
|
||||
|
||||
@@ -85,16 +85,26 @@ elseif ( ! $php_compat || ! $mysql_compat ) :
|
||||
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 */
|
||||
$message = sprintf( __( 'You cannot update 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 );
|
||||
$message = sprintf( __( 'You cannot update 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 */
|
||||
$message = sprintf( __( 'You cannot update 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 );
|
||||
$message = sprintf( __( 'You cannot update 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 */
|
||||
$message = sprintf( __( 'You cannot update 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 );
|
||||
}
|
||||
|
||||
echo '<p>' . $message . '</p>';
|
||||
?>
|
||||
<?php
|
||||
else :
|
||||
|
||||
@@ -255,7 +255,7 @@ switch ( $action ) {
|
||||
|
||||
<h2><?php _e( 'Personal Options' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<?php if ( ! ( IS_PROFILE_PAGE && ! $user_can_edit ) ) : ?>
|
||||
<tr class="user-rich-editing-wrap">
|
||||
<th scope="row"><?php _e( 'Visual Editor' ); ?></th>
|
||||
@@ -385,7 +385,7 @@ endif;
|
||||
|
||||
<h2><?php _e( 'Name' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="user-user-login-wrap">
|
||||
<th><label for="user_login"><?php _e( 'Username' ); ?></label></th>
|
||||
<td><input type="text" name="user_login" id="user_login" value="<?php echo esc_attr( $profileuser->user_login ); ?>" disabled="disabled" class="regular-text" /> <span class="description"><?php _e( 'Usernames cannot be changed.' ); ?></span></td>
|
||||
@@ -482,7 +482,7 @@ endif; //!IS_PROFILE_PAGE
|
||||
|
||||
<h2><?php _e( 'Contact Info' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="user-email-wrap">
|
||||
<th><label for="email"><?php _e( 'Email' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
|
||||
<td><input type="email" name="email" id="email" aria-describedby="email-description" value="<?php echo esc_attr( $profileuser->user_email ); ?>" class="regular-text ltr" />
|
||||
@@ -551,7 +551,7 @@ endif; //!IS_PROFILE_PAGE
|
||||
|
||||
<h2><?php IS_PROFILE_PAGE ? _e( 'About Yourself' ) : _e( 'About the user' ); ?></h2>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="user-description-wrap">
|
||||
<th><label for="description"><?php _e( 'Biographical Info' ); ?></label></th>
|
||||
<td><textarea name="description" id="description" rows="5" cols="30"><?php echo $profileuser->description; // textarea_escaped ?></textarea>
|
||||
@@ -568,7 +568,7 @@ endif; //!IS_PROFILE_PAGE
|
||||
if ( IS_PROFILE_PAGE ) {
|
||||
/* translators: %s: Gravatar URL */
|
||||
$description = sprintf(
|
||||
__( 'You can change your profile picture on <a href="%s">Gravatar</a>.' ),
|
||||
__( '<a href="%s">You can change your profile picture on Gravatar</a>.' ),
|
||||
__( 'https://en.gravatar.com/' )
|
||||
);
|
||||
} else {
|
||||
@@ -607,7 +607,7 @@ endif; //!IS_PROFILE_PAGE
|
||||
</table>
|
||||
|
||||
<h2><?php _e( 'Account Management' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr id="password" class="user-pass1-wrap">
|
||||
<th><label for="pass1"><?php _e( 'New Password' ); ?></label></th>
|
||||
<td>
|
||||
@@ -728,7 +728,7 @@ endif; //!IS_PROFILE_PAGE
|
||||
) :
|
||||
?>
|
||||
<h2><?php _e( 'Additional Capabilities' ); ?></h2>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="user-capabilities-wrap">
|
||||
<th scope="row"><?php _e( 'Capabilities' ); ?></th>
|
||||
<td>
|
||||
|
||||
@@ -393,7 +393,7 @@ if ( is_multisite() && current_user_can( 'promote_users' ) ) {
|
||||
<input name="action" type="hidden" value="adduser" />
|
||||
<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ); ?>
|
||||
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><label for="adduser-email"><?php echo $label; ?></label></th>
|
||||
<td><input name="email" type="<?php echo $type; ?>" id="adduser-email" class="wp-suggest-user" value="" /></td>
|
||||
@@ -462,7 +462,7 @@ if ( current_user_can( 'create_users' ) ) {
|
||||
$new_user_ignore_pass = $creating && isset( $_POST['noconfirmation'] ) ? wp_unslash( $_POST['noconfirmation'] ) : '';
|
||||
|
||||
?>
|
||||
<table class="form-table">
|
||||
<table class="form-table" role="presentation">
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><label for="user_login"><?php _e( 'Username' ); ?> <span class="description"><?php _e( '(required)' ); ?></span></label></th>
|
||||
<td><input name="user_login" type="text" id="user_login" value="<?php echo esc_attr( $new_user_login ); ?>" aria-required="true" autocapitalize="none" autocorrect="off" maxlength="60" /></td>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Twenty Eleven 3.2\n"
|
||||
"Project-Id-Version: Twenty Eleven 3.3\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/twentyeleven\n"
|
||||
"POT-Creation-Date: 2019-01-31 17:52:02+00:00\n"
|
||||
"POT-Creation-Date: 2019-05-07 18:19:59+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@@ -134,7 +134,7 @@ msgstr ""
|
||||
|
||||
#: content-aside.php:35 content-gallery.php:34 content-image.php:29
|
||||
#: content-link.php:35 content-quote.php:35 content-status.php:48
|
||||
#: content.php:41 functions.php:457
|
||||
#: content.php:41 functions.php:459
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
|
||||
@@ -166,7 +166,7 @@ msgstr ""
|
||||
#: content-aside.php:53 content-featured.php:52 content-gallery.php:106
|
||||
#: content-image.php:79 content-intro.php:26 content-link.php:53
|
||||
#: content-page.php:28 content-quote.php:84 content-single.php:59
|
||||
#: content-status.php:66 content.php:94 functions.php:710 functions.php:741
|
||||
#: content-status.php:66 content.php:94 functions.php:712 functions.php:743
|
||||
#: image.php:45
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
@@ -220,7 +220,7 @@ msgstr ""
|
||||
msgid "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>"
|
||||
msgstr ""
|
||||
|
||||
#: content-image.php:49 functions.php:791
|
||||
#: content-image.php:49 functions.php:793
|
||||
msgid "View all posts by %s"
|
||||
msgstr ""
|
||||
|
||||
@@ -268,147 +268,147 @@ msgstr ""
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:100
|
||||
#: functions.php:102
|
||||
msgid "Blue"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:105
|
||||
#: functions.php:107
|
||||
msgid "Black"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:110
|
||||
#: functions.php:112
|
||||
msgid "Dark Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:115
|
||||
#: functions.php:117
|
||||
msgid "Medium Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:120
|
||||
#: functions.php:122
|
||||
msgid "Light Gray"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:125
|
||||
#: functions.php:127
|
||||
msgid "White"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:142
|
||||
#: functions.php:144
|
||||
msgid "Primary Menu"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:236
|
||||
#: functions.php:238
|
||||
msgid "Wheel"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:242
|
||||
#: functions.php:244
|
||||
msgid "Shore"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:248
|
||||
#: functions.php:250
|
||||
msgid "Trolley"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:254
|
||||
#: functions.php:256
|
||||
msgid "Pine Cone"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:260
|
||||
#: functions.php:262
|
||||
msgid "Chessboard"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:266
|
||||
#: functions.php:268
|
||||
msgid "Lanterns"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:272
|
||||
#: functions.php:274
|
||||
msgid "Willow"
|
||||
msgstr ""
|
||||
|
||||
#. translators: header image description
|
||||
|
||||
#: functions.php:278
|
||||
#: functions.php:280
|
||||
msgid "Hanoi Plant"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:530
|
||||
#: functions.php:532
|
||||
msgid "Main Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:541
|
||||
#: functions.php:543
|
||||
msgid "Showcase Sidebar"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:543
|
||||
#: functions.php:545
|
||||
msgid "The sidebar for the optional Showcase Template"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:553
|
||||
#: functions.php:555
|
||||
msgid "Footer Area One"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:555 functions.php:567 functions.php:579
|
||||
#: functions.php:557 functions.php:569 functions.php:581
|
||||
msgid "An optional widget area for your site footer"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:565
|
||||
#: functions.php:567
|
||||
msgid "Footer Area Two"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:577
|
||||
#: functions.php:579
|
||||
msgid "Footer Area Three"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:603 single.php:21
|
||||
#: functions.php:605 single.php:21
|
||||
msgid "Post navigation"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:604
|
||||
#: functions.php:606
|
||||
msgid "<span class=\"meta-nav\">←</span> Older posts"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:605
|
||||
#: functions.php:607
|
||||
msgid "Newer posts <span class=\"meta-nav\">→</span>"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:710
|
||||
#: functions.php:712
|
||||
msgid "Pingback:"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: comment author, 2: date and time
|
||||
|
||||
#: functions.php:729
|
||||
#: functions.php:731
|
||||
msgid "%1$s on %2$s <span class=\"says\">said:</span>"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: date, 2: time
|
||||
|
||||
#: functions.php:736
|
||||
#: functions.php:738
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:745
|
||||
#: functions.php:747
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:759
|
||||
#: functions.php:761
|
||||
msgid "Reply <span>↓</span>"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:785
|
||||
#: functions.php:787
|
||||
msgid "<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
|
||||
msgstr ""
|
||||
|
||||
@@ -416,15 +416,15 @@ msgstr ""
|
||||
msgid "Page %s"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:142
|
||||
#: header.php:143
|
||||
msgid "Main menu"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:144
|
||||
#: header.php:145
|
||||
msgid "Skip to primary content"
|
||||
msgstr ""
|
||||
|
||||
#: header.php:146
|
||||
#: header.php:147
|
||||
msgid "Skip to secondary content"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Contributors: wordpressdotorg
|
||||
Requires at least: WordPress 3.2
|
||||
Tested up to: WordPress 5.0
|
||||
Requires PHP: 5.2.4
|
||||
Stable tag: 3.2
|
||||
Stable tag: 3.3
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
|
||||
@@ -44,6 +44,11 @@ Source: https://github.com/aFarkas/html5shiv
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 3.3 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.3
|
||||
|
||||
= 3.2 =
|
||||
* Released: February 21, 2019
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyeleven/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
|
||||
Version: 3.2
|
||||
Version: 3.3
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
|
||||
|
||||
@@ -3,7 +3,7 @@ Contributors: wordpressdotorg
|
||||
Requires at least: WordPress 4.1
|
||||
Tested up to: WordPress 5.0
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.4
|
||||
Version: 2.5
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
|
||||
@@ -56,6 +56,11 @@ Source: http://www.genericons.com
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.5 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.5
|
||||
|
||||
= 2.4 =
|
||||
* Released: February 21, 2019
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfifteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer.
|
||||
Version: 2.4
|
||||
Version: 2.5
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
|
||||
|
||||
@@ -3,7 +3,7 @@ Contributors: wordpressdotorg
|
||||
Requires at least: WordPress 3.6
|
||||
Tested up to: WordPress 5.0
|
||||
Requires PHP: 5.2.4
|
||||
Stable tag: 2.6
|
||||
Stable tag: 2.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
|
||||
@@ -51,6 +51,11 @@ Source: http://www.genericons.com
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.7 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Fourteen_Theme_Changelog#Version_2.7
|
||||
|
||||
= 2.6 =
|
||||
* Released: February 21, 2019
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Theme URI: https://wordpress.org/themes/twentyfourteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
|
||||
Version: 2.6
|
||||
Version: 2.7
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
|
||||
|
||||
@@ -4,7 +4,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
|
||||
Requires at least: 4.9.6
|
||||
Tested up to: WordPress 5.0
|
||||
Requires PHP: 5.2.4
|
||||
Stable tag: 1.3
|
||||
Stable tag: 1.4
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@@ -15,6 +15,11 @@ Our 2019 default theme is designed to show off the power of the block editor. It
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.4 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Nineteen_Theme_Changelog#Version_1.4
|
||||
|
||||
= 1.3 =
|
||||
* Released: February 21, 2019
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user