Support » Plugin: Audio Player » Good plugin. One bug.

  • Just updated wordpress and the plugin.
    there is one bug if your website using https connection.
    in line 127-129 of audio-player.php

    if ($_SERVER["HTTPS"] == "on" || $_SERVER["SERVER_PORT_SECURE"] == "1") {
    				$this->pluginURL = str_replace("http", "https", $this->pluginURL);

    the pluginURL ends up being httpss… which breaks the whole plugin if you are using ssl.

    to fix that just comment out the middle line like this
    // $this->pluginURL = str_replace("http", "https", $this->pluginURL);

  • The topic ‘Good plugin. One bug.’ is closed to new replies.