diff --git a/wp-admin/includes/class-walker-nav-menu-edit.php b/wp-admin/includes/class-walker-nav-menu-edit.php index fd5ea85219..39835e091c 100644 --- a/wp-admin/includes/class-walker-nav-menu-edit.php +++ b/wp-admin/includes/class-walker-nav-menu-edit.php @@ -74,7 +74,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu { if ( 'taxonomy' === $item->type ) { $original_object = get_term( (int) $item->object_id, $item->object ); - if ( $original_object && ! is_wp_error( $original_title ) ) { + if ( $original_object && ! is_wp_error( $original_object ) ) { $original_title = $original_object->name; } } elseif ( 'post_type' === $item->type ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 69150bad5d..f703059a36 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48075'; +$wp_version = '5.5-alpha-48076'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.