Opened 7 weeks ago
Last modified 24 hours ago
#66202 new task (blessed)
About Page - 7.2
| Reported by: | markoserb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | Help/About | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
This ticket will serve as a hub for the discussion, planning, design, and other related work for creating the WordPress 7.2 About page.
Anyone involved in the release is invited to follow this ticket as part of their release-related duties and offer their input.
Attachments (5)
Change History (15)
This ticket was mentioned in Slack in #core by jorbin. View the logs.
4 weeks ago
#4
@
4 weeks ago
I looked through 66202.patch from @mosescursor. Thanks for working on this. I think it needs its own ticket and does not belong on this one.
This ticket is the hub for the WordPress 7.2 About page: copy, design, images, and the commit that switches the page over to 7.2. The patch changes how the version string is derived, which is separate work.
The file about.php already keeps two version values:
list( $display_version ) = explode( '-', wp_get_wp_version() ); $display_major_version = '7.1';
The function wp_get_wp_version() supplies $display_version, and that is what the H1 uses. On trunk (7.2-beta1-64606-src) that heading is already "WordPress 7.2". $display_major_version is the release the page describes. It is updated in the same commit that replaces the copy, images, and documentation links. Until that lands, this is still the 7.1 page, so the headings and links that refer to the content stay on 7.1 on purpose.
The patch removes that hardcoded value and uses the running version for the welcome heading and for the release notes, field guide, and release-page links. On current trunk the welcome heading would say "Welcome to WordPress 7.2 Beta 1" and those links would point at 7.2 URLs, while the body copy still says "WordPress 7.1" and the images are still the 7.1 assets. The 7.2 documentation pages are not published yet.
Minor releases
Calling explode() keeps the patch number in the first segment. For 7.2.1, $display_major_version becomes 7.2.1. Those URLs are passed through sanitize_title(), which turns dots into hyphens, so the links become:
- https://wordpress.org/documentation/wordpress-version/version-7-2-1/
- https://make.wordpress.org/core/wordpress-7-2-1-field-guide/
- https://wordpress.org/download/releases/7-2-1/
Release notes are published for minor versions. Version 7.1.3 is a real page, so the first of those links would resolve for a minor release. The other two would not. The 7.1 field guide is wordpress-7-1-field-guide, and wordpress-7-1-3-field-guide returns 404. The feature page is /download/releases/7-1/, and /download/releases/7-1-3/ returns 404.
about.php uses one variable for all three links. Pointing it at 7.1.3 would make the release-notes link match the minor, and it would break the field guide and the "See everything new" page. The welcome heading would also read "Welcome to WordPress 7.1.3" on a page that still describes 7.1. The minor release handbook says a minor release only adds a maintenance or security paragraph, using the strings already listed at the bottom of the file. It leaves $display_major_version on the major. A maintenance development version such as 7.2.1-alpha-66000 has the same split: the first segment is still 7.2.1.
Translation strings
The prerelease label is built in PHP:
$display_version .= ' ' . ( 'rc' === strtolower( $matches[1] ) ? 'RC' : ucfirst( strtolower( $matches[1] ) ) );
That whole string is then passed into the existing translated string:
__( 'Welcome to WordPress %s' )
The words Alpha, Beta, and RC end up as English words inside the placeholder (7.2 Beta 1). Translators cannot translate the stage name, and they cannot place it anywhere except after the version number. Each stage needs its own string, with a translator comment, for example:
/* translators: 1: WordPress version number, 2: Beta version number. */ __( 'Welcome to WordPress %1$s Beta %2$s' )
The same pattern is needed for RC and Alpha.
I would leave this patch off #66202. If the welcome heading should show a prerelease stage, that can be handled on a new ticket, with $display_major_version remaining the release the page actually describes.
#5
@
9 days ago
Tested the patch locally against a development build (7.2-beta1-src). The dynamic version derivation works correctly — $display_major_version is now properly resolved from wp_get_wp_version() instead of being hardcoded, and all three generated URLs ($release_notes_url, $field_guide_url, $release_page_url) point to the correct version slug automatically.
This is a solid improvement for reducing manual version-bump chores at the start of each release cycle. The patch is clean and minimal in scope — only the version labeling is automated, which is the right call since release copy, imagery, and documentation still need per-release curation anyway.
Marking as has-patch. Would be good to get this reviewed and committed early in the 7.2 cycle so the About page scaffolding is ready before feature freeze.
#6
@
8 days ago
I have started the About page i1.
You can review copy and suggest edits here in [Google Doc]https://docs.google.com/document/d/1VvQhnJXT7-SwMJMW1OYYDXAjtfMF1izLDFtAhp7e4uY/edit?usp=sharing.
In the next message, I am sending i1 of the About page design. Still not ready for use.
#7
@
2 days ago
In the next message I am attaching current version of About page. Lets consider headers final, while we reserve place to update the 4 feature images later if needed. As well as copy.
Copy can be found here:
https://docs.google.com/document/d/1VvQhnJXT7-SwMJMW1OYYDXAjtfMF1izLDFtAhp7e4uY/edit?usp=sharing
Images can be found here (1mb total for 13 images):
https://drive.google.com/drive/folders/1-FGvO5k72wEzOdqtX_qX-ONN_n3DKDfh?usp=sharing
This ticket was mentioned in PR #16078 on WordPress/wordpress-develop by @peterwilsoncc.
25 hours ago
#9
- Keywords has-patch added
First parse at the about page for WordPress 7.2.
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Initial copy update; reviewed by me.
#10
@
24 hours ago
In the full knowledge that there may be copy/media changes, I've put together PR 16078 to allow folks to look at the existing work in place.
Notes:
- I've added a background color for each heading images that is the dominant color in the SVG. This is to avoid a flash of off-putting background while the images load.
- The PR can not be committed as is, for testing purposes I've included the webp feature images in the PR.
- The SVG images provided have been run through svgomg.
Once the feature images are in their final form, a meta ticket will need to be created to organize their upload.
Running the feature images through sqoosh, there's a bit of room for optimization. WebP, Effort 6, Quailty 80 drops the first images size by 65% and when viewed at 900x900 there's no noticable artifacts when using a retina screen.
The committed webp images are as provided as they won't last in the release software.
The About page hard-codes its release version, so its headings and release links can show an outdated version after the version in WordPress Core has changed. This means the page needs a separate update just to reflect the current release version. Derive the release version from wp_get_wp_version() instead. Keep the H1 as the release version, and include a recognized prerelease stage in the welcome heading. For example, with 7.2-beta1-64606-src, display: H1: WordPress 7.2 H2: Welcome to WordPress 7.2 Beta 1 Omit build identifiers such as 64606-src. Use the base release version for the release links as well. This change only makes the version labels and links follow the current version. Release-specific descriptions, images, and documentation still need to be updated separately.