[wp-trac] [WordPress Trac] #39959: Clarify parameters for callbacks for `register_rest_field()`

WordPress Trac noreply at wordpress.org
Sat Oct 24 04:25:37 UTC 2020


#39959: Clarify parameters for callbacks for `register_rest_field()`
--------------------------+--------------------------------
 Reporter:  flixos90      |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.6
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+--------------------------------
Changes (by TimothyBlynJacobs):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49295" 49295]:
 {{{
 #!CommitTicketReference repository="" revision="49295"
 REST API: Deprecate `WP_REST_Meta_Fields::register_field()`.

 This method never worked properly and cannot be fixed due to incompatible
 method signatures.

 Props flixos90, kadamwhite, jnylen0, TimothyBlynJacobs.
 Fixes #39959.
 }}}

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


More information about the wp-trac mailing list