title: get_page_children() not returning all child pages
body: <p>I have in my Wordpress theme, a section where I am getting child pages to display their information. This is what I have right now:</p>
  
  <pre><code>&lt;?php 
                  $my_wp_query = new WP_Query();
                  $all_wp_pages = $my_wp_query-&gt;query(array('post_type' =&gt; 'page'));
  
                  $staff = get_page_children(8, $all_wp_pages);
  
                  foreach($staff as $s){
                      $page = $s-&gt;ID;
                      $page_data = get_page($page);
                      $content = $page_data-&gt;post_content;
                      $content = apply_filters('the_content',$content);
                      $content = str_replace(']]&gt;', ']]&gt;', $content);
                      echo '&lt;div class="row-fluid"&gt;&lt;span class="span4"&gt;'; 
                      echo get_the_post_thumbnail( $page ); 
                      echo '&lt;/span&gt;&lt;span class="span8"&gt;'.$content.'&lt;/span&gt;&lt;/div&gt;';
                  } 
          ?&gt;
  </code></pre>
  
  <p>I have five child pages that should be showing up, but only three are returning. I used print_r on $staff to see if the other pages were even in the array, but they aren't. I'm not sure what the problem could be.</p>