[wp-trac] [WordPress Trac] #55699: posts_join_request filter is broken

WordPress Trac noreply at wordpress.org
Tue May 10 11:15:43 UTC 2022


#55699: posts_join_request filter is broken
-------------------------------------------------+-------------------------
 Reporter:  5um17                                |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.0
Component:  Query                                |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests changes-    |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53375" 53375]:
 {{{
 #!CommitTicketReference repository="" revision="53375"
 Coding Standards: Restore the `$pieces` variable in
 `WP_Query::get_posts()`.

 This is a defensive coding measure that aims to reduce confusion. With
 this change, `$pieces` is explicitly used for the names, and `$clauses`
 for the values of the clauses.

 Follow-up to [52974], [53175], [53370].

 Props peterwilsoncc.
 See #55699.
 }}}

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


More information about the wp-trac mailing list