Changeset 49209 for trunk/src/wp-includes/media.php
- Timestamp:
- 10/19/2020 08:43:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r49207 r49209 3810 3810 $author = new WP_User( $attachment->post_author ); 3811 3811 if ( $author->exists() ) { 3812 $response['authorName'] = html_entity_decode( $author->display_name ? $author->display_name : $author->nickname, ENT_QUOTES, get_bloginfo( 'charset' ) ); 3812 $author_name = $author->display_name ? $author->display_name : $author->nickname; 3813 $response['authorName'] = html_entity_decode( $author_name, ENT_QUOTES, get_bloginfo( 'charset' ) ); 3813 3814 $response['authorLink'] = get_edit_user_link( $author->ID ); 3814 3815 } else {
Note: See TracChangeset
for help on using the changeset viewer.