WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/10/2010 11:54:33 AM (9 years ago)
Author:
nacin
Message:

Quick edit taxonomy label. props scribu, keighl, fixes #12796

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r14053 r14054  
    675675    if ( is_string($post) && $is_post_type = get_post_type_object($post) )
    676676        return $is_post_type->hierarchical;
    677    
     677
    678678    $ptype = get_post( $post );
    679679    if ( $ptype && $is_post_type = get_post_type_object($ptype->post_type) )
    680680        return $is_post_type->hierarchical;
    681        
     681
    682682    return false;
    683683}
Note: See TracChangeset for help on using the changeset viewer.