From f6e054f89220ad4eb47a2377cad33aff8a88c71c Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 10 Apr 2010 11:54:33 +0000 Subject: [PATCH] Quick edit taxonomy label. props scribu, keighl, fixes #12796 git-svn-id: https://develop.svn.wordpress.org/trunk@14054 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- wp-includes/post.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 3036e5cf70..97d21a2a00 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -63,7 +63,7 @@ function inline_edit_term_row($type, $taxonomy) {

- + singular_label ); ?> diff --git a/wp-includes/post.php b/wp-includes/post.php index b26d038186..50647f5a8d 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -674,11 +674,11 @@ function get_post_stati( $args = array(), $output = 'names', $operator = 'or' ) function is_post_type_hierarchical( $post = false ) { if ( is_string($post) && $is_post_type = get_post_type_object($post) ) return $is_post_type->hierarchical; - + $ptype = get_post( $post ); if ( $ptype && $is_post_type = get_post_type_object($ptype->post_type) ) return $is_post_type->hierarchical; - + return false; }