Site URL is incorrect – should use get_home_url function
-
Hi guys,
Great plugin! However I’ve noticed that the “url” you’re setting in the blog schema is not right.
You are using
get_site_url
function but the correct one to use isget_home_url
because the latter retrieves the URL for a given site where the front end is accessible.I’ve fixed this in file
includes/json/blog.php
line 94.Please check wordpress docs:
– get_site_url: https://developer.www.ads-software.com/reference/functions/get_site_url/
– get_home_url: https://developer.www.ads-software.com/reference/functions/get_home_url/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Site URL is incorrect – should use get_home_url function’ is closed to new replies.