[wp-trac] [WordPress Trac] #61307: Wrong variable name in filter documentation

WordPress Trac noreply at wordpress.org
Fri Jun 21 17:25:03 UTC 2024


#61307: Wrong variable name in filter documentation
------------------------------+-----------------------------
 Reporter:  david.binda       |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.6
Component:  Query             |     Version:  6.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58454" 58454]:
 {{{
 #!CommitTicketReference repository="" revision="58454"
 Docs: Document `$clauses` associative array in `*-clauses` filters.

 Document each element within the filter parameter `$clauses` associative
 array structure for the `'comments_clauses'`, `'networks_clauses'`, and
 `'sites_clauses'` filters.

 This change:
 * Brings consistency amongst the `WP_[*_]Query` filters.
 * Helps to improve understanding.
 * Helps to avoid confusion of the purpose for `pieces` and `clauses`.

 Follow-up to [53376], [53375], [52974].

 Props david.binda, audrasjb, hellofromTonya, ironprogrammer, johnbillion,
 oglekler, SergeyBiryukov.
 Fixes #61307.
 }}}

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


More information about the wp-trac mailing list