WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 7 weeks ago

#48803 new defect (bug)

Twenty Twenty: Custom post type that doesn't support author, shows author

Reported by: ianbelanger Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: has-patch needs-testing
Focuses: Cc:
PR Number:

Description

Originally reported on GitHub by @joyously

https://github.com/WordPress/twentytwenty/issues/954

Steps to reproduce

  • Create a custom post type and specify that it does not support author (similar to Page).
  • Create a new post of that post type.
  • View that post on the front end.
  • The author is shown under the title, even though the post type does not support author.

Attachments (2)

48803.diff (672 bytes) - added by donmhico 2 months ago.
48803.1.diff (1.8 KB) - added by ianbelanger 7 weeks ago.
refresh patch including author bio removal

Download all attachments as: .zip

Change History (5)

@donmhico
2 months ago

#1 @donmhico
2 months ago

  • Keywords has-patch added; needs-patch removed

@ianbelanger - The patch, https://core.trac.wordpress.org/attachment/ticket/48803/48803.diff, should fix the issue.

#2 @ianbelanger
7 weeks ago

  • Keywords needs-refresh added; needs-testing removed

The patch does fix the issue, however while testing I found that the author bio box also shows on CPT's that don't support authors. I think that we should probably fix this issue as well.

@ianbelanger
7 weeks ago

refresh patch including author bio removal

#3 @ianbelanger
7 weeks ago

  • Keywords needs-testing added; needs-refresh removed
Note: See TracTickets for help on using tickets.