Changeset 25244 for trunk/src/wp-includes/post.php
- Timestamp:
- 09/04/2013 08:55:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r25234 r25244 3736 3736 } 3737 3737 3738 if ( $parent >= 0 ) 3738 if ( is_array( $parent ) ) { 3739 $post_parent__in = implode( ',', array_map( 'absint', (array) $parent ) ); 3740 if ( ! empty( $post_parent__in ) ) 3741 $where .= " AND post_parent IN ($post_parent__in)"; 3742 } elseif ( $parent >= 0 ) { 3739 3743 $where .= $wpdb->prepare(' AND post_parent = %d ', $parent); 3744 } 3740 3745 3741 3746 if ( 1 == count( $post_status ) ) {
Note: See TracChangeset
for help on using the changeset viewer.