[wp-trac] [WordPress Trac] #56294: WordPress search finds block name in comment
WordPress Trac
noreply at wordpress.org
Sun Mar 12 15:52:54 UTC 2023
#56294: WordPress search finds block name in comment
--------------------------------------+------------------------------
Reporter: zodiac1978 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 5.0
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback | Focuses: performance
--------------------------------------+------------------------------
Comment (by ravishaheshan):
@zodiac1978 Your solution doesn't work when the search term is in both
tags and content. ex: `<!-- wp:core/paragraph -->this is a paragraph<!--
/wp:core/paragraph -->` the post with this content doesn't get captured
when searching for "paragraph" because of the `AND` clause in your query
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56294#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list