Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Radio button instead of checkbox

$
0
0

Replies: 0

Hi,
one of the last changes in the source code made my taxonomy wrongly appears as radio button instead of checkbox, even though i registered the taxonomy with single_value => false.

The current code is:
$input_type = (isset($taxonomy->single_value)) ? 'radio' : 'checkbox' ;

If I change the code as it were in the previous version, the checkboxes return in user pages:
$input_type = ($taxonomy->single_value) ? 'radio' : 'checkbox' ;

Is it a bug or am I doing something wrong?

Thank in advance.


Viewing all articles
Browse latest Browse all 59525

Trending Articles