Making WordPress.org

Changeset 8265


Ignore:
Timestamp:
02/18/2019 02:51:50 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Clarify "Edit Profile" link added in [7908].

  • Change the label to "Edit WP.org Profile" for clarity.
  • Change the URL to actually lead to the edit page.
  • Change the label of the link above to "Edit Forum Profile" for clarity.

Fixes #3971.

File:
1 edited

Legend:

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

    r7908 r8265  
    110110                            /* translators: %s: user's display name */
    111111                            printf( esc_attr__( "Edit %s's Profile", 'wporg-forums' ), bbp_get_displayed_user_field( 'display_name' ) );
    112                         ?>"><?php esc_html_e( 'Edit', 'wporg-forums' ); ?></a>
     112                        ?>"><?php esc_html_e( 'Edit Forum Profile', 'wporg-forums' ); ?></a>
    113113                    </span>
    114114                </li>
     
    116116                <li>
    117117                    <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>
     118                    <a href="https://profiles.wordpress.org/<?php echo bbp_get_displayed_user_field( 'user_nicename' ); ?>/profile/edit/" 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 WP.org Profile', 'wporg-forums' ); ?></a>
    122122                    </span>
    123123                </li>
Note: See TracChangeset for help on using the changeset viewer.