WordPress.org

Making WordPress.org

Changeset 6499


Ignore:
Timestamp:
02/01/2018 06:34:56 AM (4 years ago)
Author:
dd32
Message:

Theme Directory: API: Add user_nicename back into the extended_author details, turns we we do actually use that.

See #111.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php

    r6497 r6499  
    611611        if ( $this->fields['extended_author'] ) {
    612612            $phil->author = (object) array(
    613                 'profile' => 'https://profiles.wordpress.org/' . $author->user_nicename,
    614                 'avatar' => 'https://secure.gravatar.com/avatar/' . md5( $author->user_email ) . '?s=96&d=monsterid&r=g',
     613                'user_nicename' => $author->user_nicename,
     614                'profile'       => 'https://profiles.wordpress.org/' . $author->user_nicename,
     615                'avatar'        => 'https://secure.gravatar.com/avatar/' . md5( $author->user_email ) . '?s=96&d=monsterid&r=g',
    615616                'display_name'  => $author->display_name,
    616617            );
Note: See TracChangeset for help on using the changeset viewer.