Ticket #30297: 30297.3-no-conditional.patch
| File 30297.3-no-conditional.patch, 994 bytes (added by , 11 years ago) |
|---|
-
wp-includes/general-template.php
1744 1744 } 1745 1745 } 1746 1746 1747 if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false || stripos($_SERVER['HTTP_USER_AGENT'], 'camino') !== false || stripos($_SERVER['HTTP_USER_AGENT'], 'safari') !== false)1748 $ak_title_separator = "\n";1749 else1750 $ak_title_separator = ', ';1751 1752 1747 $ak_titles_for_day = array(); 1753 1748 $ak_post_titles = $wpdb->get_results("SELECT ID, post_title, DAYOFMONTH(post_date) as dom " 1754 1749 ."FROM $wpdb->posts " … … 1767 1762 if ( empty($ak_titles_for_day["$ak_post_title->dom"]) ) // first one 1768 1763 $ak_titles_for_day["$ak_post_title->dom"] = $post_title; 1769 1764 else 1770 $ak_titles_for_day["$ak_post_title->dom"] .= $ak_title_separator. $post_title;1765 $ak_titles_for_day["$ak_post_title->dom"] .= "\n" . $post_title; 1771 1766 } 1772 1767 } 1773 1768
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)