Changeset 1878
- Timestamp:
- 09/14/2015 07:39:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/core/credits/wp-credits.php
r1829 r1878 167 167 continue; 168 168 if ( $user->display_name && $user->display_name != $user->user_nicename && false === strpos( $user->display_name , '?') ) 169 $translators[ $user->user_nicename ] = utf8_encode( remove_accents( $user->display_name ));169 $translators[ $user->user_nicename ] = remove_accents( $user->display_name ); 170 170 else 171 171 $translators[ $user->user_nicename ] = $user->user_nicename; … … 190 190 continue; 191 191 if ( $user->display_name && $user->display_name != $user->user_nicename && false === strpos( $user->display_name , '?') ) 192 $validators[ $user->user_nicename ] = array( utf8_encode( remove_accents( $user->display_name )), md5( $user->user_email ), $user->user_nicename );192 $validators[ $user->user_nicename ] = array( remove_accents( $user->display_name ), md5( $user->user_email ), $user->user_nicename ); 193 193 else 194 194 $validators[ $user->user_nicename ] = array( $user->user_nicename, md5( $user->user_email ), $user->user_nicename ); … … 319 319 foreach ( $user_data as $user ) { 320 320 if ( $user->display_name && $user->display_name != $user->user_nicename && false === strpos( $user->display_name , '?') ) 321 $props[ $user->user_nicename ] = utf8_encode( remove_accents( $user->display_name ));321 $props[ $user->user_nicename ] = remove_accents( $user->display_name ); 322 322 else 323 323 $props[ $user->user_nicename ] = $user->user_nicename;
Note: See TracChangeset
for help on using the changeset viewer.