[wp-trac] [WordPress Trac] #45635: Rest-API broken on trunk

WordPress Trac noreply at wordpress.org
Mon Dec 17 07:15:40 UTC 2018


#45635: Rest-API broken on trunk
-------------------------------+------------------------------
 Reporter:  hjanuschka         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  5.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by hjanuschka):

 @dlh i can confirm that [43908] restores known behaviour. 🤘


 i found a central place in my code where i could add like a "dummy" schema
 entry, forcing `"title" => "dummy", type => "object"`


 is there any documentation, what side effects that could have, where
 schema is used, and what exactly for? i am a bit afraid introducing a huge
 regression doing this. but creating a schema for each field (many k's) is
 too much work-force!

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


More information about the wp-trac mailing list