Changeset 22230
- Timestamp:
- 10/15/2012 03:08:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r22189 r22230 456 456 457 457 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 ) ); 461 459 462 460 if ( ! $_post )
Note: See TracChangeset
for help on using the changeset viewer.