[wp-trac] [WordPress Trac] #41949: Allow multiple values for the same meta key to be passed to `wp_insert_post()`
WordPress Trac
noreply at wordpress.org
Thu Jun 25 22:43:03 UTC 2020
#41949: Allow multiple values for the same meta key to be passed to
`wp_insert_post()`
-------------------------------+------------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------------+------------------------------
Comment (by stuffradio):
@desrosj Are you sure you want the meta_input to be able to behave the
same way as tax_input?
E.g.
{{{#!php
<?php
'tax_input' => array(
'tax_name' => array(
'term1',
'term2',
'term3'
)
);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41949#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list