Commit b4ab3651 authored by Eric Windham's avatar Eric Windham Committed by KR Moorhouse

changed site_url to home_url to work for sites installed in sub-directories

parent 94f97dc1
......@@ -57,7 +57,7 @@ class NF_FormBlock {
wp_localize_script( 'ninja-forms-block', 'ninjaFormsBlock', array(
'forms' => $forms,
'siteUrl' => get_site_url(),
'siteUrl' => get_home_url(),
'block_logo' => $block_logo,
'thumbnail_logo' => $thumbnail_logo
) );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment