We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ea615 commit 62b181bCopy full SHA for 62b181b
inc/taxonomies.php
@@ -1155,7 +1155,7 @@ function cptui_manage_taxonomies() {
1155
],
1156
1157
];
1158
- $selected = isset( $current ) ? disp_boolean( $current['sort'] ) : '';
+ $selected = ( isset( $current ) && ! empty( $current['sort'] ) ) ? disp_boolean( $current['sort'] ) : '';
1159
$select['selected'] = ! empty( $selected ) ? $current['sort'] : '';
1160
echo $ui->get_select_input( [
1161
'namearray' => 'cpt_custom_tax',
0 commit comments