Taxonomy_Single_Term
Taxonomy_Single_Term copied to clipboard
Does not work on Quick Edit screen
Terms are displayed as checkboxes instead of radios when using Quick Edit.
However, radios are correctly displayed when using Bulk Edit.
Fix: https://github.com/WebDevStudios/Taxonomy_Single_Term/pull/17
Change line: 438 in class.taxonomy.single-term.php to:
var $editRow = $this.parents( 'tr' ).next().next();
Works for me in WordPress 4.61
I have 2 issues with this code No.1 The fix doesn't work in WordPress 5.5.1 as it throws an error Parse error: syntax error, unexpected 'var' (T_VAR) in S:\xampp\htdocs\wp-content\plugins\webt\lib\classes\class-taxonomy-single-term.php on line 438 How do I fix this?
No.2
Without the fix it works fine when I use the quick edit but when I use the Bulk actions -> Edit it removes the taxonomy from all the post selected leaving them without any term (empty)
