• Resolved ticrea

    (@ticrea)


    The field no longer loads terms if the “Use AJAX for lazy loading of choices?” option is enabled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    In fact, I was able to reproduce the bug. The issue come from the latest ACF 6.3.10 version which added some additional nonce check for fields ajax requests.

    The latest ACF Extended 0.9.0.8 patch added compatibility fixes regarding this, but the ACFE Taxonomy Terms field wasn’t fixed. It is an oversight. I’m adding a fix in the next patch.

    In the meantime, you can fix the issue by adding the following code in your theme’s functions.php file:

    // ACFE 0.9.0.8: Fix taxonomy terms ajax nonce wih ACF 6.3.10
    add_filter('acf/prepare_field/type=acfe_taxonomy_terms', 'acfe_fix_taxonomy_terms_ajax_nonce');
    function acfe_fix_taxonomy_terms_ajax_nonce($field){

    if($field['ui'] && $field['ajax']){
    $field['nonce'] = wp_create_nonce($field['key']);
    }

    return $field;

    }

    Thanks again for the report, and sorry for the inconvenience.

    Regards.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Just a heads up to let you know the latest ACF Extended 0.9.0.9 update fixed this issue.

    Please update your plugin, and also make sure to remove the previous hotfix code I shared from your theme’s functions.php file.

    Have a nice day!

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.