Support » Plugins and Hacks » Hana Flv Player » [Resolved] has_cap warning

[Resolved] has_cap warning

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author HanaDaddy


    I will fix this issue soon, but this error is supposed to show when WP_DEBUG is true

    define('WP_DEBUG', true);

    anyway, you can replace the ‘add_options_page’ line in hana-flv-player.php with these codes to fix it right away.

    global $wp_version;
    if ( $wp_version < 2 ) $capability=8; else $capability='manage_options';
    add_options_page($this->admin_setting_title,$this->admin_setting_menu, $capability, __FILE__,array(&$this,'hana_flv_options_page'));
    Plugin Author HanaDaddy


    It’s resoved in v 3.1.0 . Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] has_cap warning’ is closed to new replies.
Skip to toolbar