Opened 15 years ago
Closed 14 years ago
#15319 closed defect (bug) (wontfix)
Add IE version to browser detection.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 3.1 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
Allow theme/plugin authors to use specific code depending on Internet Explorer Versions.
$is_IE remains the same true|false.
$is_winIE/$is_macIE returns version number.
Example:
global $is_winIE; echo $win_IE;
result: 8.0
Attachments (3)
Change History (7)
#2
in reply to:
↑ 1
@
15 years ago
Replying to ericmann:
Considering IE for Mac was discontinued in 2003 and official support ended in 2005, do we really need to maintain an
$is_macIE
variable?
I dont know, I didnt add $is_macIE
maybe it should be removed if it is no longer used.
Also, IE versions make more sense from a theme (CSS & JS) perspective ... not from a server (PHP) perspective. What's the reasoning for adding an IE version variable to core?
To enable theme authors to send version specific css, or even different doctypes html5 for example. At least the option would be there.
Considering IE for Mac was discontinued in 2003 and official support ended in 2005, do we really need to maintain an
$is_macIE
variable?Also, IE versions make more sense from a theme (CSS & JS) perspective ... not from a server (PHP) perspective. What's the reasoning for adding an IE version variable to core?