WordPress.org

Ready to get started?Download WordPress

Forums

New Blog Defaults
add user with default role / no overide (1 post)

  1. Tom_
    Member
    Posted 3 years ago #

    Just to say I added the "if" condition at line 172

    if (!is_blog_user($options['add_user_to_blog_id']) ) {
    add_user_to_blog($options['add_user_to_blog_id'],
    user_id, $options['add_user_to_blog_role'] );
    }
    and the same at line 190.
    to avoid role to be overide in case user has higher role level

    http://wordpress.org/extend/plugins/wpmu-new-blog-defaults/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic