Support » Plugin: WP-Hashcash Extended » Plugin using depreciated function

  • 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.)

    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');


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

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