Skip to content

Commit 3061cff

Browse files
committed
Prepare the query to be less than 1024 characters
1 parent a931f7d commit 3061cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/class-utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ public static function attachment_url_to_postid( $url ) {
10091009
* @return array
10101010
*/
10111011
public static function query_relations( $public_ids, $urls = array() ) {
1012-
$chunk_size = 50; // Number of items per chunk, configurable.
1012+
$chunk_size = 25;
10131013
$results = array();
10141014
$tablename = self::get_relationship_table();
10151015

0 commit comments

Comments
 (0)