Make WordPress Core

Opened 3 weeks ago

Last modified 3 days ago

#66352 new task (blessed)

New default theme for WP 7.2: Ipsum.

Reported by: audrasjb Owned by:
Priority: high Milestone: 7.2
Component: Bundled Theme Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description (last modified by joedolson)

Add the new default theme for 7.2.
Developed in ​https://github.com/WordPress/ipsum

Development is expected to continue in the Github repository until the 1.0 release, at which point development will move to svn.

Attachments (1)

Capture d’écran 2026-10-22 à 11.28.05.png​ (1.5 MB ) - added by audrasjb 3 weeks ago.
Now the theme screenshot is showing :)

Download all attachments as: .zip

Change History (38)

#1 follow-up: @audrasjb
3 weeks ago

@iamarinoh @onemaggie @poena are we good to ship Ipsum?

We'll need a PR for this: who's handling it? I guess it's a task for Default Theme Dev Leads :)

We missed the timeframe for beta 1, but we need to get this in beta 2 next week, so I would like to make sure Ipsum is merged this week, a few days before 7.2 beta 2.

#2 in reply to: ↑ 1 @onemaggie
3 weeks ago

Replying to audrasjb:

@iamarinoh @onemaggie @poena are we good to ship Ipsum?

We'll need a PR for this: who's handling it? I guess it's a task for Default Theme Dev Leads :)

We missed the timeframe for beta 1, but we need to get this in beta 2 next week, so I would like to make sure Ipsum is merged this week, a few days before 7.2 beta 2.

Sorry, I should have prepared a PR for this. I will do one asap that we can have ready for that

This ticket was mentioned in ​PR #14558 on ​WordPress/wordpress-develop by ​@onemaggie.


3 weeks ago
#3

  • Keywords has-patch added

Imports Ipsum from ​https://github.com/WordPress/ipsum and makes it the default theme for WordPress 7.2.

Ipsum drops the year-based naming, and a few places only look for twenty* themes:

  • The build only copies wp-content/themes/twenty*, so Ipsum would be missing from builds and packages.
  • PHPCS, the PHP compatibility check and PHPStan skip it the same way. With it added, Ipsum passes all three as is.
  • test_default_theme_in_default_theme_list() expected a twenty prefix.

The commits can land separately, like the Twenty Twenty-Five import and its follow-up:

  1. The theme files from WordPress/ipsum@b3a4bca. Repository tooling and development docs stay on GitHub.
  2. Bundled theme conventions: Version: 1.0, Tested up to: 7.2, the readme title and changelog entry, and a final newline in every file. These need to go back to the Ipsum repository too, so the next sync doesn't undo them.
  3. The default theme switch. Since 6.7, the theme tests need WP_DEFAULT_THEME, WP_Theme::$default_themes, $_new_bundled_files and the tested themes to change together.
  4. Build, lint and the default themes workflow.

Testing Instructions

  1. Open the Playground preview. Ipsum is the active theme on the new site.
  2. Browse the front end and open the Site Editor. Templates, parts and patterns load.
  3. Run npm run test:php -- --group themes. All tests pass.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Comparing this with earlier default theme imports, preparing the commits and running the checks.

---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See ​GitHub Pull Requests for Code Review in the Core Handbook for more details.

🤖 Generated with ​Claude Code

#4 @audrasjb
3 weeks ago

Wow that's quick! Thank you for the PR 👏 Reviewing it now.

​@onemaggie commented on ​PR #14558:


3 weeks ago
#5

@desrosj pinging you here for your knowledge with default theme stuff

​@onemaggie commented on ​PR #14558:


3 weeks ago
#6

Props list for the theme as of today:

Props onemaggie, juanfra, poena, iamarinoh, shailu25, areziaal, josephscott, ddewan, noruzzaman, williampatton, jeffpaul, kafleg, maneshtimilsina, sakshamsharma5, soean, moonjellydigital, sheulyshila, yashjawale, maxinacube, mukesh27, nilambar, huzaifaalmesbah.

#7 @peterwilsoncc
3 weeks ago

  • Type feature request → task (blessed)

​@onemaggie commented on ​PR #14558:


3 weeks ago
#8

For the @font-face and image files, is it possible to add a cache busting string to the rendered version, ie ?ver=20261021, either via a filter or in theme.json? It's helpful for cache busting on sites with long caches for static files.

Thirty days or longer is pretty typical these days as lighthouse calls out shorter caching headers.

Images are versioned now. Fonts can’t be yet, because core works out the font format from the end of the URL, so .woff2?ver=1.0 gets dropped. That needs a core fix first.

This ticket was mentioned in ​Slack in #core by audrasjb. ​View the logs.


3 weeks ago

​@peterwilsoncc commented on ​PR #14558:


3 weeks ago
#10

I added Ipsum to the phpstan bootstrap config in ​https://github.com/WordPress/wordpress-develop/pull/14558/commits/b56e327fcde4d1d82c2eca07aa93009396f864ad. It's not required but I did so for consistency rather than need -- props @westonruter for advice

During the initial import of TT5, the new default theme was not added to the performance tests as they include upgrade tests from WP versions in which the theme isn't available. I will create a ticket for adding them at a later date. (I did add them for TT5 but they got reverted in r59151 / 03be079386f90df12e56e218e589bb7a27e686ef)

While making changes, I also took the liberty of merging in trunk.

​@peterwilsoncc commented on ​PR #14558:


3 weeks ago
#11

@propsbot add westonruter

#12 @peterwilsoncc
3 weeks ago

In 64677:

Bundled Themes: Ipsum dolor sit amet, consectetur adipiscing elit.

Me est ipsa dis strictus possim non fusius et eaque vel ottomanicum te quarta, fridericus il mus labore et rutrum veritatis iniuratum est veritatis luminare in eros iste. Ex 7.2 ea nemo opponat ac iaculantur iniuriis lacus claram lius uantum id quo polona odio subiectum quo omnis te li. Eos quo quam nemo fastus partem quo egestas v iudico ille, lius sint ruinae, ea rem nam iustitiam nemo d nobilitas solatium est rerum inscio civilatcm recentem. Et'y me pede ac me filiis ad quo quis. Ab'me eget renovo pressa odit noviciam iste gaudere, indigne, rem merentur ullo alias eum dicit me eum cum unde y poenam ut sed porta eum rem il conserrare contumeliis. Ea v netus urgebat mi quo quam est per dignus ut, tot'y cum odit mus ruinae nunc est indicant te y arcui sed amet mandata sint nec dignus unde custodiae assum et vero fretjuentia eius quos nulla quod, nobile usus y illo statum florem.per wisi eros modestius sed AssuMenda ille falcitenentem non li scripto et est iure dictabat unde ab m essentiam vero. Eget'w ti.

Props onemaggie, juanfra, poena, iamarinoh, shailu25, areziaal, josephscott, ddewan, noruzzaman, williampatton, jeffpaul, kafleg, maneshtimilsina, sakshamsharma5, soean, moonjellydigital, sheulyshila, yashjawale, maxinacube, mukesh27, nilambar, huzaifaalmesbah, mukeshpanchal27, westonruter.
See #66352.

​@peterwilsoncc commented on ​PR #14558:


3 weeks ago
#13

Merged r64677 / ​https://github.com/WordPress/wordpress-develop/commit/8f7616e0bce1d69afd454a8c7cab3da92ff909ab

I committed with a see reference as I gather there will be follow up commits during the release cycle.

#14 @westonruter
3 weeks ago

Should the ​theme repo now be archived to prevent drift?

#15 follow-up: @westonruter
3 weeks ago

@peterwilsoncc It seems the assets/images and assets/fonts directories didn't get added in the SVN commit, even though they are in the PR.

This ticket was mentioned in ​PR #14701 on ​WordPress/wordpress-develop by ​@westonruter.


3 weeks ago
#16

Ipsum passes PHPStan at the level 5 the repository configures, but has 69 errors at level 10. This fixes all of them, so Ipsum is clean at level 10 with bleedingEdge, as Twenty Twenty-Four and Twenty Twenty-Five already are.

  • Pattern image URLs. Thirteen patterns appended the theme version as a cache busting ?ver= (added in WordPress/ipsum#163 in response to review of #14558), reading it with WP_Theme::get( 'Version' ), which returns string|false. That accounted for 60 of the errors. A new ipsum_get_asset_url() helper takes a path relative to the theme, resolves it with get_parent_theme_file_uri(), and adds the parent theme version with add_query_arg() when it can be read. The patterns now call it. Going through get_parent_theme_file_uri() also makes each asset URL filterable with parent_theme_file_uri, which the patterns' plain get_template_directory_uri() concatenation did not allow, and the ver is added after that filter runs, so a filtered URL keeps the cache busting.
  • Stylesheet version. ipsum_enqueue_styles() loads the parent theme's style.css but versioned it with the active theme, so with a child theme active, an Ipsum update did not change the stylesheet URL. It now uses get_template(), matching the pattern images and Twenty Twenty-Four.
  • Comments call to action binding. The postId context is untyped and its get_the_ID() fallback can be false. The post is now resolved with get_post(), which falls back to the current post as before, and the callback returns null when there is none, so the block keeps its original content. The unused $source_args, which must still be accepted to reach the block instance, is unset.
  • Search block ARIA label support. The block supports are narrowed to an array before ariaLabel is added.
  • Iterable value types for the block binding args, the template types and the block metadata.

Native types were left off the hook callbacks' parameters, since a plugin filtering in a non-array would otherwise cause a fatal error.

The theme's assets/images/ (and assets/fonts/) directories are missing from the import, so pattern images are currently broken regardless of this change. That is being addressed separately.

Trac ticket: Core-66352

Testing Instructions

  1. Run vendor/bin/phpstan analyse -c phpstan.neon.dist --level=10 src/wp-content/themes/ipsum. No errors are reported, where trunk reports 68 (69 with bleedingEdge, which also reports the unused $source_args).
  2. Activate Ipsum and insert the Gallery Offset and CTA Membership patterns in a post. Image URLs are built from the theme directory and end in ?ver=1.0.
  3. With a child theme of Ipsum active, the ipsum-style stylesheet URL ends in Ipsum's version, not the child theme's.
  4. View a single post using a template with the comments call to action. The link reads "Be the first to comment" or "Join the conversation" depending on the comment count.
  5. In the Site Editor, a Search block offers an ARIA label setting.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Running PHPStan at level 10, tracing the history of the ?ver= query string in the Ipsum repository, implementing the fixes under direction, and checking the changed callbacks with WP-CLI.

---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See ​GitHub Pull Requests for Code Review in the Core Handbook for more details.

🤖 Generated with ​Claude Code

#17 @audrasjb
3 weeks ago

In 64678:

Bundled Themes: Add missing assets to Ipsum theme.

This changeset adds missing fonts and images to Ipsum.

Follow-up to [64677].

Props westonruter.
See #66352.

#18 @ravipatel
3 weeks ago

After [64677] and [64678], src/wp-content/themes/ipsum/ still has no screenshot.jpg, although readme.txt (== Images ==) credits it. On trunk, Ipsum (now WP_DEFAULT_THEME) shows a blank thumbnail on Appearance → Themes.

The file exists upstream: ​https://github.com/WordPress/ipsum/blob/trunk/screenshot.jpg (added in ​https://github.com/WordPress/ipsum/pull/83), so it looks like it was missed in the sync along with the other binary assets.

Last edited 3 weeks ago by ravipatel (previous) (diff)

#19 @audrasjb
3 weeks ago

Thanks for the feedback. Adding the screenshot right now.

#20 @audrasjb
3 weeks ago

In 64679:

Bundled Themes: Add missing screenshot to Ipsum theme.

Follow-up to [64677], [64678].

Props ravipatel.
See #66352.

#21 @shailu25
3 weeks ago

Noting a small point: Ipsum currently ships screenshot.jpg (​https://github.com/WordPress/ipsum/blob/trunk/screenshot.jpg).

Recent default themes such as Twenty Twenty-Five, Twenty Twenty-Four and Twenty Twenty-Three ship screenshot.png, so it may be worth switching Ipsum for consistency, unless .jpg was chosen on purpose. I'm not sure if this matters here, so feel free to ignore it if not.

Update: I've reported this in the Ipsum repository: ​https://github.com/WordPress/ipsum/pull/169

Last edited 3 weeks ago by shailu25 (previous) (diff)

#22 @audrasjb
3 weeks ago

Good thing you reported it upstream.
It doesn't make a big difference, and I don't see why the "inconsistency" itself with previous themes would be something we want to fix, but worth asking the question.

This ticket was mentioned in ​Slack in #accessibility by ravi. ​View the logs.


3 weeks ago

#24 @joedolson
3 weeks ago

  • Description modified (diff)

#25 @joedolson
3 weeks ago

@westonruter Updated the ticket description to clarify when development should move off Github.

​@westonruter commented on ​PR #14701:


3 weeks ago
#26

I'll open this as a PR against WordPress/ipsum instead, since I've learned it seems to be the canonical location for development for now, per Core-66352:

Development is expected to continue in the Github repository until the 1.0 release, at which point development will move to svn.

​@westonruter commented on ​PR #14701:


3 weeks ago
#27

I'll open this as a PR against WordPress/ipsum instead

See ​https://github.com/WordPress/ipsum/pull/171

#28 in reply to: ↑ 15 @peterwilsoncc
3 weeks ago

Replying to westonruter:

@peterwilsoncc It seems the assets/images and assets/fonts directories didn't get added in the SVN commit, even though they are in the PR.

Sorry about the missed binaries.

I've created ​WordPress/core-release-utils#15 to warn when a PR contains binaries that aren't included in diff files.

Last edited 3 weeks ago by peterwilsoncc (previous) (diff)

This ticket was mentioned in ​PR #15113 on ​WordPress/wordpress-develop by ​@onemaggie.


2 weeks ago
#29

Keeps Ipsum in core in sync with ​https://github.com/WordPress/ipsum. Each commit brings over one merged Ipsum PR and links it, so they can be committed together or one at a time.

Only theme files come over. Repository tooling and development docs stay on GitHub, like in the import.

Testing Instructions

  1. Open the Playground preview and follow the testing steps in each linked Ipsum PR.
  2. src/wp-content/themes/ipsum matches the theme files on Ipsum's trunk.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Watching the Ipsum repository for merges and bringing each one over as a commit. Every change was reviewed in its Ipsum PR.

---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See ​GitHub Pull Requests for Code Review in the Core Handbook for more details.

🤖 Generated with ​Claude Code

​@onemaggie commented on ​PR #15113:


10 days ago
#30

I am sorry I was on holiday on Monday, but I have kept this PR to cover the sync of the work in Ipsum's repo back to core, so it would be nice if we can have it merged before the beta this week. Thank you!

#31 @Mamaduka
9 days ago

In 65224:

Bundled Themes: Sync Ipsum with its GitHub repository.

Brings over the changes merged in Ipsum's GitHub repository:

  • Add a design guide ability, so AI agents can read the theme's palette, typography, spacing, style variations, patterns and templates through the Abilities API.
  • Name the palette colors by role and use the Twenty Twenty-Five slugs.
  • Color the header submenus with the palette, and open them leftwards so they stay on screen.
  • Hide the comments call to action and its separators when comments are closed.
  • Keep the Header Sticky navigation overlay above the admin bar and Search Bar.
  • Hide the author card for post types without author support.
  • Restore a visible focus state to the Search block with the button inside.
  • Hide decorative characters from screen readers.
  • Fix ambiguous link texts by removing redundant post date links and adding screen reader text to the comments call to action.
  • Space the sidebar category links to meet the 24px target size.
  • Align table header labels with their columns in RTL.
  • Standardize titles in hidden patterns and add a description to the wide footer pattern.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/15113.

Follow-up to [64677].

Props onemaggie, sakshamsharma5, noruzzaman, khushalsains, matthewneilcowan, rahultank, juanfra, mikachan, ravipatel, iamarinoh, poena, peterwilsoncc, nilambar, prasadkarmalkar, karunyachavan84, nendeb55, westonruter, gziolo.
See #66352.

​@Mamaduka commented on ​PR #15113:


9 days ago
#32

Commited in ​7a60249.

This ticket was mentioned in ​PR #15845 on ​WordPress/wordpress-develop by ​@onemaggie.


3 days ago
#33

WIP: This collects the Ipsum PRs merged since the last sync. It'll be committed late on Monday, November 9, or early on Tuesday, November 10, so it includes everything merged until then.

Keeps Ipsum in core in sync with ​https://github.com/WordPress/ipsum. Each commit brings over one merged Ipsum PR and links it, so they can be committed together or one at a time.

Only theme files come over. Repository tooling and development docs stay on GitHub, like in the import.

Ipsum PRs included so far:

Testing Instructions

  1. Open the Playground preview and follow the testing steps in each Ipsum PR above.
  2. src/wp-content/themes/ipsum matches the theme files on Ipsum's trunk.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Watching the Ipsum repository for merges and bringing each one over as a commit. Every change was reviewed in its Ipsum PR.

---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See ​GitHub Pull Requests for Code Review in the Core Handbook for more details.

🤖 Generated with ​Claude Code

​@onemaggie commented on ​PR #15845:


3 days ago
#34

one change in this round is outside the theme folder.

WordPress/ipsum#61 adds a minified stylesheet. Core doesn't commit built CSS, so style.min.css isn't in this PR. Instead, the last commit adds Ipsum to the cssmin:themes Grunt task and ignores the built file, the same as Twenty Twenty-Two and Twenty Twenty-Five (follow-up to [60934]). build:css then makes style.min.css for Ipsum.

​@onemaggie commented on ​PR #15845:


3 days ago
#35

Props for this round, from the Props Bot lists on the Ipsum PRs it brings over:

Props yashjawale, juanfra, ravipatel, onemaggie, wildworks, shailu25, courane01, mikachan, westonruter, josephscott, poena.

​@onemaggie commented on ​PR #15845:


3 days ago
#36

Also, in ​https://github.com/WordPress/wordpress-develop/pull/15845/changes/b2da5004930e1d24333c3c339e2e192d05b68aff we are adding the tests mentioned that need to be added to core for the commit to cover WordPress/ipsum#192. If we decide to move the abilities functionality to core we can patch Ipsum in the future to remove the changes in the theme.

#37 @peterwilsoncc
3 days ago

In 65366:

Bundled Themes: Update Ipsum for 7.2 Beta 5.

This updates Ipsum from 17a7ada71378a21c36670d67725b3ca632845a9f to bc2e5af700e28980f251d97f58cf80c72ee50a13 on its trunk branch.

A full list of changes included in this commit can be found on GitHub: ​https://github.com/WordPress/ipsum/compare/17a7ada71378a21c36670d67725b3ca632845a9f...bc2e5af700e28980f251d97f58cf80c72ee50a13

This commit also includes changes that only exist in core:

  • Ipsum is added to the cssmin:themes Grunt task, so the build makes the style.min.css that the theme now enqueues. The built file is ignored.
  • The theme's node_modules directory is ignored, and left out of core's build.
  • The theme gets its own stylesheet build process, with build and watch commands that minify style.css into style.min.css, set up through a new package.json, package-lock.json and .nvmrc.
  • A new contributing.txt documents the build process and the test-and-zip-default-themes workflow now tests and runs that build for Ipsum.
  • Regression tests for the design guide ability are added in core, with a child theme fixture, because Ipsum's repository has no PHPUnit setup.

Follow-up to r60934, r64677, r64678, r64679, r65224.

Props yashjawale, shailu25, onemaggie, westonruter, josephscott, juanfra, mehtadev, mikachan, ravipatel, wildworks, courane01, poena, gziolo.
Fixes #66631.
See #66352.

Note: See TracTickets for help on using tickets.