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

WordPress Trac noreply at wordpress.org
Wed May 16 18:20:16 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):

 I want to make sure that we get this naming right, so I've mentioned this
 discussion in the meeting minutes I just posted and we'll try to get a
 broader set of eyes on this ticket at the core meeting today, too.
 However, I will also be trying to cut off debate around the naming at a
 reasonable point so that we don't end up blocking the needed functionality
 changes this patch seeks to introduce.

 Regarding the wrapper functions @flixos90, I'm actually now changing my
 mind around `register_user_meta` and `register_comment_meta`: I'm feeling
 now that we don't need these wrappers. I'd rather introduce the wrappers
 for the types where they are essential, rather than introduce new methods
 that may never end up utilized, especially if it causes us to over-think
 the (otherwise pretty clear) function signature of the new wrappers we
 know we need.

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


More information about the wp-trac mailing list