[wp-trac] [WordPress Trac] #43613: Default post format setting does not respect theme support

WordPress Trac noreply at wordpress.org
Thu Mar 22 22:20:40 UTC 2018


#43613: Default post format setting does not respect theme support
----------------------------+-----------------------------
 Reporter:  seanleavey      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Post Formats    |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 In `options-writing.php`, the `Default Post Format` setting does not check
 whether the current theme supports the built-in formats. Would it not be
 more intuitive if only the formats supported by the current theme were in
 the list to select? Then a description could be added underneath to say
 "these are the formats supported by the currently selected theme".

 Alternatively, there could be a filter added to `get_post_format_strings`
 in `wp-includes/post-formats.php` to allow themes/plugins to remove
 available formats from this list.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43613>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list