Support

Account

Home Forums ACF PRO ACF 5 PRO Wonky Admin Styles Reply To: ACF 5 PRO Wonky Admin Styles

  • So playing around with ‘advanced-custom-fields-pro/acf.php’ I noticed dir is plugin_dir_url which makes ‘wp-content/plugins/’

    Looking in ACF4 ‘advanced-custom-fields-pro/acf.php’ I see the function helpers_get_dir( $file ) which locates the proper directory and fixes win issues.

    Adding function helpers_get_dir() to ‘advanced-custom-fields-pro/acf.php’ and replacing:

    ‘dir’ => plugin_dir_url( __FILE__ ),
    with
    ‘dir’ => helpers_get_dir(__FILE__ ),

    Appears to fix the situation.

    Obviously, this isn’t a proper fix. Just a direction to the issue.

    -WilliamH