Making WordPress.org


Ignore:
Timestamp:
06/17/2016 07:39:38 AM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Properly encode display names.

H/t ocean90.

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

    r3356 r3395  
    3939        <?php the_title( '<h1 class="plugin-title">', '</h1>' ); ?>
    4040
    41         <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>
     41        <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( Template::encode( get_the_author() ) ) . '</a></span>' ); ?></span>
    4242    </header><!-- .entry-header -->
    4343
Note: See TracChangeset for help on using the changeset viewer.