Pretty straight forward. In the conversational forms addon, in the class-gf-conversational-forms.php, line 188, the following code exists:
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || isset( $_GET['gform_debug'] ) ? '' : '.min';
Meaning that if SCRIPT_DEBUG
is defined and true, or gform_debug
is true, then $min is ‘’. If debug isn’t true, then it’s .min
.
Then, you have the return array
return array(
array(
'gform_conversational_scripts_theme',
$base_url . "assets/js/dist/scripts-theme{$min}.js",
),
array(
'gform_conversational_vendor_theme',
$base_url . "assets/js/dist/vendor-theme{$min}.js",
),
);
I have script debug enabled, therefore, the filt it’s trying to output is scripts-theme.js
. This file doesn’t exist in the latest 1.4 version of the addon.
Can you please add it?