has wpmu_new_user been replaced
-
Hi,
I’m using a plugin that makes use of that hook to give new WPMU registrations a permission in bbpress. This had been working on a WP 3.0 MU install of about two weeks ago. After updating yesterday it’s not working. Is there any chance that
wpmu_new_user
has been changed to something else?Here’s the full code of the plugin which is installed in mu-plugins:
<?php /* Plugin Name: WPMU Enable bbPress Capabilities Version: 0.1 Plugin URI: https://www.michaeleagan.com/plugins/wpmu-enable-bbpress-capabilities/ Author: Michael Eagan Author URI: https://www.michaeleagan.com/ Description: Enables bbPress member capabilities when a user is created within WPMU. This allows immediate login as a 'member' after a user is created in WPMU. */ function enable_bbpress_forum_capabilities( $user_id ) { update_usermeta($user_id, 'bb_capabilities', array('member' => true)); return; } add_action('wpmu_new_user', 'enable_bbpress_forum_capabilities'); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘has wpmu_new_user been replaced’ is closed to new replies.