Changeset 12105 for sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-user-tweaks.php
- Timestamp:
- 10/06/2022 02:57:52 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-user-tweaks.php
r12104 r12105 15 15 16 16 if ( '' === $name && $user_id ) { 17 $name = get_user_by( 'id', $user_id )->user_nicename ?? $user_id;17 $name = get_user_by( 'id', $user_id )->user_nicename ?? (string) $user_id; 18 18 } 19 19 … … 27 27 28 28 if ( '' === $name && $user_id ) { 29 $name = get_user_by( 'id', $user_id )->user_nicename ?? $user_id;29 $name = get_user_by( 'id', $user_id )->user_nicename ?? (string) $user_id; 30 30 } 31 31
Note: See TracChangeset
for help on using the changeset viewer.