Hardcoded User ID?
-
Noticed this in
wpc_functions.php
at line 2584, wpCentral 1.5.0:$user_info = get_userdata(1);
Why is the user id hardcoded to
1
here?Many sites do not have that user (any more), it is often manually removed due to various tutorials about ‘hardening’ WordPress or the id of that user is changed/randomized by various ‘security’ plugins etc.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hardcoded User ID?’ is closed to new replies.