[buddypress-trac] [BuddyPress Trac] #7691: At User's front Page Edit your bio link leads to current admin user backend profile
buddypress-trac
noreply at wordpress.org
Sat Feb 10 11:11:06 UTC 2018
#7691: At User's front Page Edit your bio link leads to current admin user backend
profile
-----------------------------+------------------------------
Reporter: vapvarun | Owner: hnla
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots |
-----------------------------+------------------------------
Changes (by hnla):
* owner: => hnla
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"11852"]:
{{{
#!CommitTicketReference repository="" revision="11852"
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
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7691#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list