diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index e7aa1c126f..ecdb9fa485 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -427,12 +427,16 @@ function post_tags_meta_box( $post, $box ) { $taxonomy = get_taxonomy( $r['taxonomy'] ); $user_can_assign_terms = current_user_can( $taxonomy->cap->assign_terms ); $comma = _x( ',', 'tag delimiter' ); + $terms_to_edit = get_terms_to_edit( $post->ID, $tax_name ); + if ( ! is_string( $terms_to_edit ) ) { + $terms_to_edit = ''; + } ?>