Opened 16 years ago
Closed 12 years ago
#16555 closed defect (bug) (fixed)
Post format metabox shows duplicate 'standard' format
| Reported by: | ptahdunbar | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | low | Milestone: | 4.1 |
| Component: | Post Formats | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
16 years ago
- Milestone Awaiting Review → Future Release
- Priority normal → 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
@
12 years ago
Added a pretty simple fix for this in the add_theme_support function, removing it from the input array with array_splice.
This should probably happen in add_theme_support() directly.