WordPress.org

Ready to get started?Download WordPress

Forums

WP-Hashcash
Please update this plugin (6 posts)

  1. LeisureLarry
    Member
    Posted 7 months ago #

    The options page is missing. As stirlyn posted three years ago, you have to change all the occurences of is_site_admin to is_super_admin.

    http://codex.wordpress.org/WPMU_Functions/is_site_admin

    Then on line 172 where it lists:

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

    You have to change 'wpmu-admin.php' to 'options-general.php'.

    This is for WordPress 3.x.

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

  2. Abdussamad Abdurrazzaq
    Member
    Posted 7 months ago #

    Hi can you explain the significance of that wpmu-admin.php change? There is actually a forked version of this plugin with that change you mention:

    http://wordpress.org/support/plugin/wp-hashcash-extended

    But I don't see what difference it makes? I am using wp multisite and this version (non-extended) with wpmu-admin.php works fine for me.

  3. LeisureLarry
    Member
    Posted 7 months ago #

    Hi Abdussamad,

    thanks for mentioning the fork.

    This extended version already has the fixed version of add_submenu_page() in line 151.

    http://wordpress.org/support/topic/plugin-using-depreciated-function

    But it's still using the deprecated is_site_admin.

    Greats from Germany
    LeisureLarry

  4. Abdussamad Abdurrazzaq
    Member
    Posted 7 months ago #

    Have you looked under the tools menu? I see an options page entry for WP hashcash there.

  5. LeisureLarry
    Member
    Posted 7 months ago #

    Is the options page always under the tools menu with and without WPMU?

  6. Abdussamad Abdurrazzaq
    Member
    Posted 7 months ago #

    Is the options page always under the tools menu with and without WPMU?

    Of course not. The point is that it is there. This plugin hasn't been updated in 2+ years and it still works! Despite that scary yellow warning box it still works.

Reply

You must log in to post.

About this Plugin

About this Topic