Ticket #30297: get-calendar-http-user-agent.patch
| File get-calendar-http-user-agent.patch, 716 bytes (added by , 12 years ago) |
|---|
-
wp-includes/general-template.php
1665 1665 $daywithpost = array(); 1666 1666 } 1667 1667 1668 if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false || stripos($_SERVER['HTTP_USER_AGENT'], 'camino') !== false || stripos($_SERVER['HTTP_USER_AGENT'], 'safari') !== false) 1668 $ua = isset( $_SERVER['HTTP_USER_AGENT'] ) ? $_SERVER['HTTP_USER_AGENT'] : ''; 1669 if ( strpos($ua, 'MSIE') !== false || stripos($ua, 'camino') !== false || stripos($ua, 'safari') !== false ) 1669 1670 $ak_title_separator = "\n"; 1670 1671 else 1671 1672 $ak_title_separator = ', ';