Changeset 14122 for trunk/wp-includes/post.php
- Timestamp:
- 04/17/2010 10:30:46 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14117 r14122 120 120 register_post_status( 'inherit', array( 'label' => _x('Inherit', 'post'), 121 121 'internal' => true, 122 'exclude_from_search' => false, 122 123 '_builtin' => true, /* internal use only. */ 123 124 'label_count' => _n_noop('Inherit <span class="count">(%s)</span>', 'Inherit <span class="count">(%s)</span>') … … 1008 1009 $r['cat'] = $r['category']; 1009 1010 if ( ! empty($r['include']) ) { 1010 $incposts = preg_split('/[\s,]+/', $r['include']);1011 $incposts = preg_split('/[\s,]+/', $r['include']); 1011 1012 $r['posts_per_page'] = count($incposts); // only the number of posts included 1012 1013 $r['post__in'] = $incposts;
Note: See TracChangeset
for help on using the changeset viewer.