title: How do I get articles with a custom post status to display when clicking the All link in the WordPress admin panel?
body: <p>I have created a custom post status in WordPress using the code below (in functions.php).  The reason for this is that our website has 2 editors, and we need a way to show when an article is pending review by the editor-in-chief (the default WordPress "Pending" option will only be used when an article is pending review by the blog editor, who is second-in-command to the editor-in-chief).</p>
  
  <p>My problem is that the articles that are set to the new status don't show up when you select the "All" link at the top of the Posts page in the WordPress admin panel.  All the other posts appear except the ones with the new status. There is a new link at the top of the page to display just the articles with the new status, and that works correctly, but how can I get these articles to also show up when clicking on the All link?</p>
  
  <pre><code>// Register Custom Status
  function custom_post_status() {
  
  $args = array(
      'label'                     =&gt; _x( 'PendingLuke', 'Status General Name', 'text_domain' ),
      'label_count'               =&gt; _n_noop( 'PendingLuke (%s)',  'Pending Luke (%s)', 'text_domain' ), 
      'public'                    =&gt; false,
      'show_in_admin_all_list'    =&gt; true,
      'show_in_admin_status_list' =&gt; true,
      'exclude_from_search'       =&gt; true,
  );
  register_post_status( 'pendingluke', $args );
  
  }
  add_action( 'init', 'custom_post_status', 0 );
  
  function add_to_post_status_dropdown()
  {
   ?&gt;
   &lt;script&gt;
    jQuery(document).ready(function($){
       $("select#post_status").append("&lt;option value=\"PendingLuke\" &lt;?php selected('PendingLuke', $post-&gt;post_status); ?&gt;&gt;PendingLuke&lt;/option&gt;");
    });
   &lt;/script&gt;
   &lt;?php
  }
  
  add_action( 'post_submitbox_misc_actions', 'add_to_post_status_dropdown');
  </code></pre>