Making WordPress.org

Changeset 5648


Ignore:
Timestamp:
07/11/2017 07:46:18 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Support Forums, User Notes: Link moderator's username to the correct site.

See #2272.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-user-notes.php

    r5647 r5648  
    272272                /* translators: 1: user note author's display name, 2: link to post, 3: date, 4: time */
    273273                'author' => sprintf( __( 'By %1$s on <a href="%2$s">%3$s at %4$s</a>', 'wporg-forums' ),
    274                     sprintf( '<a href="%s">%s</a>', esc_url( home_url( "/users/$moderator/" ) ), $moderator ),
     274                    sprintf( '<a href="%s">%s</a>',
     275                        esc_url( get_home_url( $post_site_id, "/users/$moderator/" ) ),
     276                        $moderator
     277                    ),
    275278                    esc_url( $post_permalink ),
    276279                    /* translators: localized date format, see https://secure.php.net/date */
Note: See TracChangeset for help on using the changeset viewer.