diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php index 7778d8862c..df8419b22f 100644 --- a/wp-admin/includes/class-wp-terms-list-table.php +++ b/wp-admin/includes/class-wp-terms-list-table.php @@ -323,7 +323,7 @@ class WP_Terms_List_Table extends WP_List_Table { * @since 3.1.0 */ function inline_edit() { - global $tax; + global $post_type, $tax; if ( ! current_user_can( $tax->cap->edit_terms ) ) return; @@ -369,6 +369,7 @@ class WP_Terms_List_Table extends WP_List_Table { +