Make WordPress Core


Ignore:
Timestamp:
05/25/2023 12:53:24 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Improve formatting of some SQL queries for better readability.

This corrects the placement of double quotes around the query and makes sure the alignment is consistent.

Props umeshmcakadi, mukesh27, krupalpanchal, dhrumilk, SergeyBiryukov.
Fixes #58372.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-user-query.php

    r55732 r55857  
    10101010                $where
    10111011                GROUP BY post_author
    1012             ) p ON ({$wpdb->users}.ID = p.post_author)
    1013             ";
     1012            ) p ON ({$wpdb->users}.ID = p.post_author)";
    10141013            $_orderby          = 'post_count';
    10151014        } elseif ( 'ID' === $orderby || 'id' === $orderby ) {
Note: See TracChangeset for help on using the changeset viewer.