Opened 10 years ago
Closed 10 years ago
#24219 closed defect (bug) (invalid)
All post formats not available in PressThis
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | major | Version: | |
Component: | Post Formats | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
When creating a new PressThis post with Twenty Thirteen active, only Standard, Link, and Video are available as post formats:
Yes, I do use PressThis.
Similarly, mobile apps respecting wp_getPostFormats
in XML-RPC will only show the post formats available with get_theme_support( 'post-formats' )
I haven't been following all of the recent post format discussion, but get_theme_support( 'post-formats' )
should probably return all post formats unless the theme has explicitly identified which formats it supports. This is a different approach than what r24089 did, and I only see two other uses of get_theme_support( 'post-formats' )
in core, but it doesn't accommodate for plugin/theme use of get_theme_support( 'post-formats' )
.
Attachments (3)
Change History (12)
#2
@
10 years ago
24219.patch follows the same approach as in [24089].
There's an ongoing discussion in #24109 about how we should handle post-formats
and structured-post-formats
declarations in general.
#5
@
10 years ago
24219.2.patch addresses the XML-RPC response in addition to Sergey's patch.
#6
@
10 years ago
24219.3.patch clarifies the XML-RPC inline comment since as @kovshenin noted below it, all formats are supported going forward. Works as expected for me.
#8
@
10 years ago
Related: ticket:24109:29
Probably it is the wrong place for that, but why should a user be blocked at all from creating an image post if the theme doesn't support it? tomorrow he might change the theme, so why limit him from adding this relevant meta information on post creation?