Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41951 closed defect (bug) (fixed)

Correct insert_user_meta filter documentation

Reported by: desrosj's profile desrosj Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.4
Component: Users Keywords: good-first-bug has-patch
Focuses: docs Cc:


The insert_user_meta filter documentation states:

Filters a user's meta values and keys before the user is created or updated.

This is not correct. The filter is run immediately after the user is created or updated, but before any post meta is inserted or updated.

Attachments (1)

41951.patch (599 bytes) - added by milana_cap 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @milana_cap
7 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
7 years ago

  • Milestone changed from Awaiting Review to 4.9

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 41564:

Docs: Correct description for insert_user_meta filter.

Props milana_cap, desrosj.
Fixes #41951.

Note: See TracTickets for help on using tickets.