mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user