[wp-trac] [WordPress Trac] #38792: REST API: Clean up argument and property types

WordPress Trac noreply at wordpress.org
Wed Nov 16 06:08:04 UTC 2016


#38792: REST API: Clean up argument and property types
--------------------------+-----------------------
 Reporter:  jnylen0       |       Owner:  joehoyle
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by rmccue):

 @jnylen0 @joehoyle I'm wondering: should we convert this script to a unit
 test? Seems like a good way to ensure future arguments/endpoints are
 registered with all the necessary pieces pretty nicely.

 (We could get the index for `wp/v2` instead of the root if we're concerned
 about stepping on other components'/plugin's toes.)

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


More information about the wp-trac mailing list