The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

has wpmu_new_user been replaced (3 posts)

  1. Terranb
    Posted 6 years ago #


    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:

    Plugin Name: WPMU Enable bbPress Capabilities
    Version: 0.1
    Plugin URI: http://www.michaeleagan.com/plugins/wpmu-enable-bbpress-capabilities/
    Author: Michael Eagan
    Author URI: http://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));
    add_action('wpmu_new_user', 'enable_bbpress_forum_capabilities');
  2. Best bet woudl be to check trac.


  3. Terranb
    Posted 6 years ago #

    Thanks Andrea.

    I found this http://core.trac.wordpress.org/ticket/13088 which I think is the reason. I'm a little confused though.

    Maybe I need to replace update_usermeta($user_id, 'bb_capabilities', array('member' => true)); with update_user_meta($user_id, 'bb_capabilities', array('member' => true));?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.