Title: Good plugin. One bug.
Last modified: September 2, 2016

---

# Good plugin. One bug.

 *  [karbanovich](https://wordpress.org/support/users/karbanovich/)
 * (@karbanovich)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/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.

 * ![](https://s.w.org/plugins/geopattern-icon/audio-player.svg)
 * [Audio Player](https://wordpress.org/plugins/audio-player/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/audio-player/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/audio-player/)
 * [Active Topics](https://wordpress.org/support/plugin/audio-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/audio-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/audio-player/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [karbanovich](https://wordpress.org/support/users/karbanovich/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/good-plugin-one-bug/)