Make WordPress Core


Ignore:
Timestamp:
05/25/2023 12:53:24 PM (18 months 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-admin/includes/post.php

    r55758 r55857  
    10111011
    10121012    $keys = $wpdb->get_col(
    1013         "
    1014             SELECT meta_key
    1015             FROM $wpdb->postmeta
    1016             GROUP BY meta_key
    1017             ORDER BY meta_key"
     1013        "SELECT meta_key
     1014        FROM $wpdb->postmeta
     1015        GROUP BY meta_key
     1016        ORDER BY meta_key"
    10181017    );
    10191018
Note: See TracChangeset for help on using the changeset viewer.