Making WordPress.org

Changeset 1336


Ignore:
Timestamp:
02/26/2015 06:24:03 PM (9 years ago)
Author:
obenland
Message:

WP.org Themes: Use dislay_name property to display the author's name.

See r1322, #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php

    r1034 r1336  
    1010            <div class="install-theme-info">
    1111                <h3 class="theme-name">{{ data.name }}</h3>
    12                 <span class="theme-by"><?php printf( __( 'By %s' ), '{{ data.author }}' ); ?></span>
     12                <span class="theme-by"><?php printf( __( 'By %s' ), '{{ data.author.display_name }}' ); ?></span>
    1313
    1414                <img class="theme-screenshot" src="{{ data.screenshot_url }}" alt="" />
Note: See TracChangeset for help on using the changeset viewer.