Making WordPress.org

Changeset 2948


Ignore:
Timestamp:
04/13/2016 02:46:05 PM (8 years ago)
Author:
ocean90
Message:

Translate: In header, link the profile name to the settings page.

See #1667.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates-new/header.php

    r2105 r2948  
    1616            $user = wp_get_current_user();
    1717
    18             printf( __('Hi, %s.'), '<a href="'.gp_url( '/profile' ).'">'.$user->user_login.'</a>' );
     18            printf( __('Hi, %s.'), '<a href="'.gp_url( '/settings' ).'">'.$user->user_login.'</a>' );
    1919            ?>
    2020            <a href="<?php echo esc_url( wp_logout_url( home_url( '/' ) ) ); ?>"><?php _e( 'Log out' ); ?></a>
Note: See TracChangeset for help on using the changeset viewer.