Opened 12 years ago
Closed 9 years ago
#16555 closed defect (bug) (fixed)
Post format metabox shows duplicate 'standard' format
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.1 | Priority: | low |
Severity: | normal | Version: | 3.1 |
Component: | Post Formats | Keywords: | has-patch |
Focuses: | Cc: |
Description
Having 'standard' within add_theme_support makes the standard option show up twice within the post format metabox on the write/edit screen.
add_theme_support( 'post-formats', array( 'standard', 'aside', 'chat', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio' ) );
Patch fixes this by skiping over standard since it's hardcoded in the metabox.
Attachments (4)
Change History (12)
#2
@
12 years ago
- Milestone changed from Awaiting Review to Future Release
- Priority changed from normal to low
Probably just wontfix, or at least low priority into the future. Simple way to avoid this is removing support for 'standard'. All themes support 'standard' by default.
#4
@
9 years ago
Added a pretty simple fix for this in the add_theme_support function, removing it from the input array with array_splice.
Note: See
TracTickets for help on using
tickets.
This should probably happen in add_theme_support() directly.