Skip to:
Content

BuddyPress.org

Changeset 11852


Ignore:
Timestamp:
02/10/2018 11:11:06 AM (7 years ago)
Author:
hnla
Message:

Nouveau: Edit profile link, default-front.php

The link is intended to reference the displayed users WP profile, the link is allowed for admins(bp_moderate) users too, however the link always resolves to the current logged in user regardless of whether a hardcoded user id is set ( e.g bp_displayed_user_id() ) so admins will resolve to their personal WP profile not the displayed user.

This commit removes the admin link view, only showing link for bp_is_my_profile() The admin provision is simply a convenience and not overly important.

Props vapvarun

Fixes #7691

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.