diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index f8c48bb195b3c..fd2be7eac458c 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -14,7 +14,7 @@ $title = _x( 'About', 'page title' ); list( $display_version ) = explode( '-', wp_get_wp_version() ); -$display_major_version = '7.0'; +$display_major_version = '7.1'; $release_notes_url = sprintf( /* translators: %s: WordPress version number. */ @@ -34,6 +34,12 @@ sanitize_title( $display_major_version ) ); +$badge_alt_text = sprintf( + /* translators: %s: Version number. */ + __( 'WordPress %s' ), + $display_version +); + require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
@@ -62,22 +68,22 @@
-

-

+

+

-

+

-
- +
+

- +
@@ -85,29 +91,29 @@
- +
-

+

-
- +
+

-

+

-
- +
+

- +
@@ -115,14 +121,14 @@
- +
-

+

-
- +
+

@@ -137,8 +143,8 @@
-

-

+

+

@@ -147,7 +153,7 @@

-

+

@@ -177,7 +183,7 @@
- + <?php echo esc_attr( $badge_alt_text ); ?>

diff --git a/src/wp-admin/contribute.php b/src/wp-admin/contribute.php index 4a6989adffa25..9a57a1b57915d 100644 --- a/src/wp-admin/contribute.php +++ b/src/wp-admin/contribute.php @@ -12,22 +12,11 @@ // Used in the HTML title tag. $title = __( 'Get Involved' ); -list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -$header_alt_text = sprintf( - /* translators: %s: Version number. */ - __( 'WordPress %s' ), - $display_version -); - require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
-
- <?php echo esc_attr( $header_alt_text ); ?> -
-

diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php index 960c334913474..75993cf6652a7 100644 --- a/src/wp-admin/credits.php +++ b/src/wp-admin/credits.php @@ -13,13 +13,6 @@ // Used in the HTML title tag. $title = __( 'Credits' ); -list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -$header_alt_text = sprintf( - /* translators: %s: Version number. */ - __( 'WordPress %s' ), - $display_version -); - require_once ABSPATH . 'wp-admin/admin-header.php'; $credits = wp_credits(); @@ -27,10 +20,6 @@
-
- <?php echo esc_attr( $header_alt_text ); ?> -
-

diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 721a98078f0d6..871d819ce905a 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -21,8 +21,8 @@ .about__container { /* Section backgrounds */ - --background: #ebe8e5; - --subtle-background: #ebe8e5; + --background: #3858e9; + --subtle-background: #f4f4f4; /* Main text color */ --text: #1e1e1e; @@ -278,7 +278,7 @@ .about__section.has-2-columns.is-wider-right, .about__section.has-2-columns.is-wider-left, .about__section.has-3-columns { - display: block; + grid-template-columns: 1fr; margin-bottom: calc(var(--gap) / 2); } @@ -329,10 +329,18 @@ @media screen and (max-width: 600px) { .about__section.has-2-columns { - display: block; + grid-template-columns: 1fr; margin-bottom: var(--gap); } + .about__section.has-2-columns:not(.is-wider-right,.is-wider-left) div:has(img) { + order: 1; + } + + .about__section.has-2-columns:not(.is-wider-right,.is-wider-left) div:not(:has(img)) { + order: 0; + } + .about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) { padding-top: calc(var(--gap) / 2); padding-bottom: calc(var(--gap) / 2); @@ -531,7 +539,7 @@ margin: calc(var(--gap) / 2) var(--gap); height: 0; border: none; - border-top: 4px solid var(--accent-3); + border-top: 6px solid var(--accent-3); } .about__container hr.is-small { @@ -581,6 +589,10 @@ .about__container h3.is-larger-heading { font-size: 2em; } + + .about__container h1 { + text-shadow: 0 0 2px var(--background); + } } /* 1.3 - Header */ @@ -596,48 +608,49 @@ padding-right: 26rem; /* Space for the background image. */ min-height: clamp(10rem, 25vw, 18.75rem); border-radius: var(--border-radius); - background-image: url( "../images/about-header-default.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-default.webp?ver=20260804" ); background-repeat: no-repeat; background-position: right center; background-size: cover; background-color: var(--background); color: var(--text-light); + margin-bottom: .25rem; } .credits-php .about__header { - background-image: url( "../images/about-header-credits.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-credits.webp?ver=20260804" ); } .freedoms-php .about__header { - background-image: url( "../images/about-header-freedoms.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-freedoms.webp?ver=20260804" ); } .privacy-php .about__header { - background-image: url( "../images/about-header-privacy.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-privacy.webp?ver=20260804" ); } .contribute-php .about__header { - background-image: url( "../images/about-header-get-involved.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-get-involved.webp?ver=20260804" ); } [dir="rtl"] .about__header { - background-image: url( "../images/about-header-default-rtl.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-default-rtl.webp?ver=20260804" ); } [dir="rtl"] .credits-php .about__header { - background-image: url( "../images/about-header-credits-rtl.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-credits-rtl.webp?ver=20260804" ); } [dir="rtl"] .freedoms-php .about__header { - background-image: url( "../images/about-header-freedoms-rtl.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-freedoms-rtl.webp?ver=20260804" ); } [dir="rtl"] .privacy-php .about__header { - background-image: url( "../images/about-header-privacy-rtl.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-privacy-rtl.webp?ver=20260804" ); } [dir="rtl"] .contribute-php .about__header { - background-image: url( "../images/about-header-get-involved-rtl.webp?ver=20260514" ); + background-image: url( "https://s.w.org/images/core/7.1/about-header-get-involved-rtl.webp?ver=20260804" ); } .about__header-image { @@ -657,7 +670,7 @@ font-size: clamp(2rem, 20vw - 9rem, 4rem); line-height: 1; font-weight: 600; - color: var(--text); + color: var(--text-light); } .about-php .about__header-title h1, @@ -676,7 +689,7 @@ padding: 0; font-size: 1.6rem; line-height: 1.15; - color: var(--text); + color: var(--text-light); } .about__header-navigation { diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index 9646c4a400eeb..f94413618b164 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -18,22 +18,11 @@ // Used in the HTML title tag. $title = __( 'Freedoms' ); -list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -$header_alt_text = sprintf( - /* translators: %s: Version number. */ - __( 'WordPress %s' ), - $display_version -); - require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
-
- <?php echo esc_attr( $header_alt_text ); ?> -
-

diff --git a/src/wp-admin/images/about-header-credits-rtl.webp b/src/wp-admin/images/about-header-credits-rtl.webp deleted file mode 100644 index b65ce15238ea9..0000000000000 Binary files a/src/wp-admin/images/about-header-credits-rtl.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-credits.webp b/src/wp-admin/images/about-header-credits.webp deleted file mode 100644 index b83bb5b49e1c4..0000000000000 Binary files a/src/wp-admin/images/about-header-credits.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-default-rtl.webp b/src/wp-admin/images/about-header-default-rtl.webp deleted file mode 100644 index 7de0c9a4ffec2..0000000000000 Binary files a/src/wp-admin/images/about-header-default-rtl.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-default.webp b/src/wp-admin/images/about-header-default.webp deleted file mode 100644 index 020a92a7265ae..0000000000000 Binary files a/src/wp-admin/images/about-header-default.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-freedoms-rtl.webp b/src/wp-admin/images/about-header-freedoms-rtl.webp deleted file mode 100644 index 506c20f4cf620..0000000000000 Binary files a/src/wp-admin/images/about-header-freedoms-rtl.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-freedoms.webp b/src/wp-admin/images/about-header-freedoms.webp deleted file mode 100644 index 4740e8ab087b0..0000000000000 Binary files a/src/wp-admin/images/about-header-freedoms.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-get-involved-rtl.webp b/src/wp-admin/images/about-header-get-involved-rtl.webp deleted file mode 100644 index 4cd5b89c61c00..0000000000000 Binary files a/src/wp-admin/images/about-header-get-involved-rtl.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-get-involved.webp b/src/wp-admin/images/about-header-get-involved.webp deleted file mode 100644 index 33a6708b9f2fa..0000000000000 Binary files a/src/wp-admin/images/about-header-get-involved.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-privacy-rtl.webp b/src/wp-admin/images/about-header-privacy-rtl.webp deleted file mode 100644 index 0ee585216df5e..0000000000000 Binary files a/src/wp-admin/images/about-header-privacy-rtl.webp and /dev/null differ diff --git a/src/wp-admin/images/about-header-privacy.webp b/src/wp-admin/images/about-header-privacy.webp deleted file mode 100644 index 5178051483f75..0000000000000 Binary files a/src/wp-admin/images/about-header-privacy.webp and /dev/null differ diff --git a/src/wp-admin/images/about-release-badge.svg b/src/wp-admin/images/about-release-badge.svg index 751068ebe62ed..8380db37771cf 100644 --- a/src/wp-admin/images/about-release-badge.svg +++ b/src/wp-admin/images/about-release-badge.svg @@ -1,14 +1,18 @@ - - - - - - + + + + + + - - + + + + + + diff --git a/src/wp-admin/images/about-release-logo.svg b/src/wp-admin/images/about-release-logo.svg deleted file mode 100644 index d497949fe8b74..0000000000000 --- a/src/wp-admin/images/about-release-logo.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 664fec95298c6..01dba5e25a22f 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -1150,6 +1150,17 @@ 'wp-includes/images/icon-library/widget.svg', 'wp-includes/images/icon-library/word-count.svg', 'wp-includes/images/icon-library/wordpress.svg', + 'wp-admin/images/about-header-credits.webp', + 'wp-admin/images/about-header-credits-rtl.webp', + 'wp-admin/images/about-header-default.webp', + 'wp-admin/images/about-header-default-rtl.webp', + 'wp-admin/images/about-header-freedoms.webp', + 'wp-admin/images/about-header-freedoms-rtl.webp', + 'wp-admin/images/about-header-get-involved.webp', + 'wp-admin/images/about-header-get-involved-rtl.webp', + 'wp-admin/images/about-header-privacy.webp', + 'wp-admin/images/about-header-privacy-rtl.webp', + 'wp-admin/images/about-release-logo.svg', ); /** diff --git a/src/wp-admin/privacy.php b/src/wp-admin/privacy.php index 1445e5b1ec2b4..bbe6d5ddfc885 100644 --- a/src/wp-admin/privacy.php +++ b/src/wp-admin/privacy.php @@ -12,22 +12,11 @@ // Used in the HTML title tag. $title = __( 'Privacy' ); -list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); -$header_alt_text = sprintf( - /* translators: %s: Version number. */ - __( 'WordPress %s' ), - $display_version -); - require_once ABSPATH . 'wp-admin/admin-header.php'; ?>
-
- <?php echo esc_attr( $header_alt_text ); ?> -
-