Skip to:
Content

bbPress.org

Ticket #1216: patch.diff

File patch.diff, 506 bytes (added by waclawjacek, 15 years ago)

Patch for the related issue. Replaces "use_keys" privilege requirement with "moderate".

  • akismet.php

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