Ticket #1216: patch2.diff
File patch2.diff, 867 bytes (added by , 15 years ago) |
---|
-
akismet.php
100 100 101 101 function bb_ksd_configuration_page_add() 102 102 { 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' ); 104 104 } 105 105 add_action( 'bb_admin_menu_generator', 'bb_ksd_configuration_page_add' ); 106 106 … … 215 215 return; 216 216 } 217 217 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' ); 219 219 } 220 220 } 221 221 add_action( 'bb_admin_menu_generator', 'bb_ksd_stats_page' );