WordPress.org

Forums

WP-Hashcash Extended
Plugin using depreciated function (1 post)

  1. MickeyRoush
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Hashcash Extended
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.