mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
Remove large per-page limit
This commit is contained in:
parent
fe351ae6f8
commit
4d49cba22c
|
@ -430,10 +430,6 @@ function filter_query( $query ) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo remove this when `rand` pagination fixed
|
|
||||||
// see https://github.com/WordPress/five-for-the-future/issues/70#issuecomment-549066883.
|
|
||||||
$query->set( 'posts_per_page', 100 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue