• validated_field_v5.php: Found a bug with ACF 5.5.2.

    apply_filters( ‘acf/get_field_types’, array() );

    This no longer return fields name. So need to replace this with acf_get_grouped_field_types() located in render_field_settings function.

    Also need to update the dependency of ‘acf-validated-field-input’ in wp_register_script:

    Old: array( ‘acf-validated-field’ )
    New: array( ‘jquery’ )

    • This topic was modified 8 years, 3 months ago by Nidhi Jain.
Viewing 1 replies (of 1 total)
  • Thread Starter Nidhi Jain

    (@jainnidhi)

    input.js:39: Also acf.validation.status doesn’t exist. So it returns always false and prevents post to publish or update.

Viewing 1 replies (of 1 total)
  • The topic ‘Field Name Bug with ACF 5.5.2’ is closed to new replies.