Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/15/2013 05:39:17 PM (13 years ago)
Author:
johnjamesjacoby
Message:

When activating bbPress, conditionally make the current user a Key Master, but only if they can already activate plugins, they are already a member of the current site, and they're not already a Key Master. Fixes activation issues some users experienced with old global access settings being turned off, preventing them from seeing bbPress configuration screens. (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/admin/actions.php

    r4390 r4910  
    6464
    6565// Activation
    66 add_action( 'bbp_activation', 'bbp_delete_rewrite_rules'    );
     66add_action( 'bbp_activation', 'bbp_delete_rewrite_rules'        );
     67add_action( 'bbp_activation', 'bbp_make_current_user_keymaster' );
    6768
    6869// Deactivation
Note: See TracChangeset for help on using the changeset viewer.