mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-03 01:31:17 +03:00
Un-hide pledges with no confirmed contributors
This commit is contained in:
parent
bf7fdf7927
commit
b5a7ecca79
|
@ -192,9 +192,10 @@ function filter_query( $query ) {
|
||||||
'type' => 'NUMERIC',
|
'type' => 'NUMERIC',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( CPT_ID === $query->get( 'post_type' ) ) {
|
// @todo Re-enable this check once pledges are public.
|
||||||
$query->set( 'meta_query', $meta_queries );
|
// if ( CPT_ID === $query->get( 'post_type' ) ) {
|
||||||
}
|
// $query->set( 'meta_query', $meta_queries );
|
||||||
|
// }
|
||||||
|
|
||||||
// Searching is restricted to pledges only.
|
// Searching is restricted to pledges only.
|
||||||
if ( $query->is_search ) {
|
if ( $query->is_search ) {
|
||||||
|
|
Loading…
Reference in a new issue