Changeset 3111270
- Timestamp:
- 07/02/2024 04:24:02 PM (20 months ago)
- Location:
- tinywp-mobile-detect/trunk
- Files:
-
- 1 added
- 3 edited
-
changelog.txt (modified) (1 diff)
-
inc/TinyWP_Mobile_Detect.php (added)
-
mobile-detect.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tinywp-mobile-detect/trunk/changelog.txt
r3107340 r3111270 1 = 3.1.0 = 2 + Restore old naming scheme. 3 1 4 = 3.0.2 = 2 5 + Fixed an issue with file name. -
tinywp-mobile-detect/trunk/mobile-detect.php
r3107340 r3111270 8 8 * Author: Pothi Kalimuthu 9 9 * Author URI: https://www.tinywp.in/ 10 * Version: 3. 0.210 * Version: 3.1.0 11 11 * Requires at least: 3.0 12 12 * Requires PHP: 7.4 … … 17 17 defined('ABSPATH') or die('No direct access allowed!'); 18 18 19 if( ! class_exists( 'TinyWP_MobileDetect' ) ) 19 if( ! class_exists( 'TinyWP_Mobile_Detect' ) ) { 20 require_once( __DIR__ . '/inc/TinyWP_Mobile_Detect.php' ); 21 $tinywp_mobile_detect = new TinyWP_Mobile_Detect; 22 } 23 elseif( ! class_exists( 'TinyWP_MobileDetect' ) ) { 20 24 require_once( __DIR__ . '/inc/TinyWP_MobileDetect.php' ); 25 $tinywp_mobile_detect = new TinyWP_MobileDetect; 26 } 21 27 22 $pothikalimuthu_mobile_detect = new TinyWP_MobileDetect; 23 24 if( $pothikalimuthu_mobile_detect->isMobile() && !$pothikalimuthu_mobile_detect->isTablet() ) 28 if( $tinywp_mobile_detect->isMobile() && !$tinywp_mobile_detect->isTablet() ) 25 29 add_filter( 'wp_is_mobile', '__return_true' ); 26 30 else -
tinywp-mobile-detect/trunk/readme.txt
r3107340 r3111270 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.4 8 Stable tag: 3. 0.28 Stable tag: 3.1.0 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 66 66 Changelog for upstream Mobile Detect library can be found at [https://github.com/serbanghita/Mobile-Detect/releases](https://github.com/serbanghita/Mobile-Detect/releases). 67 67 68 = 3.1.0 = 69 + Restore old naming scheme. 70 68 71 = 3.0.2 = 69 72 + Fixed an issue with file name.
Note: See TracChangeset
for help on using the changeset viewer.