| @@ -8,12 +8,8 @@ | ||
| 8 | 8 | * |
| 9 | 9 | * Note: we cannot get rid of the class and its methods yet as multiple plugins |
| 10 | 10 | * still use it. See https://github.com/Automattic/jetpack/pull/16434/files#r667190852 |
| 11 | 11 | * |
| 12 | - * @phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase | |
| 13 | - * @phpcs:disable WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase | |
| 14 | - * @phpcs:disable WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase | |
| 15 | - * @phpcs:disable WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid | |
| 16 | 12 | * @phpcs:disable WordPress.Files.FileName |
| 17 | 13 | */ |
| 18 | 14 | |
| 19 | 15 | use Automattic\Jetpack\Device_Detection\User_Agent_Info; |
| @@ -327,21 +323,8 @@ | ||
| 327 | 323 | */ |
| 328 | 324 | public static function is_opera_mini_dumb() { |
| 329 | 325 | self::warn_deprecated( __METHOD__, '::is_opera_mini_dumb' ); |
| 330 | 326 | return User_Agent_Info::is_opera_mini_dumb(); |
| 331 | - } | |
| 332 | - | |
| 333 | - /** | |
| 334 | - * Detects if the current browser is Opera Mobile or Mini. | |
| 335 | - * | |
| 336 | - * Opera Mini 5 Beta: Opera/9.80 (J2ME/MIDP; Opera Mini/5.0.15650/756; U; en) Presto/2.2.0 | |
| 337 | - * Opera Mini 8: Opera/8.01 (J2ME/MIDP; Opera Mini/3.0.6306/1528; en; U; ssr) | |
| 338 | - * | |
| 339 | - * @deprecated 8.7.0 Use Automattic\Jetpack\Device_Detection\User_Agent_Info | |
| 340 | - */ | |
| 341 | - public static function is_OperaMobile() { | |
| 342 | - self::warn_deprecated( __METHOD__, '::is_opera_mini() or \Automattic\Jetpack\Device_Detection\User_Agent_Info::is_opera_mobile()' ); | |
| 343 | - return User_Agent_Info::is_OperaMobile(); | |
| 344 | 327 | } |
| 345 | 328 | |
| 346 | 329 | /** |
| 347 | 330 | * Detects if the current browser is a Windows Phone 7 device. |