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

WordPress Trac noreply at wordpress.org
Mon May 9 13:49:45 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  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53370" 53370]:
 {{{
 #!CommitTicketReference repository="" revision="53370"
 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, SergeyBiryukov.
 Fixes #55699.
 }}}

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


More information about the wp-trac mailing list