Open mrfoxtalbot opened 2 months ago
I think this is a core issue. Footnotes are stored in postmeta, which is rarely included in search queries due to performance.
In my opinion, any change we introduce here must be discussed in core tickets first.
Yup, I said so in the opening paragraph :)
This is because search only queries post_title, post_content and post_excerpt and has been a known issues for 7 years. https://core.trac.wordpress.org/ticket/40
I thought it made sense to open an issue for awareness as it has become more relevant with the introduction of foot notes.
I added a [Type} WP Core Ticket label.
@mrfoxtalbot, I get it. But this isn't actionable in the Gutenberg plugin, so I'm unsure what purpose the issue will serve.
Sure, let me explain my logic: We have 20 issues labeled as [Type} WP Core Ticket
: Requires an upstream change from WordPress. Core Trac ticket should be linked.
I thought this was a good example of such ticket: affects the block editor but is not directly fixable in the block editor's code and hence worth tracking but please let me know if I am misunderstanding something about this specific issue or about how this label should be used.
Thank you!
Description
Text in the footnotes does not show in search results. This is because search only queries post_title, post_content and post_excerpt and has been a known issues for 7 years. https://core.trac.wordpress.org/ticket/40341
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
String in a footnote:![Screenshot 2024-05-24 at 12 57 40](https://github.com/WordPress/gutenberg/assets/4452464/00e56a3e-acde-44eb-a74a-670eaa0eab78)
Search Results:![Screenshot 2024-05-24 at 12 42 12](https://github.com/WordPress/gutenberg/assets/4452464/02622d6e-1fb4-4670-839f-00d93ecbaaaa)
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes