Changeset 39134
- Timestamp:
- 11/03/2016 11:05:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r39127 r39134 93 93 } elseif ( $user_id instanceof WP_User ) { 94 94 $user = $user_id; 95 } elseif ( is_numeric( $user_id ) ) {95 } elseif ( $user_id && is_numeric( $user_id ) ) { 96 96 $user = get_user_by( 'id', $user_id ); 97 97 }
Note: See TracChangeset
for help on using the changeset viewer.