Missed a spot

This commit is contained in:
claudiulodro 2017-04-27 14:13:06 -07:00
parent 4eb1396e85
commit 059389c684
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ class WC_Order_Data_Store_CPT extends Abstract_WC_Order_Data_Store_CPT implement
if ( isset( $query_vars[ 'date_created_after'] ) && '' !== $query_vars[ 'date_created_after' ] ) {
$wp_query_args['date_query'][] = array(
'column' => 'post_date',
'after' => $query_vars['date_created_before']
'after' => $query_vars['date_created_after']
);
}