Skip to content

Commit 24c5349

Browse files
committed
add missing nopaging attribute
1 parent db84672 commit 24c5349

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/collection/class-interactions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ function() {
150150
*/
151151
public static function get_interaction_by_id( $url ) {
152152
$args = array(
153+
'nopaging' => true,
153154
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
154155
'meta_query' => array(
155156
'relation' => 'AND',
@@ -191,6 +192,7 @@ public static function get_interactions_by_actor( $actor ) {
191192
}
192193

193194
$args = array(
195+
'nopaging' => true,
194196
'author_url' => $actor,
195197
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query
196198
'meta_query' => array(

0 commit comments

Comments
 (0)