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

WordPress Trac noreply at wordpress.org
Wed Jun 20 09:36:02 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 flixos90):

 I agree with the ideas that both of you @kadamwhite and @spacedmonkey are
 highlighting.

 However, my main point is the following: Both of you are mentioning
 specific "extra parts" to registering metadata should be part of this
 ticket right here. I don't see why. Everything related to
 `register_meta()` should definitely be part of 5.0, but this ticket is
 indeed quite complex already, and it is much easier to take care of the
 rest in follow-up tickets, for the sake of overview and also granular
 commits like @spacedmonkey mentioned.

 Instead of arguing why one thing should be part of this and another
 doesn't, I really think we should keep things simple here and do all the
 following things afterwards:
 * Meta default values (#43941)
 * Registerable protected meta values per subtype (#44238)
 * Site meta support when registering meta (#44387)
 * Comment types support or not? (ticket yet to be created)

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


More information about the wp-trac mailing list