[wp-trac] [WordPress Trac] #56348: Correct and clarify inline docs for excluded_terms in get_adjacent_post()
WordPress Trac
noreply at wordpress.org
Mon Aug 8 13:54:45 UTC 2022
#56348: Correct and clarify inline docs for excluded_terms in get_adjacent_post()
-------------------------------+-----------------------------
Reporter: grapplerulrich | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.9
Severity: normal | Keywords:
Focuses: docs |
-------------------------------+-----------------------------
The variable `$excluded_terms` is an array of excluded term IDs. Empty
string if none were provided.
It is documented incorrectly in
[https://developer.wordpress.org/reference/hooks/get_adjacent_post_where/
`get_{$adjacent}_post_where`] and
[https://developer.wordpress.org/reference/hooks/get_adjacent_post_join/
`get_{$adjacent}_post_join`].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56348>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list