Making WordPress.org

Changeset 5051


Ignore:
Timestamp:
03/03/2017 12:42:30 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: After [5007], change moderators' WP.org profile links to forum profiles, for consistency with other profile links across the forums.

See #2493.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/user-profile.php

    r5013 r5051  
    2222                        /* translators: %s: linked moderator's username */
    2323                        __( 'This user has been flagged by %s.', 'wporg-forums' ),
    24                         sprintf( '<a href="%s">%s</a>', esc_url( 'https://profiles.wordpress.org/' . $moderator ), $moderator )
     24                        sprintf( '<a href="%s">%s</a>', esc_url( home_url( "/users/$moderator/" ) ), $moderator )
    2525                    );
    2626                } else {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php

    r5050 r5051  
    307307                        /* translators: %s: linked moderator's username */
    308308                        __( 'This user has been flagged by %s.', 'wporg-forums' ),
    309                         sprintf( '<a href="%s">%s</a>', esc_url( 'https://profiles.wordpress.org/' . $moderator ), $moderator )
     309                        sprintf( '<a href="%s">%s</a>', esc_url( home_url( "/users/$moderator/" ) ), $moderator )
    310310                    );
    311311                } else {
Note: See TracChangeset for help on using the changeset viewer.