Recursive sub_fields fix
-
The
acfe_bidirectional_setting_find_related()
function inincludes/field-settings/bidectional.php
is returning early in the sub_fields loop.Moving the return after the loop will check all sub_fields:
// Recursive search for sub_fields (groups & clones) if(isset($r_field['sub_fields']) && !empty($r_field['sub_fields'])){ foreach($r_field['sub_fields'] as $r_sub_field){ // Recursive call, populates $choices acfe_bidirectional_setting_find_related($r_sub_field, $r_field_group, $choices); } return; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Recursive sub_fields fix’ is closed to new replies.