diff --git a/wp-includes/post.php b/wp-includes/post.php index dfdd41ed5e..3c3a422430 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3390,7 +3390,8 @@ function wp_count_attachments( $mime_type = '' ) { ); $counts = wp_cache_get( $cache_key, 'counts' ); - if ( false == $counts ) { + + if ( false === $counts ) { $and = wp_post_mime_type_where( $mime_type ); $count = $wpdb->get_results( "SELECT post_mime_type, COUNT( * ) AS num_posts FROM $wpdb->posts WHERE post_type = 'attachment' AND post_status != 'trash' $and GROUP BY post_mime_type", ARRAY_A ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 91297442ab..545960529f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59566'; +$wp_version = '6.8-alpha-59567'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.