WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Audio Player] Small bug fix for AudioPlayer 2.0.4.1 (1 post)

  1. Mark Barnes
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic