Skip to:
Content

bbPress.org

Ticket #1216: patch2.diff

File patch2.diff, 867 bytes (added by waclawjacek, 15 years ago)

Thanks to feedback from Nightgunner5, who has identified the above as true, I've created a second patch, straightening out the mix-up. :)

  • akismet.php

     
    100100
    101101function bb_ksd_configuration_page_add()
    102102{
    103         bb_admin_add_submenu( __( 'Akismet' ), 'moderate', 'bb_ksd_configuration_page', 'options-general.php' );
     103        bb_admin_add_submenu( __( 'Akismet' ), 'use_keys', 'bb_ksd_configuration_page', 'options-general.php' );
    104104}
    105105add_action( 'bb_admin_menu_generator', 'bb_ksd_configuration_page_add' );
    106106
     
    215215                return;
    216216        }
    217217        if ( function_exists( 'bb_admin_add_submenu' ) ) {
    218                 bb_admin_add_submenu( __( 'Akismet Stats' ), 'use_keys', 'bb_ksd_stats_display', 'index.php' );
     218                bb_admin_add_submenu( __( 'Akismet Stats' ), 'moderate', 'bb_ksd_stats_display', 'index.php' );
    219219        }
    220220}
    221221add_action( 'bb_admin_menu_generator', 'bb_ksd_stats_page' );