Changeset 10722
- Timestamp:
- 02/25/2021 06:48:39 AM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory
- Files:
-
- 2 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 { -
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
r10721 r10722 904 904 $post_meta = array( 905 905 '_theme_url' => $this->theme->get( 'ThemeURI' ), 906 '_author' => $this->theme->get( 'Author' ), 906 907 '_author_url' => $this->theme->get( 'AuthorURI' ), 907 908 '_requires' => $this->sanitize_version_like_field( $this->theme->get( 'RequiresWP' ), 'requires' ),
Note: See TracChangeset
for help on using the changeset viewer.