WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #23190


Ignore:
Timestamp:
01/13/13 16:32:22 (15 months ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23190

    • Property Keywords reporter-feedback added; needs-docs removed
    • Property Component changed from General to Multisite
    • Property Type changed from defect (bug) to enhancement
    • Property Severity changed from major to normal
  • Ticket #23190 – Description

    initial v5  
    1010 
    1111I looked into the core "wp-includes => ms-functions.php => get_user_id_from_string()" and found this segment: 
    12  
     12{{{ 
    1313        elseif ( is_numeric( $string ) ) { 
    1414                $user_id = $string; 
     
    1818                        $user_id = $user->ID; 
    1919        } 
    20  
     20}}} 
    2121Here, 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. 
    2222