PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.1
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.1
16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 All 504 releases
← All changes | class.jetpack-user-agent.php +0 -17 13.2.416.3-a.1 View file →
@@ -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.