[wp-trac] [WordPress Trac] #58031: query-no-result block is always appeared if post-template block contains post-featured-image block
WordPress Trac
noreply at wordpress.org
Thu Apr 6 12:08:46 UTC 2023
#58031: query-no-result block is always appeared if post-template block contains
post-featured-image block
--------------------------+------------------------------
Reporter: obache | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 6.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by poena):
MacOS
Chrome
WordPress 6.2
With and without Gutenberg 15.5.0
nginx
PHP 7.4.3.0
== Testing result:
I can reproduce this in Twenty Twenty-Three if there is exactly one search
result.
No template or markup changes are needed to test this.
Create a new post with a unique word that you know is not used anywhere in
your content.
On the front, perform a search for the word (as in, use the search form
and enter the keyword to do the search :) )
This text shows: "Sorry, but nothing matched your search terms. Please try
again with some different keywords."
- This is the text that TT3 adds to the search inside the query no results
block.
Create a second post with the same word, and search again.
The message does not show. The result is displayed correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58031#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list