Support » Fixing WordPress » Akismet available to all users

  • The page which allows me to delete spam comments etc is available to all registered users. This is a problem for obvious reasons. How do I make this option only available to a level 10 admin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • It looks like Askimet is using the old permission scale (1-10) instead of the new role system. I don’t think you can hook into that so you’ll have to change it manually.

    Change the 1 to 10 in the plugin file askimet.php

    Line 16 (Askimet config menu):
    add_submenu_page('plugins.php', __('Akismet Configuration'), __('Akismet Configuration'), 1, __FILE__, 'akismet_conf');

    Line 188 (Askimet spam count menu):
    add_management_page(__('Akismet Spam'), $count, 1, __FILE__, 'ksd_caught');

    There’s backwards compatiblity though with user levels. It has nothing to do with that.

    It’s just that they’ve set the user level to 1 (i.e. pretty much anyone) as to who can access that page. Why is beyond me. My guess though is that only high leveled users can actually do anything on that page though.

    Thanks a lot, changing the 1 to a 10 did the job. Thanks again 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Akismet available to all users’ is closed to new replies.