[wp-trac] [WordPress Trac] #56348: Correct and clarify inline docs for excluded_terms in get_adjacent_post()

WordPress Trac noreply at wordpress.org
Tue Aug 9 10:29:46 UTC 2022


#56348: Correct and clarify inline docs for excluded_terms in get_adjacent_post()
-------------------------------+----------------------
 Reporter:  grapplerulrich     |       Owner:  ocean90
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  6.1
Component:  Posts, Post Types  |     Version:  3.9
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+----------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53870" 53870]:
 {{{
 #!CommitTicketReference repository="" revision="53870"
 Docs: Consistently document the `$excluded_terms` variable in
 `get_adjacent_post()`.

 The variable `$excluded_terms` is an array of excluded term IDs or empty
 string if none were provided.

 Props grapplerulrich, costdev.
 Fixes #56348.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56348#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list