Changeset 5092 for branches/2.1/wp-includes/functions.php
- Timestamp:
- 03/23/2007 03:18:00 AM (19 years ago)
- File:
-
- 1 edited
-
branches/2.1/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/wp-includes/functions.php
r5057 r5092 567 567 $count = count( $post_id_array); 568 568 for ( $i = 0; $i < $count; $i++ ) { 569 $post_id = $post_id_array[ $i ];569 $post_id = (int) $post_id_array[ $i ]; 570 570 if ( isset( $category_cache[$blog_id][$post_id] ) ) { 571 571 unset( $post_id_array[ $i ] ); … … 621 621 $count = count( $post_id_array); 622 622 for ( $i = 0; $i < $count; $i++ ) { 623 $post_id = $post_id_array[ $i ];623 $post_id = (int) $post_id_array[ $i ]; 624 624 if ( isset( $post_meta_cache[$blog_id][$post_id] ) ) { // If the meta is already cached 625 625 unset( $post_id_array[ $i ] );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)