• There is a bug in how the post_date filter works.

    On line 432, you have the following:

    $post_date = explode("+", esc_attr(urlencode($wp_query->query['post_date'])));

    This works fine if you have two dates, which are concatenated with a + symbol.

    However, if you only use a single datepicker, the + is not present, and this means $post_date is never populated, as the + is not added in.

Viewing 1 replies (of 1 total)
  • hi.. Sorry to intrude here, but wanted to know if I could you explain how you managed to use the “post_date” to filter the post. I cant. Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Post Date filter bug’ is closed to new replies.