WordPress.org

Make WordPress Core

Opened 2 months ago

#41949 new defect (bug)

Allow multiple values for the same meta key to be passed to `wp_insert_post()`

Reported by: desrosj Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.4
Component: Posts, Post Types Keywords: needs-patch
Focuses: Cc:

Description

[33910] introduced the meta_input argument to wp_insert_post(). However, there is no way to pass multiple values for the same meta key to be stored individually.

Change History (0)

Note: See TracTickets for help on using tickets.