WordPress.org

Ready to get started?Download WordPress

Forums

FV WordPress Flowplayer
[resolved] Notice: has_cap (1 post)

  1. ray
    Member
    Posted 3 years ago #

    plugins/fv-wordpress-flowplayer/controller/backend.php line 110

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    Change:

    add_options_page(
    		'FV WordPress Flowplayer',
    		'FV WordPress Flowplayer',
    		8,
    		basename(__FILE__),
    		'flowplayer_page'
    		);

    To:

    add_options_page(
    		'FV WordPress Flowplayer',
    		'FV WordPress Flowplayer',
    		'Administrator',
    		basename(__FILE__),
    		'flowplayer_page'
    		);

    to correct it.

    thanks
    Ray
    http://twentyfiveautumn.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic