• Resolved ray

    (@evil-genius)


    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
    https://twentyfiveautumn.com

  • The topic ‘Notice: has_cap’ is closed to new replies.