Opened 2 months ago
Closed 2 months ago
#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: | trunk |
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 (3)
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