#40550 closed defect (bug) (duplicate)
Incorrect list of Default Post Format
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7.4 |
Component: | Post Formats | Keywords: | |
Focuses: | administration | Cc: |
Description
Just stumbled upon an inconsistent behaviour for Post Format.
Issue
On adding below code to after_setup_theme
action hook.
add_theme_support( 'post-formats',array( 'image', 'gallery', 'video' ) );
Then go to Settings > Writing
and check the Default Post Format List. It is showing all the post formats available rather than the post formats which have been assigned using the code.
Expected to show only: Standard, Image, Gallery and Video as per the code added.
Furthermore, when we select a Default Post Format as Chat which is not added in the code. Then creating a post will show Chat Post Format default selected which is weird. Does this make sense?
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @mehul0810, welcome to WordPress Trac!
Thanks for the report, we're already tracking this issue in #34670.
This appears to be intentional, see comment:3:ticket:34670.