Changeset 14054 for trunk/wp-includes/post.php
- Timestamp:
- 04/10/2010 11:54:33 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14053 r14054 675 675 if ( is_string($post) && $is_post_type = get_post_type_object($post) ) 676 676 return $is_post_type->hierarchical; 677 677 678 678 $ptype = get_post( $post ); 679 679 if ( $ptype && $is_post_type = get_post_type_object($ptype->post_type) ) 680 680 return $is_post_type->hierarchical; 681 681 682 682 return false; 683 683 }
Note: See TracChangeset
for help on using the changeset viewer.