Repository navigation
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
Description
On the Blog home template, Twenty Twenty-Five shows "Sorry, but nothing was found. Please try a search with different keywords." when the query has no posts. Asking for different keywords only makes sense on search results.
template-query-looppattern (used byindex,homeandarchive) now says "No posts were found.", matching Twenty Twenty-Four, as suggested in the ticket.template-query-loop-searchpattern keeps the original search wording, andsearch.htmluses it.template-home-news-blog,template-home-with-sidebar-news-blog,template-home-posts-grid-news-blog,page-portfolio-home) get the same generic copy.*-blogpattern variants shared between search and home are left unchanged and can be handled separately.Trac ticket: https://core.trac.wordpress.org/ticket/63513
Testing
/?s=zzzzzz): the text should still ask for different keywords.npm run test:php -- --filter Tests_Theme_TwentyTwentyFiveNoResultsCopyUse of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Sonnet 5.5
Used for: Implementation, tests, and PR description.
This Pull Request is for code review only. Please do not merge it on GitHub, as all commits must be made to SVN.
🤖 Generated with Claude Code