Skip to:
Content

bbPress.org

Opened 12 years ago

Closed 12 years ago

#1216 closed defect (bug) (fixed)

Akismet statitics page bug

Reported by: hpguru Owned by: chrishajer
Milestone: 1.0.3 Priority: normal
Severity: normal Version: 1.0.2
Component: General - Administration Keywords: akismet has-patch
Cc:

Description

Akismet options page says show "This page is displayed moderators, or greater, in their capacity as the user level.". Moderators can see bar Akismet stats in admin, but they were directed to the Forum homepage. Administrator has access to that normally.

Attachments (2)

patch.diff (506 bytes) - added by waclawjacek 12 years ago.
Patch for the related issue. Replaces "use_keys" privilege requirement with "moderate".
patch2.diff (867 bytes) - added by waclawjacek 12 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. :)

Download all attachments as: .zip

Change History (7)

@waclawjacek
12 years ago

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

#1 @waclawjacek
12 years ago

I've also noticed there's a

function bb_ksd_configuration_page_add()
{
	bb_admin_add_submenu( __( 'Akismet' ), 'moderate', 'bb_ksd_configuration_page', 'options-general.php' );
}

part in the code. Shouldn't this part be "use_keys" instead of moderate? If so, I think we had a little mix-up here. :)

@waclawjacek
12 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. :)

#2 @Gautam Gupta
12 years ago

  • Keywords akismet has-patch added; Akismet removed

#3 @chrishajer
12 years ago

  • Owner set to chrishajer

Should I apply only patch2.diff or are both required, in order?

#4 @waclawjacek
12 years ago

patch2.diff only. :)

#5 @chrishajer
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2407]) Fix code to allow moderator access to existing Akismet stats menu item. Fixes #1216, props waclawjacek, hpguru, Nightgunner5

Note: See TracTickets for help on using tickets.