Changeset 5087 for trunk/wp-includes/functions.php
- Timestamp:
- 03/23/2007 12:59:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5056 r5087 647 647 $count = count( $post_id_array); 648 648 for ( $i = 0; $i < $count; $i++ ) { 649 $post_id = $post_id_array[ $i ];649 $post_id = (int) $post_id_array[ $i ]; 650 650 if ( isset( $category_cache[$blog_id][$post_id] ) ) { 651 651 unset( $post_id_array[ $i ] ); … … 701 701 $count = count( $post_id_array); 702 702 for ( $i = 0; $i < $count; $i++ ) { 703 $post_id = $post_id_array[ $i ];703 $post_id = (int) $post_id_array[ $i ]; 704 704 if ( isset( $post_meta_cache[$blog_id][$post_id] ) ) { // If the meta is already cached 705 705 unset( $post_id_array[ $i ] );
Note: See TracChangeset
for help on using the changeset viewer.