-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Footnotes: ensure compatibility with Custom Post Types #52812
Copy link
Copy link
Closed
Labels
[Block] FootnotesAffects the Footnotes BlockAffects the Footnotes Block[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
Bug Report
Description
I could not get footnotes to work in Custom Post Types in my testing. I used ACF Pro to create a quick custom post type, then set up some content in a new post of the custom post type. When I select "Footnote" in the paragraph toolbar (using WP 6.3 RC 1), it behaves differently than it does in Pages, and I can't set the footnote text in the Footnote block that is automatically added to the end of the content in the custom post type.
(This is my first time posting a bug report so let me know if I need to do something differently. I checked, but could not find this issue reported in github or https://core.trac.wordpress.org/tickets/major.)
Step-by-step reproduction instructions
Steps to Reproduce
- Try to add a footnote in paragraph block of a custom post type using the new Footnote feature in the paragraph toolbar in WP 6.3 RC 1.
- 🐞 Bug occurs.
Expected Results
- ✅ A Footnote block should be added to the bottom of the content blocks, with a place to set your footnote text. When Footnote is selected in the paragraph toolbar menu, you should be taken down to the footnote block.
Actual Results
- ❌ Footnote block gets added but there is no place to set your footnote text (see attached video). You are also not moved down all the way to the footnote block. Footnotes work fine on this site when adding them to pages. Just Custom Post Types behave this way.
Screenshots, screen recording, code snippet
Environment info
Environment
- WordPress: 6.3-RC1
- PHP: 8.0.22
- Server: nginx/1.16.0
- Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.0.22)
- Browser: Firefox 115.0 (Windows 10/11)
- Theme: Twenty Twenty-Three 1.1
- MU-Plugins: None activated
- Plugins:
- Advanced Custom Fields PRO 6.1.7
- Create Block Theme 1.13.1
- WordPress Beta Tester 3.5.2
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] FootnotesAffects the Footnotes BlockAffects the Footnotes Block[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.
