add missing nopaging
attribute
This commit is contained in:
parent
db846729db
commit
24c534961a
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,7 @@ class Interactions {
|
||||||
*/
|
*/
|
||||||
public static function get_interaction_by_id( $url ) {
|
public static function get_interaction_by_id( $url ) {
|
||||||
$args = array(
|
$args = array(
|
||||||
|
'nopaging' => true,
|
||||||
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
|
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
|
||||||
'meta_query' => array(
|
'meta_query' => array(
|
||||||
'relation' => 'AND',
|
'relation' => 'AND',
|
||||||
|
@ -191,6 +192,7 @@ class Interactions {
|
||||||
}
|
}
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
|
'nopaging' => true,
|
||||||
'author_url' => $actor,
|
'author_url' => $actor,
|
||||||
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
|
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
|
||||||
'meta_query' => array(
|
'meta_query' => array(
|
||||||
|
|
Loading…
Reference in a new issue