• Resolved Al

    (@asierrajr)


    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 the category taxonomy slug.

    Are you able to replicate this behavior?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Al

    (@asierrajr)

    Forgot to mention.

    I am using WordPress 5.3 and plugin version 1.9.5 ( I also tried on version 1.9 )

    Plugin Author jeffrey-wp

    (@jeffrey-wp)

    Thank you for reporting the issue. We have fixed it in version 1.9.6 (now available as an update).

    Thread Starter Al

    (@asierrajr)

    Thanks for the quick response and fix.
    Tested 1.9.6 and it works now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Taxonomy Checkbox on Media Modal’ is closed to new replies.