#54264 closed enhancement (fixed)
Improve the documentation of the wp_insert_post tax_input parameter
Reported by: | dingo_d | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
In the current docblock (which is pulled into the official docs) it's not clear what the structure of the tax_input
parameter should be.
I'd like to add a PR with an extra explanation.
Change History (4)
This ticket was mentioned in PR #1758 on WordPress/wordpress-develop by dingo-d.
3 years ago
#1
- Keywords has-patch added
#3
@
3 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 51913:
hellofromtonya commented on PR #1758:
3 years ago
#4
Committed via https://core.trac.wordpress.org/changeset/51913.
Note: See
TracTickets for help on using
tickets.
The following PR expands on the
tax_input
parameter docblock.From the short description, you may miss the subtle things while using this parameter unless you dive into the code.
Trac ticket: https://core.trac.wordpress.org/ticket/54264