Make WordPress Core

Ticket #44723: 44723-refresh.diff

File 44723-refresh.diff, 565 bytes (added by andizer, 6 years ago)
  • src/wp-includes/user.php

     
    37273727         */
    37283728        public function __construct( $post ) {
    37293729                $this->ID                  = $post->ID;
    3730                 $this->user_id             = $post->post_author;
     3730                $this->user_id             = (int) $post->post_author;
    37313731                $this->email               = $post->post_title;
    37323732                $this->action_name         = $post->post_name;
    37333733                $this->status              = $post->post_status;