title: WordPress meta_query is not working
body: <p>I have a problem on using <code>meta_query</code> in WordPress. the meta_key that iv'e tried is <code>wpcargo_status</code> and the value is <code>Delivered</code>. The problem is it is still getting the other status. This is what iv'e tried...</p>
  
  <pre><code>$wpc_report_args = array(
      'post_type'         =&gt; 'shipment',
      'post_status'       =&gt; 'publish',
      'posts_per_page'    =&gt; -1,
      'meta_query'        =&gt; array(
          array( 
              'key'           =&gt; 'status',
              'value'         =&gt; 'Delivered',
              'type'          =&gt; 'CHAR',
              'compare'       =&gt; '=', 
          )
      ),      
  );
  
  $the_query = new WP_Query( $wpc_report_args );
  // The Loop
      if ( $the_query-&gt;have_posts() ) :
      while ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post();
          echo get_the_ID().'&lt;br /&gt;';
          echo get_post_meta(get_the_ID(), 'shipper_name', true).'&lt;br /&gt;';
          echo get_post_meta(get_the_ID(), 'status', true).'&lt;br /&gt;';
      endwhile;
      endif;
      // Reset Post Data
      wp_reset_postdata();
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/XHc9q.png" rel="nofollow noreferrer"><strong>On my database</strong></a></p>
  
  <p><a href="https://i.stack.imgur.com/IQXcM.png" rel="nofollow noreferrer"><strong>Output of my query</strong></a></p>
  
  <p>Do you have any idea what is wrong with my code?</p>
  
  <p><strong>Updated</strong></p>
  
  <p>I already tried this and it is working but I need multiple <code>meta_query</code></p>
  
  <pre><code>'meta_key' =&gt; 'status',
  'meta_value' =&gt; 'Delivered', 
  'meta_compare' =&gt; '=',
  </code></pre>