Opened 7 months ago
Closed 7 months ago
#62152 closed defect (bug) (reported-upstream)
Bundled themes display author for CPTs that do not support authors
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.6.2 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Bundled themes Twenty Twenty-Four, Twenty Twenty-Three, and Twenty Twenty-Two will display author information for posts of a custom post type that does not declare author
support.
Steps to reproduce
- Create a custom post type and specify that it does not support
author
- Create a new post of that post type
- View that post on the front end
- The author is shown on the page, even though the post type does not support
author
Related to #48803
Attachments (2)
Change History (6)
#2
@
7 months ago
- Component changed from Bundled Theme to Editor
Hi @groenroos and welcome to WordPress Trac!
These themes are built using blocks, and because they are default themes, it is not suitable for them to change how the block works.
Bugs with the author blocks need to be solved in the editor first, since they affect all block themes and not only the bundled themes.
Because it is a block editor issue, the ticket needs to be opened and managed in the Gutenberg GitHub repository: https://github.com/WordPress/gutenberg
Please reply back if you need help with this, or reply with a GitHub issue number so that the two tickets can be linked.
After that, this ticket can be closed.
#3
@
7 months ago
@iflairwebtechnologies Thanks - but the CPT not declaring author
is correct; the fact that the theme nevertheless displays the author name even though the CPT does not declare author
support is the issue at hand!
@poena Thank you for the clarification! I've submitted a ticket here: https://github.com/WordPress/gutenberg/issues/65816
@groenroos
when post type create with need add author in supports as per attached