Changeset 16819 for trunk/wp-includes/post.php
- Timestamp:
- 12/08/2010 09:17:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16818 r16819 4026 4026 4027 4027 // we're only concerned with published, non-hierarchical objects 4028 $ptype_obj = get_post_type_object( $post->post_type ); 4029 if ( $post->post_status != 'publish' || !$ptype_obj || $ptype_obj->hierarchical ) 4028 if ( $post->post_status != 'publish' || is_post_type_hierarchical( $post->post_type ) ) 4030 4029 return; 4031 4030
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)