Make WordPress Core


Ignore:
Timestamp:
02/25/2014 05:07:22 PM (10 years ago)
Author:
nacin
Message:

Make the user arguments for get_edit_profile_url() and get_dashboard_url() optional, defaulting to the current user.

props garyc40.
fixes #16686.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r26848 r27260  
    9494                do_action( 'admin_color_scheme_picker' );
    9595                ?>
    96             <p><?php printf( __( 'To change your color scheme later, just <a href="%1$s">visit your profile</a>.' ), get_edit_profile_url( get_current_user_id() ) ); ?></p>
     96            <p><?php printf( __( 'To change your color scheme later, just <a href="%1$s">visit your profile</a>.' ), get_edit_profile_url() ); ?></p>
    9797        </div>
    9898    </div>
Note: See TracChangeset for help on using the changeset viewer.