[wp-trac] [WordPress Trac] #38323: Reconsider $object_subtype handling in `register_meta()`

WordPress Trac noreply at wordpress.org
Fri May 18 04:10:56 UTC 2018


#38323: Reconsider $object_subtype handling in `register_meta()`
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  flixos90
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  Options, Meta APIs                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:  rest-api
  dev-note                                       |
-------------------------------------------------+-------------------------

Comment (by kadamwhite):

 Per discussion in Slack today, we have come to an agreement on the
 discussion between @johnjamesjacoby and @flixos90 detailed above -- these
 are valid concerns to raise but many of them exceed the scope of this
 ticket, and we will continue with the implementation as described in the
 most recent patch.

 The only remaining debate is whether the "object subtype" (post_type or
 taxonomy) parameter in the wrapper methods should come first or last, and
 whether we should omit the wrappers for comment and user meta for the time
 being. I am soliciting an outside opinion from other contributors because
 all of us involved in the discussion today are likely too close to the
 issue to have an objective viewpoint :)

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


More information about the wp-trac mailing list