Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #61307, comment 6


Ignore:
Timestamp:
06/07/2024 09:59:33 PM (18 months ago)
Author:
ironprogrammer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61307, comment 6

    initial v1  
    1 I agree that `$clauses` more accurately describes the associate array expected here after `compact( $pieces )`, but it does look funny for the comment to not allude to the obvious use of `$pieces` in context.
     1I agree that `$clauses` more accurately describes the associative array expected here after `compact( $pieces )`, but it does look funny for the comment to not allude to the obvious use of `$pieces` in context.
    22
    33The DocBlock at https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-query.php#L2934 is verbose in describing what `$clauses` represents. Would it help for the other filter calls to include these details to avoid ambiguity?