Making WordPress.org

Changeset 5753


Ignore:
Timestamp:
08/05/2017 01:50:04 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Add a translator comment for Howdy, %s string.

File:
1 edited

Legend:

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

    r5752 r5753  
    55        <div class="my-account">
    66            <ul>
    7                 <li><?php echo sprintf( __( 'Howdy, %s', 'wporg-forums' ), '<a href="' . esc_url( bbp_get_user_profile_url( bbp_get_current_user_id() ) ) . '">' . bbp_get_current_user_name() . '</a>' ); ?></li>
     7                <li><?php
     8                    /* translators: %s: user's display name */
     9                    printf( __( 'Howdy, %s', 'wporg-forums' ),
     10                        '<a href="' . esc_url( bbp_get_user_profile_url( bbp_get_current_user_id() ) ) . '">' . bbp_get_current_user_name() . '</a>'
     11                    );
     12                ?></li>
    813                <li><a href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e( 'Log Out', 'wporg-forums' ); ?></a></li>
    914            </ul>
Note: See TracChangeset for help on using the changeset viewer.