Coding Standards: Apply some alignment fixes.

Follow up to [51145].
See #50105.

git-svn-id: https://develop.svn.wordpress.org/trunk@51147 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2021-06-14 23:41:07 +00:00
parent 825a9c7b97
commit e40fec89ab
+3 -3
View File
@@ -2989,11 +2989,11 @@ function wp_ajax_query_attachments() {
*
* @param array $query An array of query variables.
*/
$query = apply_filters( 'ajax_query_attachments_args', $query );
$query = apply_filters( 'ajax_query_attachments_args', $query );
$attachments_query = new WP_Query( $query );
$posts = array_map( 'wp_prepare_attachment_for_js', $attachments_query->posts );
$posts = array_filter( $posts );
$posts = array_map( 'wp_prepare_attachment_for_js', $attachments_query->posts );
$posts = array_filter( $posts );
$total_posts = $attachments_query->found_posts;
if ( $total_posts < 1 ) {