Skip to content

Commit

Permalink
Merge pull request #4 from humanmade/use-add-query-arg
Browse files Browse the repository at this point in the history
Use `add_query_arg()` instead of `add_query_args()`
  • Loading branch information
roborourke authored Aug 31, 2021
2 parents 779c370 + f66b79b commit 97bcdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class-provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,6 @@ public function resize( WP_Post $attachment, int $width, int $height, $crop = fa
$query_args['crop'] = implode( ',', $crop );
}

return add_query_args( urlencode_deep( $query_args ), $base_url );
return add_query_arg( urlencode_deep( $query_args ), $base_url );
}
}

0 comments on commit 97bcdc1

Please sign in to comment.