Taxonomy Checkbox on Media Modal
-
I am evaluating the plugin and ran into an issue with the taxonomy checkbox within the media modal that allows you to select a category for a given media asset.
The issue is only when using a custom taxonomy and this feature does work when using the default wordpress taxonomy
category
I created a custom taxonomy and added a category called
test
Everything outputs correctly on the checkbox list.
Upon selecting a checkbox, this triggers an ajax request to save the attachment. The code in the plugin checks to see if the request has
$_REQUEST['tax_input'][ $taxonomy ]
where$taxonomy
equals the custom taxonomy slug.The issue appears that the js handler that triggers the ajax request is sending the post form data for the category as
tax_input[category][test]: test
, meaning that the check in the plugin code will return false since the tax_input is being sent as if it belonged to thecategory
taxonomy slug.Are you able to replicate this behavior?
Thanks
- The topic ‘Taxonomy Checkbox on Media Modal’ is closed to new replies.