[wp-trac] [WordPress Trac] #25774: wp-includes/user.php: PhpDoc correction - $user_id is not a Post ID

WordPress Trac noreply at wordpress.org
Wed Oct 30 17:37:38 UTC 2013


#25774: wp-includes/user.php: PhpDoc correction - $user_id is not a Post ID
--------------------------+-----------------------------
 Reporter:  Corphi        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Inline Docs   |    Version:  3.7
 Severity:  trivial       |   Keywords:
--------------------------+-----------------------------
 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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25774>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list