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

WordPress Trac noreply at wordpress.org
Tue May 10 16:07:25 UTC 2022


#55699: posts_join_request filter is broken
-------------------------------------------------+-------------------------
 Reporter:  5um17                                |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Query                                |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-reviewed                                   |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"53379" 53379]:
 {{{
 #!CommitTicketReference repository="" revision="53379"
 Query: Restore late `compact()` call for the `posts_clauses_request`
 filter.

 This addresses a backward compatibility break where `posts_join_request`
 and other filters were applied, but their results were subsequently
 discarded and earlier values were used instead.

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

 Props 5um17, johnbillion, peterwilsoncc, hellofromTonya, SergeyBiryukov.
 Merges [53370] and [53375] to the 6.0 branch.
 Fixes #55699.
 }}}

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


More information about the wp-trac mailing list