Making WordPress.org

Changeset 11376


Ignore:
Timestamp:
12/15/2021 07:16:14 AM (3 years ago)
Author:
dd32
Message:

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

See #5810.

Location:
sites/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-cross-locale-pte.php

    r5321 r11376  
    99            __( 'You are currently editing the user %s.', 'rosetta' ),
    1010            sprintf( '<a href="%1$s">%2$s</a>',
    11                 'https://profiles.wordpress.org/' . $user->user_nicename,
     11                'https://profiles.wordpress.org/' . $user->user_nicename . '/',
    1212                $user->user_login
    1313            )
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/views/edit-translation-editor.php

    r5129 r11376  
    1010            __( 'You are currently editing the user %s.', 'rosetta' ),
    1111            sprintf( '<a href="%1$s">%2$s</a>',
    12                 'https://profiles.wordpress.org/' . $user->user_nicename,
     12                'https://profiles.wordpress.org/' . $user->user_nicename . '/',
    1313                $user->user_login
    1414            )
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/content-pledge.php

    r9385 r11376  
    2323        <?php echo wp_kses_data( sprintf(
    2424            "(<a href='%s'>@%s</a>)",
    25             'https://profiles.wordpress.org/' . $contributor['username'],
     25            'https://profiles.wordpress.org/' . $contributor['username'] . '/',
    2626            $contributor['username']
    2727        ) ); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content.php

    r10326 r11376  
    255255                /* translators: 1: user profile link, 2: accessibility text, 3: user name, 4: logout URL */
    256256                __( '<a href="%1$s" aria-label="%2$s">Logged in as %3$s</a>. <a href="%4$s">Log out?</a>' ),
    257                 'https://profiles.wordpress.org/' . esc_attr( $user_identity->user_nicename ),
     257                'https://profiles.wordpress.org/' . esc_attr( $user_identity->user_nicename ) . '/',
    258258                /* translators: %s: user name */
    259259                esc_attr( sprintf( __( 'Logged in as %s. Edit your profile.' ), $user_identity->display_name ) ),
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/content-none.php

    r6284 r11376  
    4444                <?php
    4545                /* translators: Link to user profile. */
    46                 printf( wp_kses_post( __( 'Your favorite plugins are also shared on <a href="%s">your profile</a>.', 'wporg-plugins' ) ), esc_url( 'https://profiles.wordpress.org/' . $current_user->user_nicename ) );
     46                printf( wp_kses_post( __( 'Your favorite plugins are also shared on <a href="%s">your profile</a>.', 'wporg-plugins' ) ), esc_url( 'https://profiles.wordpress.org/' . $current_user->user_nicename . '/#content-favorites' ) );
    4747                ?>
    4848            </p>
Note: See TracChangeset for help on using the changeset viewer.