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

WordPress Trac noreply at wordpress.org
Tue Jun 19 22:24:31 UTC 2018


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

Comment (by kadamwhite):

 Thank you @flixos90 and @spacedmonkey for the patches, and the discussion.
 For the purposes of this ticket, and this ticket alone, this is what I'd
 like to see:

 - Handle Comment Types in a follow-up patch, based on the complications we
 discovered extrapolating the change during WCEU contributor day. (Follow-
 up ticket should to be created)
 - Handle blog site objects in a follow-up patch, as part of #44387
 - Leave subtype in function signature for `is_protected_meta` for
 consistency, as we modify most  other methods in that region. This has
 impact on #44238 but does not strictly overlap with the purpose of that
 ticket.

 If we limit scope in that way, I think we're good to move forward on this!

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


More information about the wp-trac mailing list