Automattic / Automattic/jetpack

Footnotes removed when copying a post

Open
#39,603 4 comments 0 reactions 0 assignees View on GitHub
[Feature Group] Editor Experience [Feature] Copy a Post [Pri] Low [Status] Priority Review Triggered Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Quick summary

For a post using footnotes, when duplicated/copied, the new post doesn't retain the edits in the Footnotes block.

### Steps to reproduce

1. Create a new post that uses footnotes and add references to the bottom footnotes block
2. Duplicate the post
3. The new post's footnotes block is missing the edits.

### What you expected to happen

The block should be copied as-is

### What actually happened

There are numbered links to the footnotes but no text/edits are retained.

![image](https://github.com/user-attachments/assets/c5d3b314-c2b3-4d1d-bf85-0d0333b1dda7)

### Impact

Some (< 50%)

### Available workarounds?

No but the platform is still usable

### If the above answer is "Yes...", outline the workaround.

_No response_

### Platform (Simple and/or Atomic)

_No response_

### Logs or notes

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem by creating a WordPress post with edited footnotes, duplicating it, and comparing the footnotes block with the original. Trace the post-duplication handling for the Footnotes block, then verify that both the numbered links and their edited text are retained in the copied post.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.