Opened 12 years ago
Closed 8 years ago
#24252 closed enhancement (wontfix)
Windows Phones are ignored by wp_is_mobile
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
Reported in the forums by vaibhav3 - http://wordpress.org/support/topic/wp_is_mobile-returning-false-values/
wp_is_mobile() doesn't have an 'If Windows Phone' clause which throws off some phones which apparently don't have a 'mobile' fall back.
Attached is a patch that adds it in.
Attachments (2)
Change History (12)
#1
@
12 years ago
The touch features of the admin UI will need to be tested in WinPho if we add this in. I know that WinPho 7 had some peculiarities with touch events which would need testing.
#4
@
11 years ago
The check works and does recognize my Windows Phone 7.5.
My question is what needs to be checked to make it okay to have Windows Phone included?
Further I think that even if it doesnt work perfectly it might still be better than being on the "desktop" version.
#7
follow-up:
↓ 9
@
11 years ago
- Milestone changed from 4.0 to Future Release
24252.2.diff is just Ipstenu's patch updated with correct path for src.
The reason Windows Phone isn't currently included in is_mobile()
is due to odd behaviour in the admin area in Windows Phone 7 when it was treated as a mobile device (some discussion on #20614).
Here's a list of things that'll need to be tested in the admin area using Windows Phone 7 and 8 in order to get this patch in:
- Viewport width on the login screen and general admin screens
- Access to controls in the admin area which only appear on hover for desktop devices, for example the action links on post listing screens (and Comments screen, Users screen, etc)
- Using the rich editor (TinyMCE)
- Adding and reordering items on the Widgets screen and the Menus screen
Hands up who has access to a Windows Phone device they can try this with? (With the patch applied of course.)
#9
in reply to:
↑ 7
@
10 years ago
Replying to johnbillion:
24252.2.diff is just Ipstenu's patch updated with correct path for src.
The reason Windows Phone isn't currently included in
is_mobile()
is due to odd behaviour in the admin area in Windows Phone 7 when it was treated as a mobile device (some discussion on #20614).
Here's a list of things that'll need to be tested in the admin area using Windows Phone 7 and 8 in order to get this patch in:
- Viewport width on the login screen and general admin screens
- Access to controls in the admin area which only appear on hover for desktop devices, for example the action links on post listing screens (and Comments screen, Users screen, etc)
- Using the rich editor (TinyMCE)
- Adding and reordering items on the Widgets screen and the Menus screen
Hands up who has access to a Windows Phone device they can try this with? (With the patch applied of course.)
I can definitely try this out on Windows 10 Mobile.
Add windows phone to ismobile check