[wp-trac] [WordPress Trac] #55699: posts_join_request filter is broken
WordPress Trac
noreply at wordpress.org
Mon May 9 13:43:05 UTC 2022
#55699: posts_join_request filter is broken
--------------------------------------+---------------------
Reporter: 5um17 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
[attachment:"55699.4.diff"] also includes a unit test for [53175].
It is worth noting that `posts_clauses` and `posts_clauses_request` were
the only filters affected here. [53175] fixed the former, but missed the
latter.
Other `*_clauses` filters adjusted in [52974] and [53175] are unaffected
because there are no hooks between the `$clauses` array definition and the
filter itself, so the logic for them has not changed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55699#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list