Making WordPress.org


Ignore:
Timestamp:
12/15/2021 06:53:38 AM (3 years ago)
Author:
dd32
Message:

Consistently link to https://profiles.wordpress.org/$user/ with a trailing slash. Part 2.

See #5810.

File:
1 edited

Legend:

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

    r11373 r11374  
    342342            <p class="reviewer">
    343343                <?php
    344                 $review_author_markup_profile = esc_url( 'https://profiles.wordpress.org/' . $reviewer->user_nicename );
     344                $review_author_markup_profile = esc_url( 'https://profiles.wordpress.org/' . $reviewer->user_nicename . '/' );
    345345                $review_author_markup         = '<a href="' . $review_author_markup_profile . '">';
    346346                $review_author_markup        .= get_avatar( $reviewer->ID, 16, 'monsterid' ) . '</a>';
Note: See TracChangeset for help on using the changeset viewer.