[wp-trac] [WordPress Trac] #39232: REST API: Can't set existing post format if theme does not support it (2)

WordPress Trac noreply at wordpress.org
Sun Dec 11 14:03:28 UTC 2016


#39232: REST API: Can't set existing post format if theme does not support it (2)
--------------------------+------------------------------
 Reporter:  iseulde       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mark-k):

 +1. the behavior of post formats was always broken for anyone that thought
 about using them. Replicating the broken behavior might be consistent but
 isn't it better to fix the core issue? If I have a post with one image the
 post format I should set is an image whether the theme I currently use
 does something special for it or not.

 In the context of the rest api - I can use the internal API to change the
 post format if the theme supports it or not, why shouldn't I be able to do
 it from the rest api?

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


More information about the wp-trac mailing list