Changeset 31829 for trunk/src/wp-includes/post.php
- Timestamp:
- 03/19/2015 03:55:39 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r31789 r31829 4600 4600 4601 4601 if ( 1 == count( $post_status ) ) { 4602 $where_post_type = $wpdb->prepare( "post_type = %s AND post_status = %s", $r['post_type'], array_shift( $post_status ) );4602 $where_post_type = $wpdb->prepare( "post_type = %s AND post_status = %s", $r['post_type'], reset( $post_status ) ); 4603 4603 } else { 4604 4604 $post_status = implode( "', '", $post_status );
Note: See TracChangeset
for help on using the changeset viewer.