title: Custom Post Type without author
body: <p>I'm inserting information into a new post, and when I use var_dump, I don't see no author ID, and because of that, I can't retrieve it later.</p>
  
  <pre><code>global $user_ID;
  $new_post = array(
  'post_title' =&gt; $_POST['titulo_necessidade'],
  'post_content' =&gt; $_POST['conteudo_necessidade'],
          'post_status' =&gt; 'publish',
          'post_date' =&gt; date('Y-m-d H:i:s'),
          'post_author' =&gt; $user_ID,
          'post_type' =&gt; 'necessidade',
          'post_category' =&gt;  array(0)
      );
      $post_id = wp_insert_post($new_post);
      var_dump(get_post_meta($post_id));
  </code></pre>
  
  <p>The result I get is the following</p>
  
  <p>array(3) { ["titulo_necessidade"]=> array(1) { [0]=> string(7) "tyktyuk" } ["conteudo_necessidade"]=> array(1) { [0]=> string(7) "tkyutut" } ["submit_necessidade"]=> array(1) { [0]=> string(6) "Enviar" } }</p>