Skip to content

Commit

Permalink
The 'date_query_column' and 'date_query_compare' values don't need de…
Browse files Browse the repository at this point in the history
…faults as they fallback to the values of the global 'column' and 'compare' arguments in WP_Date_Query.
  • Loading branch information
DrewAPicture committed Sep 7, 2014
1 parent 5f331ec commit a260521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions display-posts-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function be_display_posts_shortcode( $atts ) {
'date_compare' => '=',
'date_query_before' => '',
'date_query_after' => '',
'date_query_column' => 'post_date',
'date_query_compare' => '=',
'date_query_column' => '',
'date_query_compare' => '',
'display_posts_off' => false,
'exclude_current' => false,
'id' => false,
Expand Down

0 comments on commit a260521

Please sign in to comment.