[wp-trac] [WordPress Trac] #60242: Change doc parameter variable name in terms_clauses filter

WordPress Trac noreply at wordpress.org
Fri Jan 12 14:32:49 UTC 2024


#60242: Change doc parameter variable name in terms_clauses filter
--------------------------+------------------------------
 Reporter:  hardik2221    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+------------------------------
Changes (by benniledl):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hey!
 The doc block actually references the variable allocation below it
 ($clauses), not the one above it (pieces) so it is correct.
 https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 term-query.php#L734

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


More information about the wp-trac mailing list