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/trac-notifications/trac-notifications.php

    r10436 r11374  
    317317                        $class = ''; // in_array( $follower, $stars, true ) ? ' class="star"' : '';
    318318                    ?>
    319                         <a<?php echo $class; ?> title="<?php echo $follower; ?>" href="https://profiles.wordpress.org/<?php echo $follower; ?>">
     319                        <a<?php echo $class; ?> title="<?php echo $follower; ?>" href="https://profiles.wordpress.org/<?php echo $follower; ?>/">
    320320                            <?php echo get_avatar( get_user_by( 'login', $follower )->user_email, 36, 'retro' ); ?>
    321321                            <span class="username"><?php echo $follower; ?></span>
    322322                        </a>
    323323                    <?php endforeach; ?>
    324                     <a title="you" class="star-you" href="https://profiles.wordpress.org/<?php echo esc_attr( $username ); ?>">
     324                    <a title="you" class="star-you" href="https://profiles.wordpress.org/<?php echo esc_attr( $username ); ?>/">
    325325                        <?php echo get_avatar( wp_get_current_user()->user_email, 36, 'retro' ); ?>
    326326                        <span class="username"><?php echo $username; ?></span>
Note: See TracChangeset for help on using the changeset viewer.