Changeset 10722 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
- Timestamp:
- 02/25/2021 06:48:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php
r10635 r10722 682 682 if ( $this->fields['extended_author'] ) { 683 683 $phil->author = (object) array( 684 // WordPress.org user details. 684 685 'user_nicename' => $author->user_nicename, 685 686 'profile' => 'https://profiles.wordpress.org/' . $author->user_nicename, 686 687 'avatar' => 'https://secure.gravatar.com/avatar/' . md5( $author->user_email ) . '?s=96&d=monsterid&r=g', 687 688 'display_name' => $author->display_name ?: $author->user_nicename, 689 690 // Theme headers details. 691 'author' => wporg_themes_get_version_meta( $theme->ID, '_author', $phil->version ), 692 'author_url' => wporg_themes_get_version_meta( $theme->ID, '_author_url', $phil->version ), 688 693 ); 689 694 } else {
Note: See TracChangeset
for help on using the changeset viewer.