wp_terms_checklist() outputting input … disabled
-
A page using wp_terms_checklist() was working fine earlier today, and then I went back to it and all the checkboxes are disabled.
What happened? How do I fix it?
Sample code for the page is:
$clist = wp_terms_checklist(0,array('descendants_and_self'=>5,'echo'=>0)); echo str_replace('post_category[]" id="in-category-', '', $clist);
I tried it with just wp_terms_checklist(0,array(‘descendants_and_self’=>5)); and got the same result:
<li id='category-218'><label class="selectit"><input value="218" type="checkbox" name="post_category[]" id="in-category-218" disabled='disabled' /> Egypt</label></li>
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_terms_checklist() outputting input … disabled’ is closed to new replies.