Support » Plugin: Meta Widget Customizer » User Profile Link

  • Resolved rcrmn

    (@rcrmn)


    There is a problem with the link to the user profile for websites that are not hosted on the root directory.

    To solve it you should replace the line where says:

    ?><li><a href="/wp-admin/profile.php"><?php echo "$current_user->display_name"; ?></a></li><?php

    With the following:

    ?><li><a href="<?php echo site_url("/wp-admin/profile.php"); ?>"><?php echo "$current_user->display_name"; ?></a></li><?php

    http://wordpress.org/plugins/meta-widget-customizer/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘User Profile Link’ is closed to new replies.