Opened 17 years ago
Closed 17 years ago
#10430 closed defect (bug) (invalid)
Add hooks for edit_user after updating the user's profile
| Reported by: | neoxx | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | 2.8.1 |
| Severity: | normal | Keywords: | profile, user, hook, has-patch |
| Cc: | Focuses: |
Description
i have public authors' pages including the users' url to give them some link love. - to avoid links to spam-pages, i wanted to monitor my users' changes on their urls' by sending a mail after a user has updated his/her profile.
afaik there's no possibility to fire an action AFTER a user's profile has been updated. - the attached patch adds this functionality.
Attachments (1)
Change History (4)
#1
@
17 years ago
- Milestone 2.8.2
- Resolution → invalid
- Status new → closed
edit_user() et al contain those two hooks (with different names) already.
#2
@
17 years ago
- Milestone → 2.8.2
- Resolution invalid
- Status closed → reopened
well, if you speak about
do_action('personal_options_update', $user_id);
and
do_action('edit_user_profile_update', $user_id);
these hooks are executed before the actual update occurs. - thus, if you implement one of them, it will return the user's old metadata, in my case his/her previous set url...
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
adds two hooks if a user's profile has been updated