Coding Standards: Apply some alignment fixes.
Follow up to [51145]. See #50105. Built from https://develop.svn.wordpress.org/trunk@51147 git-svn-id: http://core.svn.wordpress.org/trunk@50756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8fad82a2d6
commit
e0e19035dc
|
@ -2989,11 +2989,11 @@ function wp_ajax_query_attachments() {
|
||||||
*
|
*
|
||||||
* @param array $query An array of query variables.
|
* @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 );
|
$attachments_query = new WP_Query( $query );
|
||||||
|
|
||||||
$posts = array_map( 'wp_prepare_attachment_for_js', $attachments_query->posts );
|
$posts = array_map( 'wp_prepare_attachment_for_js', $attachments_query->posts );
|
||||||
$posts = array_filter( $posts );
|
$posts = array_filter( $posts );
|
||||||
$total_posts = $attachments_query->found_posts;
|
$total_posts = $attachments_query->found_posts;
|
||||||
|
|
||||||
if ( $total_posts < 1 ) {
|
if ( $total_posts < 1 ) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.8-beta1-51146';
|
$wp_version = '5.8-beta1-51147';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue