Automattic / Automattic/jetpack
Markdown: Filtered content lost when editing `menu_order` without passing content.
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
48 out of 56 posts on my site that were previously in markdown are now only in HTML.
The `post_content_filtered` column for these posts contains HTML, not markdown as I would expect it to.
I have yet to establish a cause or pattern, or notice at what point the posts switched from markdown to HTML.
Unlike #1624 there are no shortcodes in these posts.
Please let me know if there is anything I can do to help pin down the issue.
Contributor guide
Research direction
Start by reproducing an edit that changes menu_order without passing content, then inspect how post_content_filtered changes for posts previously stored as Markdown. Compare the behavior with issue #1624 while accounting for the report that these posts contain no shortcodes. Done means the cause is identified and Markdown remains intact through the reported edit path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100