 src/wp-admin/export.php        | 10 ++++------
 src/wp-includes/deprecated.php | 12 ++++--------
 src/wp-includes/media.php      | 10 ++++------
 src/wp-includes/user.php       | 16 ++++++----------
 4 files changed, 18 insertions(+), 30 deletions(-)

diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php
index 6e4c335190..7c59c9e6c0 100644
--- a/src/wp-admin/export.php
+++ b/src/wp-admin/export.php
@@ -141,12 +141,10 @@ function export_date_options( $post_type = 'post' ) {
 
 	$months = $wpdb->get_results(
 		$wpdb->prepare(
-			"
-		SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
-		FROM $wpdb->posts
-		WHERE post_type = %s AND post_status != 'auto-draft'
-		ORDER BY post_date DESC
-			",
+			"SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
+			FROM $wpdb->posts
+			WHERE post_type = %s AND post_status != 'auto-draft'
+			ORDER BY post_date DESC",
 			$post_type
 		)
 	);
diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php
index d2885ef497..f72cf4a4c0 100644
--- a/src/wp-includes/deprecated.php
+++ b/src/wp-includes/deprecated.php
@@ -4562,22 +4562,18 @@ function get_page_by_title( $page_title, $output = OBJECT, $post_type = 'page' )
 		$post_type           = esc_sql( $post_type );
 		$post_type_in_string = "'" . implode( "','", $post_type ) . "'";
 		$sql                 = $wpdb->prepare(
-			"
-			SELECT ID
+			"SELECT ID
 			FROM $wpdb->posts
 			WHERE post_title = %s
-			AND post_type IN ($post_type_in_string)
-		",
+			AND post_type IN ($post_type_in_string)",
 			$page_title
 		);
 	} else {
-		$sql = $wpdb->prepare(
-			"
+		$sql = $wpdb->prepare("
 			SELECT ID
 			FROM $wpdb->posts
 			WHERE post_title = %s
-			AND post_type = %s
-		",
+			AND post_type = %s",
 			$page_title,
 			$post_type
 		);
diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
index 27dd4dfb3a..ccc7ac1aa5 100644
--- a/src/wp-includes/media.php
+++ b/src/wp-includes/media.php
@@ -4543,12 +4543,10 @@ function wp_enqueue_media( $args = array() ) {
 	if ( ! is_array( $months ) ) {
 		$months = $wpdb->get_results(
 			$wpdb->prepare(
-				"
-			SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
-			FROM $wpdb->posts
-			WHERE post_type = %s
-			ORDER BY post_date DESC
-		",
+				"SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month
+				FROM $wpdb->posts
+				WHERE post_type = %s
+				ORDER BY post_date DESC",
 				'attachment'
 			)
 		);
diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php
index 0669a052d0..87ff6543e0 100644
--- a/src/wp-includes/user.php
+++ b/src/wp-includes/user.php
@@ -1268,12 +1268,10 @@ function count_users( $strategy = 'time', $site_id = null ) {
 
 		// Add the meta_value index to the selection list, then run the query.
 		$row = $wpdb->get_row(
-			"
-			SELECT {$select_count}, COUNT(*)
+			"SELECT {$select_count}, COUNT(*)
 			FROM {$wpdb->usermeta}
 			INNER JOIN {$wpdb->users} ON user_id = ID
-			WHERE meta_key = '{$blog_prefix}capabilities'
-		",
+			WHERE meta_key = '{$blog_prefix}capabilities'",
 			ARRAY_N
 		);
 
@@ -3545,12 +3543,10 @@ function wp_get_users_with_no_role( $site_id = null ) {
 	$regex = preg_replace( '/[^a-zA-Z_\|-]/', '', $regex );
 	$users = $wpdb->get_col(
 		$wpdb->prepare(
-			"
-		SELECT user_id
-		FROM $wpdb->usermeta
-		WHERE meta_key = '{$prefix}capabilities'
-		AND meta_value NOT REGEXP %s
-	",
+			"SELECT user_id
+			FROM $wpdb->usermeta
+			WHERE meta_key = '{$prefix}capabilities'
+			AND meta_value NOT REGEXP %s",
 			$regex
 		)
 	);