| @@ -317,8 +317,9 @@ | ||
| 317 | 317 | 'configs' => ['bf_separator' => BITFORMS_BF_SEPARATOR], |
| 318 | 318 | 'nonce' => wp_create_nonce('bitforms_save'), |
| 319 | 319 | 'isPro' => false, |
| 320 | 320 | 'siteURL' => site_url(), |
| 321 | + 'rootURL' => BITFORMS_ROOT_URI, | |
| 321 | 322 | 'assetsURL' => BITFORMS_ASSET_URI, |
| 322 | 323 | 'baseURL' => $base_path_admin . 'admin.php?page=bitform#', |
| 323 | 324 | 'baseDLURL' => $baseDLURL, |
| 324 | 325 | 'styleURL' => BITFORMS_UPLOAD_BASE_URL . '/form-styles', |
| @@ -370,9 +371,9 @@ | ||
| 370 | 371 | 'bitforms_localized_script', |
| 371 | 372 | $bits |
| 372 | 373 | ); |
| 373 | 374 | |
| 374 | - $allowBitFormTranslation = apply_filters('bitforms_filter_allow_translation', true); | |
| 375 | + $allowBitFormTranslation = apply_filters('bitform_filter_allow_translation', true); | |
| 375 | 376 | if ($allowBitFormTranslation && 'en_US' !== get_user_locale() && file_exists(BITFORMS_PLUGIN_DIR_PATH . '/languages/generatedString.php')) { |
| 376 | 377 | include_once BITFORMS_PLUGIN_DIR_PATH . '/languages/generatedString.php'; |
| 377 | 378 | $bitforms['translations'] = $bitforms_i18n_strings; |
| 378 | 379 | |