Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- collapsArchList.php.orig Thu Jul 05 18:34:42 2012
- +++ collapsArchList.php Thu Jul 05 18:50:50 2012
- @@ -106,7 +106,7 @@
- $wpdb->term_taxonomy.term_id
- WHERE post_status='publish' $postTypeQuery $inExcludeYearQuery $inExcludeCatQuery
- GROUP BY $wpdb->posts.ID
- - ORDER BY $wpdb->posts.post_date $sort";
- + ORDER BY $wpdb->posts.post_date $archSortOrder";
- $allPosts=$wpdb->get_results($postquery);
- @@ -359,7 +359,7 @@
- }
- $tmp_text = '';
- if ($postTitleLength>0 && strlen($title_text)>$postTitleLength ) {
- - $tmp_text = substr($title_text, 0, $postTitleLength );
- + $tmp_text = mb_substr($title_text, 0, $postTitleLength );
- $tmp_text .= ' …';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement