[wp-trac] [WordPress Trac] #34730: Rename `register_api_field()` to `register_rest_field()`

WordPress Trac noreply at wordpress.org
Wed Nov 18 20:15:30 UTC 2015


#34730: Rename `register_api_field()` to `register_rest_field()`
------------------------------+--------------------------
 Reporter:  danielbachhuber   |       Owner:  johnbillion
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  REST API          |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------

Comment (by danielbachhuber):

 34730.2.diff removes `register_api_field()` from core, as it's
 conceptually bound to `WP_REST_Controller`, which doesn't yet exist in
 core.

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


More information about the wp-trac mailing list