[wp-trac] [WordPress Trac] #56294: WordPress search finds block name in comment
WordPress Trac
noreply at wordpress.org
Sun Jan 29 15:34:25 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):
This is also problematic when there are attributes in the blocks like
classes
{{{
<!-- wp:image
{"id":157,"sizeSlug":"full","linkDestination":"none","className":"primary
rounded"} -->
}}}
A search query for "primary" will yield all posts with blocks that has the
class "primary"
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56294#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list