Changes between Initial Version and Version 1 of Ticket #23190, comment 4
- Timestamp:
- 01/13/2013 02:31:11 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23190, comment 4
initial v1 3 3 > if there is no binding on wp_insert_user() with a numeric value (123456) as user-id then get_user_id_from_string() should also respect this choice and return 99 here instead of 123456 4 4 5 I don't think that's a good idea, unless we plan to support numeric user_logins everywhere. For example, `WP_User::__construct()` has the same heuristic.5 I don't think that's a good idea, unless we plan to support numeric `user_login`s everywhere. For example, `WP_User::__construct()` has the same heuristic. 6 6 7 7 We should just document that `get_user_id_from_string( $x )` will return $x, if $x is numeric.