WordPress.org

Ready to get started?Download WordPress

Forums

Audio Player
Fixed a few notices. (1 post)

  1. Matthew Horne
    Member
    Posted 1 year ago #

    Hi, was working on a site and as I always have debug on for each new site I found a few bugs for the plugin.

    First one is line 127 for the main file audio-player/audio-player.php

    if ($_SERVER["HTTPS"] == "on" || $_SERVER["SERVER_PORT_SECURE"] == "1")

    should be

    if ( isset( $_SERVER["HTTPS"] ) && strtolower( $_SERVER["HTTPS"] ) == "1")

    and the second on is deprecated function.

    When adding an options page it a numerical value is no longer valid.

    line 182

    add_options_page('Audio player options', 'Audio Player', 'manage_options', $this->optionsPageName, array(&$this, "outputOptionsSubpanel"));

    the change is in bold.

    other than those two things, everything is good.

    Regards

    http://wordpress.org/extend/plugins/audio-player/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic