Changes between Initial Version and Version 5 of Ticket #23190
- Timestamp:
- 01/13/2013 04:32:22 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23190
- Property Keywords reporter-feedback added; needs-docs removed
-
Property
Component
changed from
GeneraltoMultisite -
Property
Type
changed from
defect (bug)toenhancement -
Property
Severity
changed from
majortonormal
-
Ticket #23190 – Description
initial v5 10 10 11 11 I looked into the core "wp-includes => ms-functions.php => get_user_id_from_string()" and found this segment: 12 12 {{{ 13 13 elseif ( is_numeric( $string ) ) { 14 14 $user_id = $string; … … 18 18 $user_id = $user->ID; 19 19 } 20 20 }}} 21 21 Here, is_numeric() gets precendance and I do not get my desired id (99) as my input string (or user-login-name) was 123456 which passes is_numeric() function. 22 22