WordPress.org

Make WordPress Core

Opened 74 minutes ago

Last modified 73 minutes ago

#49675 new defect (bug)

correct documentation for WP_User_Request class

Reported by: pbiron Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords: has-patch
Focuses: docs, privacy Cc:

Description

In the DocBlocks for the properties of the class, the @since tags are missing and the @type tags for $email, $confirmed_timestamp and $completed_timestamp props are wrong:

  • $email should be type string
  • the other 2 should be type int|null

Attachments (1)

49675.diff (2.3 KB) - added by pbiron 73 minutes ago.

Download all attachments as: .zip

Change History (2)

@pbiron
73 minutes ago

#1 @pbiron
73 minutes ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.