Ticket #44723: 44723-refresh.diff
File 44723-refresh.diff, 565 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/user.php
3727 3727 */ 3728 3728 public function __construct( $post ) { 3729 3729 $this->ID = $post->ID; 3730 $this->user_id = $post->post_author;3730 $this->user_id = (int) $post->post_author; 3731 3731 $this->email = $post->post_title; 3732 3732 $this->action_name = $post->post_name; 3733 3733 $this->status = $post->post_status;