WordPress.org

Support

Support » Plugins and Hacks » WP-Hashcash Extended » Plugin using depreciated function

Plugin using depreciated function

  • MickeyRoush

    @mickeyroush

    This plugin is using the depreciated function is_site_admin

    Need to use is_admin or is_super_admin for multi-site. (You can just use is_super_admin as it will default to is_admin if network mode is disabled.)
    http://codex.wordpress.org/WPMU_Functions/is_site_admin

    Also the only difference between this version and the original version is the change on line 151 which you can do for yourself in the original version.

    add_submenu_page('wpmu-admin.php', __('WordPress Hashcash'), __('WordPress Hashcash'), 'manage_options', 'wphc_admin', 'wphc_admin_options');

    to:

    add_submenu_page('options-general.php', __('WordPress Hashcash'), __('WordPress Hashcash'), 'manage_options', 'wphc_admin', 'wphc_admin_options');

    http://wordpress.org/extend/plugins/wp-hashcash-extended/

  • The topic ‘Plugin using depreciated function’ is closed to new replies.
Skip to toolbar