[wp-trac] [WordPress Trac] #48839: Add param for WP_REST_Meta_Fields get_registered_fields function

WordPress Trac noreply at wordpress.org
Fri Nov 29 21:57:22 UTC 2019


#48839: Add param for WP_REST_Meta_Fields get_registered_fields function
--------------------------+-----------------------------
 Reporter:  dkarfa        |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.4
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"46802" 46802]:
 {{{
 #!CommitTicketReference repository="" revision="46802"
 REST API: Use a strict `in_array()` check in
 `WP_REST_Meta_Fields::get_registered_fields()`.

 Props dkarfa.
 Fixes #48839.
 }}}

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


More information about the wp-trac mailing list