Make WordPress Core

Changeset 22230


Ignore:
Timestamp:
10/15/2012 03:08:43 AM (12 years ago)
Author:
nacin
Message:

Remove whitespace from around the WP_Post/get_post SQL string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r22189 r22230  
    456456
    457457        if ( ! $_post = wp_cache_get( $post_id, 'posts' ) ) {
    458             $_post = $wpdb->get_row( $wpdb->prepare( "
    459                 SELECT * FROM $wpdb->posts WHERE ID = %d LIMIT 1
    460             ", $post_id ) );
     458            $_post = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE ID = %d LIMIT 1", $post_id ) );
    461459
    462460            if ( ! $_post )
Note: See TracChangeset for help on using the changeset viewer.