Making WordPress.org


Ignore:
Timestamp:
02/28/2015 05:15:41 PM (10 years ago)
Author:
Otto42
Message:

Copy changes from r1339 and r1293 into content-single.php. Fixes #896 and #745

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php

    r1358 r1359  
    1515            <h3 class="theme-name entry-title" itemprop="name"><?php the_title(); ?></h3>
    1616            <h4 class="theme-author">
    17                 <?php printf( _x( 'By %s', 'post author', 'wporg-themes' ), sprintf( '<a href="https://profiles.wordpress.org/%s"><span class="author" itemprop="author">%s</span></a>', get_the_author_meta( 'login' ), esc_html( get_the_author() ) ) ); ?>
     17                <?php printf( _x( 'By %s', 'post author', 'wporg-themes' ), sprintf( '<a href="https://profiles.wordpress.org/%s"><span class="author" itemprop="author">%s</span></a>', get_the_author_meta( 'nicename' ), esc_html( get_the_author() ) ) ); ?>
    1818            </h4>
    1919
     
    2828            ?>
    2929            <div class="theme-notice notice notice-info">
    30                 <p class="parent-theme"><?php printf( __( 'This is a child theme of %s.' ), sprintf( '<a href="%1$s">%2$s</a>', get_permalink( $parent->ID ), $parent->post_title ) ); ?></p>
     30                <p class="parent-theme"><?php printf( __( 'This is a child theme of %s.' ), sprintf( '<a href="/themes/%1$s">%2$s</a>', get_permalink( $parent->ID ), $parent->post_title ) ); ?></p>
    3131            </div>
    3232            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.