[wp-hackers] Objectifying the browser detection
Stephen O'Connor
steve at stevarino.com
Fri Jul 30 00:35:13 UTC 2004
Does wp facilitate this already? Why would browser detection be needed?
Wouldn't this go against the WP mantra of standardization?
Yes, I wholly admit to being a standards-stickler.
- Stephen
Chris Coggburn wrote:
> That would actually make life alot easier, I think that alot of things
> in wordpress need to move to objects.
>
> David House wrote:
>
>> Just a note that maybe we should move the browser detection globals
>> ($is_IE,
>> $is_gecko and so on) over to a $ua object or something? Maybe:
>>
>> class browser {
>> function uastring() { /* returns ua's identifying string */ }
>> var $is_IE;
>> var $is_gecko;
>> var $is_lynx;
>> //etc.
>> }
>>
>> Just for some more global reduction.
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>> _______________________________________________
>> hackers mailing list
>> hackers at wordpress.org
>> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>>
>>
>
>
More information about the hackers
mailing list