WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#41951 closed defect (bug) (fixed)

Correct insert_user_meta filter documentation

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

Description

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 4 years ago.

Download all attachments as: .zip

Change History (4)

@milana_cap
4 years ago

#1 @milana_cap
4 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 4.9

#3 @SergeyBiryukov
4 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.