IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 587 | 587 | if ( get_query_var('day') ) |
| 588 | 588 | $where .= $wpdb->prepare(" AND DAYOFMONTH(post_date) = %d", get_query_var('day')); |
| 589 | 589 | |
| 590 | | $post_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE $where AND post_status = 'publish'"); |
| | 590 | $post_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE $where AND post_status = 'publish' ORDER BY post_name ASC"); |
| 591 | 591 | if ( ! $post_id ) |
| 592 | 592 | return false; |
| 593 | 593 | if ( get_query_var( 'feed' ) ) |