[wp-trac] [WordPress Trac] #56294: WordPress search finds block name in comment
WordPress Trac
noreply at wordpress.org
Sun Jan 29 19:22:24 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 thanks, but your solution not going to work for block
attributes plus it'll reduce the performance of the query. I'm thinking
about adding a post meta field with sanitized post_content(w/o block tags
and HTML tags) and modifying the search query to use that instead of the
actual post_content field
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56294#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list