Plugin will not work on all sites
-
There is an issue with the plugin that will result in it not working on some sites. The issue showed up on a multisite network where each site has different domains. Specifically the issue seems to be the get_current_url() method and the usage of
$_SERVER['SERVER_NAME'].$_SERVER['SERVER_NAME']is in this case the main multisite site domain, and not the current site domain. Changing$_SERVER['SERVER_NAME']to$_SERVER['HTTP_HOST']solves the issue in this case. Is this something that can be fixed in a new version?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Plugin will not work on all sites’ is closed to new replies.