Changeset 15852
- Timestamp:
- 10/19/2010 05:08:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r15844 r15852 1206 1206 if ( empty( $r['post_status'] ) ) 1207 1207 $r['post_status'] = ( 'attachment' == $r['post_type'] ) ? 'inherit' : 'publish'; 1208 if ( ! empty($r['numberposts']) )1208 if ( ! empty($r['numberposts']) && empty($r['posts_per_page']) ) 1209 1209 $r['posts_per_page'] = $r['numberposts']; 1210 1210 if ( ! empty($r['category']) )
Note: See TracChangeset
for help on using the changeset viewer.