[wp-trac] [WordPress Trac] #43392: Support 'object' and 'array' types in register_meta()
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Jun 20 05:17:18 UTC 2019
    
    
  
#43392: Support 'object' and 'array' types in register_meta()
-------------------------------------------------+-------------------------
 Reporter:  diegoliv                             |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Options, Meta APIs                   |     Version:  4.9.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  rest-api
  feedback 2nd-opinion                           |
-------------------------------------------------+-------------------------
Comment (by TimothyBlynJacobs):
 Thank you for the feedback @mnelson4!
 I implemented those changes except for the last part of handling if a
 client removed the null values before sending it. It adds some more
 complexity, and I'm personally comfortable with calling a client doing
 that broken behavior. But if people have other thoughts, I'd love to hear
 them.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43392#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list