With this user agent "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3 like Mac OS X; en_us)" this variable look_for = 'iPad; CPU OS' in the line 436 is not being triggered.
While other iPads missing the U; like this "Mozilla/5.0 (iPad; CPU OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D167 Safari/9537.53" are being detected correctly.
With this user agent "AppleCoreMedia/1.0.0.10B329 (iPad; U; CPU OS 6_1_3 like Mac OS X; en_us)" this variable look_for = 'iPad; CPU OS' in the line 436 is not being triggered.
While other iPads missing the U; like this "Mozilla/5.0 (iPad; CPU OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D167 Safari/9537.53" are being detected correctly.