WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Google Analytics for WordPress] Adding HTTPS support

[Plugin: Google Analytics for WordPress] Adding HTTPS support

  • HI. I am writing a plugin which will allow you to use wordpress on either http or https.

    I am using your plugin in my site and have found that it does not properly use the siteurl on lines 346 and 366. I have replaced your global $pluginpath with a function which is then called on these lines:

    function pluginPath() {
         $path = str_replace(str_replace('\\', '/', ABSPATH), get_settings('siteurl').'/', str_replace('\\', '/', dirname(__FILE__))).'/';
         return $path;
    }

    Could you please update the plugin so that these changes are persisted.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Google Analytics for WordPress] Adding HTTPS support’ is closed to new replies.
Skip to toolbar