Changeset 7892 for trunk/wp-includes/post.php
- Timestamp:
- 05/05/2008 03:46:32 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r7880 r7892 409 409 'exclude' => '', 'meta_key' => '', 410 410 'meta_value' =>'', 'post_type' => 'post', 411 'post_ status' => 'publish', 'post_parent' => 0411 'post_parent' => 0 412 412 ); 413 413 414 414 $r = wp_parse_args( $args, $defaults ); 415 if ( empty( $r['post_status'] ) ) 416 $r['post_status'] = ( 'attachment' == $r['post_type'] ) ? 'inherit' : 'publish'; 415 417 if ( ! empty($r['numberposts']) ) 416 418 $r['posts_per_page'] = $r['numberposts'];
Note: See TracChangeset
for help on using the changeset viewer.