[wp-trac] [WordPress Trac] #40365: Introduce a REST API endpoint for sites

WordPress Trac noreply at wordpress.org
Sat Sep 9 20:56:52 UTC 2017


#40365: Introduce a REST API endpoint for sites
-------------------------------------------------+-------------------------
 Reporter:  jeremyfelt                           |       Owner:
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  REST API                             |  Release
 Severity:  normal                               |     Version:
 Keywords:  dev-feedback needs-unit-tests ms-    |  Resolution:
  roadmap has-patch                              |     Focuses:  multisite,
                                                 |  rest-api
-------------------------------------------------+-------------------------
Changes (by spacedmonkey):

 * keywords:  needs-patch dev-feedback needs-unit-tests ms-roadmap => dev-
     feedback needs-unit-tests ms-roadmap has-patch


Comment:

 First pass at patch.
 [https://core.trac.wordpress.org/attachment/ticket/40365/40365.diff
 40365.diff]

 It uses `wpmu_create_blog`, `wpmu_delete_blog` and `update_blog_details`
 for now, as other crud functions are not available.

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


More information about the wp-trac mailing list