Plugin Directory

Changeset 3111270


Ignore:
Timestamp:
07/02/2024 04:24:02 PM (20 months ago)
Author:
pothi
Message:

Bring back old naming scheme

Location:
tinywp-mobile-detect/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • tinywp-mobile-detect/trunk/changelog.txt

    r3107340 r3111270  
     1= 3.1.0 =
     2+ Restore old naming scheme.
     3
    14= 3.0.2 =
    25+ Fixed an issue with file name.
  • tinywp-mobile-detect/trunk/mobile-detect.php

    r3107340 r3111270  
    88 * Author: Pothi Kalimuthu
    99 * Author URI: https://www.tinywp.in/
    10  * Version: 3.0.2
     10 * Version: 3.1.0
    1111 * Requires at least: 3.0
    1212 * Requires PHP: 7.4
     
    1717defined('ABSPATH') or die('No direct access allowed!');
    1818
    19 if( ! class_exists( 'TinyWP_MobileDetect' ) )
     19if( ! class_exists( 'TinyWP_Mobile_Detect' ) ) {
     20    require_once( __DIR__ . '/inc/TinyWP_Mobile_Detect.php' );
     21    $tinywp_mobile_detect = new TinyWP_Mobile_Detect;
     22}
     23elseif( ! class_exists( 'TinyWP_MobileDetect' ) ) {
    2024    require_once( __DIR__ . '/inc/TinyWP_MobileDetect.php' );
     25    $tinywp_mobile_detect = new TinyWP_MobileDetect;
     26}
    2127
    22 $pothikalimuthu_mobile_detect = new TinyWP_MobileDetect;
    23 
    24 if( $pothikalimuthu_mobile_detect->isMobile() && !$pothikalimuthu_mobile_detect->isTablet() )
     28if( $tinywp_mobile_detect->isMobile() && !$tinywp_mobile_detect->isTablet() )
    2529    add_filter( 'wp_is_mobile', '__return_true' );
    2630else
  • tinywp-mobile-detect/trunk/readme.txt

    r3107340 r3111270  
    66Tested up to: 6.5
    77Requires PHP: 7.4
    8 Stable tag: 3.0.2
     8Stable tag: 3.1.0
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6666Changelog for upstream Mobile Detect library can be found at [https://github.com/serbanghita/Mobile-Detect/releases](https://github.com/serbanghita/Mobile-Detect/releases).
    6767
     68= 3.1.0 =
     69+ Restore old naming scheme.
     70
    6871= 3.0.2 =
    6972+ Fixed an issue with file name.
Note: See TracChangeset for help on using the changeset viewer.