#52943 closed defect (bug) (fixed)
Document the 'import_id' parameter in wp_insert_post()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description (last modified by )
wp_insert_post()
has an undocumented 'import_id' parameter added in [9100].
It can be used to preserve post IDs during import and should be properly documented in the function DocBlock.
Related: #37818
Change History (5)
This ticket was mentioned in PR #1144 on WordPress/wordpress-develop by donmhico.
4 years ago
#2
- Keywords has-patch added; needs-patch removed
#3
@
4 years ago
Thanks for the ticket @SergeyBiryukov. I attached a PR that adds the doc for $import_id
#4
@
4 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 50621:
@SergeyBiryukov commented on PR #1144:
7 months ago
#5
Thanks for the PR! Merged in r50621.
Note: See
TracTickets for help on using
tickets.
This PR adds docs for
$import_id
param.Trac ticket: https://core.trac.wordpress.org/ticket/52943