WordPress.org

Making WordPress.org


Ignore:
Timestamp:
06/28/2019 11:53:09 AM (9 months ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Add trailing slash to profile URLs in committers, contributors, and support reps lists.

Props jonoaldersonwp.
Fixes #4561.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-contributors.php

    r6287 r9002  
    6262            <li>
    6363                <?php echo get_avatar( $contributor->ID, 32 ); ?>
    64                 <a href="<?php echo esc_url( 'https://profiles.wordpress.org/' . $contributor->user_nicename ); ?>">
     64                <a href="<?php echo esc_url( "https://profiles.wordpress.org/{$contributor->user_nicename}/" ); ?>">
    6565                    <?php echo Template::encode( $contributor->display_name ); ?>
    6666                </a>
Note: See TracChangeset for help on using the changeset viewer.