[wp-trac] [WordPress Trac] #38610: Set `format` enum based on the post formats registered to the theme

WordPress Trac noreply at wordpress.org
Wed Nov 2 16:22:06 UTC 2016


#38610: Set `format` enum based on the post formats registered to the theme
----------------------------------------+---------------------
 Reporter:  danielbachhuber             |       Owner:  rmccue
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.7
Component:  REST API                    |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+---------------------

Comment (by joehoyle):

 @nerrad so, the theme is dictating what post formats you can create, this
 was done to reflect the WordPress admin, where you can't create a post of
 a format that your theme does not support.

 This change basically means different wordpress sites will have different
 formats available (depending on what theme they have activated).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38610#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list