[buddypress-trac] [BuddyPress Trac] #7661: Use WP functions to retrieve user name, display name, nicename, and email.
buddypress-trac
noreply at wordpress.org
Thu Jan 25 19:44:49 UTC 2018
#7661: Use WP functions to retrieve user name, display name, nicename, and email.
-------------------------+-----------------------
Reporter: dcavins | Owner: dcavins
Type: enhancement | Status: accepted
Priority: normal | Milestone: 3.0
Component: Members | Version: 2.9.2
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by dcavins):
In [changeset:"11817"]:
{{{
#!CommitTicketReference repository="" revision="11817"
Change the display name WP/BP sync hook.
Instead of firing the display name synchronization routine on the general
hook `xprofile_updated_profile`, which is run when the profile screen
forms are submitted, use the lower level hook `xprofile_data_after_save`
which is run when a profile field is updated. This catches more cases
where we'd like the sync to run, like programatically updating the
xprofile field.
See #7661.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7661#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list