WordPress plugin intelligence profile

DFX Random User IDs

This WordPress plugin randomizes the user_id for the user created on WordPress setup, removing one potential attack factor from the site.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version20260601
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 4.9 · PHP 7.4
Directory statusactive
Last directory update1 Jun 20265mo ago
Active installations200Adoption metric — not a quality score
WordPress.org rating4.0 / 5 from 5 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records DFX Random User IDs version 20260601 as active, updated 5mo ago and tested up to WordPress 7.0.

Overview

About this plugin

This WordPress plugin randomizes the user_id for the user created on WordPress setup, removing one potential attack factor from the site.

How it works

Once activated, the plugin will immediately replace the ID for the default admin user (with user ID 1). By default, the plugin will use random user IDs between 1 and 4503599627370495 (to ensure compatibility with Javascript code using the user ID).

All newly created users from that moment will be generated with a random user ID in the defined range.

How to customize the range for new user IDs

You can customize the range used by the plugin for the random generated user IDs by using the WordPress filters dfx_random_user_id_max_id and dfx_random_user_id_min_id.

php file:

function set_dfx_max_user_id( $default_max_id ) { return 9999; } add_filter( 'dfx_random_user_id_max_id', 'set_dfx_max_user_id' );

function set_dfx_min_user_id( $default_max_id ) { return 1000; } add_filter( 'dfx_random_user_id_min_id', 'set_dfx_min_user_id' );

Probably, you’ll want to add these lines to your code before activating the plugin, so your new random main admin user ID is inside your desired range.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • user ids
  • security
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 4.9 · PHP 7.4
Update activity1 Jun 20265mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.