Making WordPress.org

Changeset 3352


Ignore:
Timestamp:
06/14/2016 10:04:13 AM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Encode author display name.

Let's us also properly display matveb's name.

See #1719.

File:
1 edited

Legend:

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

    r3309 r3352  
    3333        <?php the_title( '<h1 class="plugin-title">', '</h1>' ); ?>
    3434
    35         <span class="byline"><?php printf( esc_html_x( 'By %s', 'post author', 'wporg-plugins' ), '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>' ); ?></span>
     35        <span class="byline"><?php printf( esc_html_x( 'By %s', 'post author', 'wporg-plugins' ), '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( utf8_encode( get_the_author() ) ) . '</a></span>' ); ?></span>
    3636    </header><!-- .entry-header -->
    3737
Note: See TracChangeset for help on using the changeset viewer.