Plugin Directory

Changeset 1179600


Ignore:
Timestamp:
06/12/2015 12:27:50 PM (11 years ago)
Author:
mln141
Message:

Fixed bug when Mobile Detect Library was called from other plugin/code

Location:
mobile-detective/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mobile-detective/trunk/MobileDetective.php

    r1179422 r1179600  
    4747                            wp_safe_redirect( $location);return ($atts['redirect']);
    4848                        } return ("url not set");*/
    49         $detect = new Mobile_Detect;
     49        $detect = new Mobile_Detect_forMD;
    5050        $s=file_get_contents(plugin_dir_path(__FILE__).'filters.txt');
    5151        $a=explode (",",$s);
  • mobile-detective/trunk/Mobile_Detect.php

    r1179422 r1179600  
    2626 */
    2727
    28 class Mobile_Detect
     28class Mobile_Detect_forMD
    2929{
    3030    /**
Note: See TracChangeset for help on using the changeset viewer.