Add support for fetching postFormats supported by the active theme
|Reported by:||daniloercoli||Owned by:|
|Severity:||normal||Keywords:||mobile has-patch needs-testing|
Noticed that wp.getPostFormats always returns the full list of Formats, even if the active theme doesn’t support most of them. It just calls get_post_format_strings() to get the list.
I recently added the support for postFormat into WordPress 4 BlackBerry and the users feedback confirm that showing the full list is not so good, because the dashboard instead shows only the post_formats supported by the theme. We should use the same behavior on both places.