Skip to content

Footnotes: footnotes are not reverted or restored with post revisions #52541

@ramonjd

Description

@ramonjd

Description

When restoring a post's revision, the footnotes associated with that revision are not restored.

Only the latest version of the post's footnotes will appear on the page at any one time.

The consequence is that users can't access a "true" record of a post's changes.

First noticed here.

Step-by-step reproduction instructions

  1. Create a new post
  2. Add some text in a paragraph
  3. Add a footnote or two using he block inspector toolbar
  4. Save the post
  5. Repeat
  6. Save the post
  7. Restore the previous version
  8. Note that the text has been restored but the footnotes have not.

Screenshots, screen recording, code snippet

2023-07-12.14.12.22.mp4

Environment info

Gutenberg 16.2
WordPress 6.3-beta3-56201 running Twenty Twenty-Three theme.

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

Metadata

Metadata

Assignees

Labels

[Block] FootnotesAffects the Footnotes Block[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions