Support » Plugins and Hacks » [Plugin: Audio Player] Small bug fix for AudioPlayer 2.0.4.1

  • There’s a minor bug on line 176 of audio-player.php

    $pageName = add_options_page("Audio player options", "Audio Player", 8, $this->optionsPageName, array(&$this, "outputOptionsSubpanel"));

    should be

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

    The existing code generates the following notice: Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

  • The topic ‘[Plugin: Audio Player] Small bug fix for AudioPlayer 2.0.4.1’ is closed to new replies.