Skip to content

Bulk user generation always assigns “Subscriber” role regardless of selected role #216

Closed

Description

@faisalahammad

Issue details

When generating users in bulk with FakerPress, the generated users are always assigned the Subscriber role, regardless of the role selected during bulk user creation.

Changing the default new user role from WordPress Dashboard > Settings > General also does not change the result. Generated users still receive the Subscriber role.

Expected behavior:

  • FakerPress should assign the selected role to generated users.
  • If a specific role is selected during bulk user creation, generated users should use that selected role.

Actual behavior:

  • Generated users are always created with the Subscriber role.

Steps to reproduce

  1. Go to WordPress Dashboard > FakerPress > Users.
  2. Select any user role other than Subscriber.
  3. Generate users in bulk.
  4. Go to WordPress Dashboard > Users.
  5. Check the roles of the generated users.
  6. Notice that all generated users are assigned the Subscriber role.

Optional check:

  1. Go to WordPress Dashboard > Settings > General.
  2. Change the New User Default Role to another role.
  3. Generate users again with FakerPress.
  4. Check the generated users’ roles.
  5. Notice that the users are still assigned the Subscriber role.

Workaround

No workaround found yet.

Screen recording

FakerPress.user.role.issue.mov

Activity

  1. added this to the 0.9.2 milestone on Jul 15, 2026
  2. added a commit that references this issue on Jul 16, 2026
    5bda9bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions