Making WordPress.org

Changeset 7908


Ignore:
Timestamp:
11/27/2018 07:57:32 PM (6 years ago)
Author:
Otto42
Message:

Support Forum: Add a link to profiles.w.org from the forum profile

File:
1 edited

Legend:

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

    r7818 r7908  
    114114                </li>
    115115
     116                <li>
     117                    <span class="wporg-profile-edit-link">
     118                    <a href="https://profiles.wordpress.org/<?php echo bbp_get_displayed_user_field( 'user_nicename' ); ?>" title="<?php
     119                            /* translators: %s: user's display name */
     120                            printf( esc_attr__( "Edit %s's wordpress.org Profile", 'wporg-forums' ), bbp_get_displayed_user_field( 'display_name' ) );
     121                        ?>"><?php esc_html_e( 'Edit Profile', 'wporg-forums' ); ?></a>
     122                    </span>
     123                </li>
     124
    116125            <?php endif; ?>
    117126
Note: See TracChangeset for help on using the changeset viewer.