[wp-trac] [WordPress Trac] #55699: posts_join_request filter is broken
WordPress Trac
noreply at wordpress.org
Mon May 9 11:58:48 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 | Focuses:
--------------------------+---------------------
Description changed by SergeyBiryukov:
Old description:
> One of the users reported [https://github.com/5um17/wp-extended-
> search/issues/12 an error] with WP 6.0-RC1.
>
> On checking, I found `posts_join_request` filter is stopped working since
> latest changes. First https://core.trac.wordpress.org/changeset/52974/
> then https://core.trac.wordpress.org/changeset/53175/ for #54728
>
> I think this is an oversight, we missed adding `compact()` to
> {{{#!php
> <?php
> $clauses = (array) apply_filters_ref_array( 'posts_clauses_request',
> array( $clauses, &$this ) );
> }}}
New description:
One of the users reported [https://github.com/5um17/wp-extended-
search/issues/12 an error] with WP 6.0-RC1.
On checking, I found `posts_join_request` filter is stopped working since
latest changes. First [52974] then [53175] for #54728.
I think this is an oversight, we missed adding `compact()` to
{{{#!php
<?php
$clauses = (array) apply_filters_ref_array( 'posts_clauses_request',
array( $clauses, &$this ) );
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55699#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list