Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inc/classes/admin/settings/listedit.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ public function output_column_contents_for_term( $string, $column_name, $term_id

$memo['tax_object'] ??= \get_taxonomy( $taxonomy );
$memo['permastruct'] ??= Meta\URI\Utils::get_url_permastruct( $generator_args );
$memo['is_taxonomy_hierarchical'] ??= $memo['tax_object']->hierarchical && $memo['tax_object']->rewrite['hierarchical'];
$memo['is_taxonomy_hierarchical'] ??= $memo['tax_object']?->hierarchical && is_array( $memo['tax_object']->rewrite ) && $memo['tax_object']->rewrite['hierarchical'];
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The null-safe operator is PHP 8.0+ — TSF still supports 7.4, and roughly 8% of active users are still on that version (data obtained via Troy).


$permastruct = $memo['permastruct'];

Expand Down