Update WordPress to latest.

parent 315f029e
This diff is collapsed.
......@@ -15,75 +15,92 @@ $title = __( 'Credits' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<h1>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Welcome to WordPress&nbsp;%s' ),
$display_version
);
?>
</h1>
<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(
/* translators: %s: The current WordPress version number. */
__( 'Version %s' ),
$display_version
);
?>
</div>
$credits = wp_credits();
?>
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
<h1>
<span><?php echo $display_version; ?></span>
<?php _e( 'WordPress' ); ?>
</h1>
</div>
<div class="about__header-badge">
<img src="https://wordpress.org/images/core/5.4/code-is-poetry-rc.svg" alt="<?php _e( 'Code is Poetry' ); ?>" />
</div>
<div class="about__header-text">
<p>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
$display_version
);
?>
</p>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></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="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<div class="about__section">
<div class="column">
<h2><?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?></h2>
<p>
<?php
if ( ! $credits ) {
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/' )
);
} else {
printf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
}
?>
</p>
</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&#8217;s New' ); ?></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="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
<div class="about__image aligncenter">
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" />
</div>
</div>
<div class="about-wrap-content">
<?php
$credits = wp_credits();
if ( ! $credits ) {
echo '<p class="about-description">';
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/' )
);
echo '</p>';
echo '</div>';
echo '</div>';
include( ABSPATH . 'wp-admin/admin-footer.php' );
exit;
}
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
$previous_type = '';
echo '<p>' . sprintf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
) . '</p>';
foreach ( $credits['groups'] as $group_slug => $group_data ) :
?>
<?php
if ( $previous_type !== $group_data['type'] ) {
echo '<hr />';
}
?>
<div class="about__section">
<div class="column <?php echo 'titles' === $group_data['type'] ? 'has-subtle-background-color' : ''; ?>">
foreach ( $credits['groups'] as $group_slug => $group_data ) {
<?php
if ( $group_data['name'] ) {
if ( 'Translators' == $group_data['name'] ) {
// Considered a special slug in the API response. (Also, will never be returned for en_US.)
......@@ -96,7 +113,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
$title = translate( $group_data['name'] );
}
echo '<h2 class="wp-people-group">' . esc_html( $title ) . "</h2>\n";
echo '<h2 class="wp-people-group-title">' . esc_html( $title ) . "</h2>\n";
}
if ( ! empty( $group_data['shuffle'] ) ) {
......@@ -119,7 +136,7 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
foreach ( $group_data['data'] as $person_data ) {
echo '<li class="wp-person" id="wp-person-' . esc_attr( $person_data[2] ) . '">' . "\n\t";
echo '<a href="' . esc_url( sprintf( $credits['data']['profiles'], $person_data[2] ) ) . '" class="web">';
$size = 'compact' == $group_data['type'] ? 30 : 60;
$size = 'compact' == $group_data['type'] ? 40 : 80;
$data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
$size *= 2;
$data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
......@@ -134,10 +151,12 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
echo "</ul>\n";
break;
}
}
$previous_type = $group_data['type'];
?>
?>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
<?php
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*! This file is auto-generated */
#adminmenuback,
#adminmenuwrap,
#adminmenu,
......
/*! This file is auto-generated */
.wrap [class*="CodeMirror-lint-marker"],
.wp-core-ui [class*="CodeMirror-lint-message"],
.wrap .CodeMirror-lint-marker-multiple {
......
/*! This file is auto-generated */
/* rtl:ignore */
.wp-color-picker {
width: 80px;
......
......@@ -40,8 +40,8 @@
&.button-primary-disabled,
&.disabled {
color: hsl( hue( $button-color ), 10%, 80% ) !important;
background: lighten( $button-color, 15% ) !important;
border-color: lighten( $button-color, 15% ) !important;
background: darken( $button-color, 8% ) !important;
border-color: darken( $button-color, 8% ) !important;
text-shadow: none !important;
}
}
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cdc7 !important;
background: #ecc88a !important;
border-color: #ecc88a !important;
background: #db9925 !important;
border-color: #db9925 !important;
text-shadow: none !important;
}
......
This diff is collapsed.
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cdc7 !important;
background: #ecc88a !important;
border-color: #ecc88a !important;
background: #db9925 !important;
border-color: #db9925 !important;
text-shadow: none !important;
}
......
This diff is collapsed.
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1ccc7 !important;
background: #e0cdbd !important;
border-color: #e0cdbd !important;
background: #ba906d !important;
border-color: #ba906d !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1ccc7 !important;
background: #e0cdbd !important;
border-color: #e0cdbd !important;
background: #ba906d !important;
border-color: #ba906d !important;
text-shadow: none !important;
}
......
This diff is collapsed.
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #cfd1c7 !important;
background: #bfcd7b !important;
border-color: #bfcd7b !important;
background: #89993a !important;
border-color: #89993a !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #cfd1c7 !important;
background: #bfcd7b !important;
border-color: #bfcd7b !important;
background: #89993a !important;
border-color: #89993a !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7cfd1 !important;
background: #22cffb !important;
border-color: #22cffb !important;
background: #0384a4 !important;
border-color: #0384a4 !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7cfd1 !important;
background: #22cffb !important;
border-color: #22cffb !important;
background: #0384a4 !important;
border-color: #0384a4 !important;
text-shadow: none !important;
}
......
This diff is collapsed.
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1c8c7 !important;
background: #ec8b85 !important;
border-color: #ec8b85 !important;
background: #d92e23 !important;
border-color: #d92e23 !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1c8c7 !important;
background: #ec8b85 !important;
border-color: #ec8b85 !important;
background: #d92e23 !important;
border-color: #d92e23 !important;
text-shadow: none !important;
}
......
This diff is collapsed.
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7d1c8 !important;
background: #cbdacc !important;
border-color: #cbdacc !important;
background: #86a989 !important;
border-color: #86a989 !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #c7d1c8 !important;
background: #cbdacc !important;
border-color: #cbdacc !important;
background: #86a989 !important;
border-color: #86a989 !important;
text-shadow: none !important;
}
......
This diff is collapsed.
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cbc7 !important;
background: #e8ac7c !important;
border-color: #e8ac7c !important;
background: #cc6d23 !important;
border-color: #cc6d23 !important;
text-shadow: none !important;
}
......
......@@ -130,8 +130,8 @@ textarea:focus {
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
color: #d1cbc7 !important;
background: #e8ac7c !important;
border-color: #e8ac7c !important;
background: #cc6d23 !important;
border-color: #cc6d23 !important;
text-shadow: none !important;
}
......
This diff is collapsed.
/*! This file is auto-generated */
/* 2 column liquid layout */
#wpwrap {
height: auto;
......
/*! This file is auto-generated */
body {
overflow: hidden;
-webkit-text-size-adjust: 100%;
......
/*! This file is auto-generated */
#customize-theme-controls #accordion-section-menu_locations {
position: relative;
margin-top: 30px;
......
/*! This file is auto-generated */
.wp-full-overlay-sidebar {
overflow: visible;
}
......
/*! This file is auto-generated */
#wpbody-content #dashboard-widgets.columns-1 .postbox-container {
width: 100%;
}
......
/*! This file is auto-generated */
/* Styles for the media library iframe (not used on the Library screen) */
div#media-upload-header {
......
/*! This file is auto-generated */
#poststuff {
padding-top: 10px;
min-width: 763px;
......
/*! This file is auto-generated */
.farbtastic {
position: relative;
......
/*! This file is auto-generated */
/* Include margin and padding in the width calculation of input and textarea. */
input,
select,
......
/*! This file is auto-generated */
/* Fixes for IE 7 bugs */
#dashboard-widgets form .input-text-wrap input,
......
/*! This file is auto-generated */
html {
background: #f1f1f1;
margin: 0 20px;
......
/*! This file is auto-generated */
/*------------------------------------------------------------------------------
27.0 - Localization
------------------------------------------------------------------------------*/
......
/*! This file is auto-generated */
.response-links {
display: block;
margin-bottom: 1em;
......
/*! This file is auto-generated */
html,
body {
height: 100%;
......
/*! This file is auto-generated */
/*------------------------------------------------------------------------------
14.0 - Media Screen
------------------------------------------------------------------------------*/
......
/*! This file is auto-generated */
/* nav-menu */
/* @todo: determine if this is truly for nav menus only */
......
/*! This file is auto-generated */
/*------------------------------------------------------------------------------
11.2 - Post Revisions
------------------------------------------------------------------------------*/
......
/*! This file is auto-generated */
.site-health #wpcontent,
.site-health.auto-fold #wpcontent {
padding-right: 0;
......
/*! This file is auto-generated */
/*------------------------------------------------------------------------------
28.0 - Site Icon
------------------------------------------------------------------------------*/
......
/*! This file is auto-generated */
/*------------------------------------------------------------------------------
16.0 - Themes
------------------------------------------------------------------------------*/
......
/*! This file is auto-generated */
/* General Widgets Styles */
.widget {
......
/*! This file is auto-generated */
@import url(common-rtl.css);
@import url(forms-rtl.css);
@import url(admin-menu-rtl.css);
......
......@@ -59,8 +59,8 @@ $preload_paths = array(
*
* @since 5.0.0
*
* @param array $preload_paths Array of paths to preload.
* @param object $post The post resource data.
* @param string[] $preload_paths Array of paths to preload.
* @param WP_Post $post Post being edited.
*/
$preload_paths = apply_filters( 'block_editor_preload_paths', $preload_paths, $post );
......
......@@ -20,50 +20,44 @@ $title = __( 'Freedoms' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
include( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap about-wrap full-width-layout">
<h1>
<?php
printf(
/* translators: %s: The current WordPress version number. */
__( 'Welcome to WordPress&nbsp;%s' ),
$display_version
);
?>
</h1>
<p class="about-text">
<?php