mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-18 21:18:01 +08:00
This change fixes missing schema fields for solved topics. Since introducing the `suggestedAnswer` schema entry as part of the Solved plugin, we are seeing issues with some emoji-only and image-only posts. These non text posts lead to either `acceptedAnswer` or `suggestedAnswer` items in the JSON-LD with "text": null, which Google reports as "Missing field 'text'". This change filters out posts that have no excerpt value and still preserves written posts. |
||
|---|---|---|
| .. | ||
| discourse_solved | ||
| topic_answer_mixin_spec.rb | ||
| topic_view_serializer_spec.rb | ||
| user_card_serializer_spec.rb | ||
| user_summary_serializer_spec.rb | ||