Changeset 8966 for trunk/wp-includes/post.php
- Timestamp:
- 09/24/2008 05:28:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r8920 r8966 226 226 $post = (int) $post; 227 227 if ( ! $_post = wp_cache_get($post, 'posts') ) { 228 $_post = &$wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->posts WHERE ID = %d LIMIT 1", $post));228 $_post = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->posts WHERE ID = %d LIMIT 1", $post)); 229 229 if ( ! $_post ) 230 230 return $null;
Note: See TracChangeset
for help on using the changeset viewer.