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

WordPress Trac noreply at wordpress.org
Tue May 10 11:20:06 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:"53376" 53376]:
 {{{
 #!CommitTicketReference repository="" revision="53376"
 Coding Standards: Restore the `$pieces` variable for SQL clauses in query
 classes.

 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], [53375].

 Props peterwilsoncc.
 See #55699.
 }}}

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


More information about the wp-trac mailing list