PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 9.3.2
Jetpack – WP Security, Backup, Speed, & Growth v9.3.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 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / minileven.php

minileven.php in Jetpack – WP Security, Backup, Speed, & Growth 9.3.2, at modules/minileven.php

55 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Deprecated since 8.3.0
4 *
5 * Originally we created the mobile theme feature as a fall-back
6 * when the regular theme did not include a mobile view.
7 * Most themes include a mobile view by default now, so the feature is no longer necessary.
8 *
9 * Visit this page for some alternatives:
10 * https://jetpack.com/support/mobile-theme/
11 *
12 * If you MUST continue to use this module, you can use this standalone plugin as a temporary solution:
13 * https://github.com/Automattic/minileven
14 * However, we do not recommend it.
15 *
16 * @deprecated
17 * @package Jetpack
18 */
19
20 /**
21 * Deactivate module if it is still active.
22 *
23 * @since 8.3.0
24 */
25 if ( Jetpack::is_module_active( 'minileven' ) ) {
26 Jetpack::deactivate_module( 'minileven' );
27 }
28
29 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
30 _deprecated_file( basename( __FILE__ ), 'jetpack-8.3.0' );
31
32 /**
33 * Check if we are on mobile.
34 */
35 function jetpack_check_mobile() {
36 _deprecated_function( __FUNCTION__, 'jetpack-8.3.0', 'jetpack_is_mobile' );
37
38 return jetpack_is_mobile();
39 }
40
41 /**
42 * Should exclude from mobile?
43 */
44 function jetpack_mobile_exclude() {
45 _deprecated_function( __FUNCTION__, 'jetpack-8.3.0' );
46 }
47
48 /**
49 * Setup function for the Mobile theme.
50 * Can be overwritten in child themes.
51 */
52 function minileven_setup() {
53 _deprecated_function( __FUNCTION__, 'jetpack-8.3.0' );
54 }
55