Opened 11 years ago
Closed 11 years ago
#25774 closed defect (bug) (fixed)
wp-includes/user.php: PhpDoc correction - $user_id is not a Post ID
Reported by: | Corphi | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | trivial | Version: | 3.7 |
Component: | Inline Docs | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
To cite wp-includes/user.php
, for functions add_user_meta()
, get_user_meta()
and update_user_meta()
:
* @param int $user_id Post ID.
In Version 3.7.1 it’s the lines 815, 852 and 874 respectively. $user_id
is obviously not a Post ID, but a User ID.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 25997: