Commit 17b17d6e authored by KR Moorhouse's avatar KR Moorhouse

Merge branch '3974-gutenblock-home-url' into 'develop'

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

Closes #3974

See merge request !3858
parents 94f97dc1 b4ab3651
Pipeline #2934 passed with stages
in 1 minute and 39 seconds
......@@ -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