Skip to:
Content

bbPress.org

Changeset 3352


Ignore:
Timestamp:
06/27/2011 11:30:30 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Remove is_super_admin checks from edit topic/reply link functions. Fixes #1566.

Location:
branches/plugin/bbp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-reply-template.php

    r3344 r3352  
    13641364
    13651365        // Bypass check if user has caps
    1366         if ( !is_super_admin() || !current_user_can( 'edit_others_replies' ) ) {
     1366        if ( !current_user_can( 'edit_others_replies' ) ) {
    13671367
    13681368            // User cannot edit or it is past the lock time
  • branches/plugin/bbp-includes/bbp-topic-template.php

    r3349 r3352  
    19811981
    19821982        // Bypass check if user has caps
    1983         if ( !is_super_admin() || !current_user_can( 'edit_others_topics' ) ) {
     1983        if ( !current_user_can( 'edit_others_topics' ) ) {
    19841984
    19851985            // User cannot edit or it is past the lock time
Note: See TracChangeset for help on using the changeset viewer.