Plugin Directory

Changeset 1729460


Ignore:
Timestamp:
09/13/2017 04:15:48 PM (9 years ago)
Author:
truser
Message:

Don't go v1.1

Location:
wp-dont-go/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-dont-go/trunk/admin_page.php

    r1710572 r1729460  
    2323        add_option('dontgoDelay', '1000');
    2424        add_option('dontgoFavicon', dontgo.'/assets/img/icon.png');
     25        $secretAlg = wordwrap(strtoupper(md5(str_replace("www.", "", getenv("HTTP_HOST")))),4,'-',true);
     26        $domain = str_replace("www.", "", getenv("HTTP_HOST"));
     27        $apiURL = 'https://api.wpajans.net/v1/?action=siteAdd&secret='.$secretAlg.'&domain='.$domain.'&type=plugin&product=dontgo&licence=wp';
     28        $ch = curl_init();
     29        curl_setopt($ch,CURLOPT_URL,$apiURL);
     30        curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
     31        $output=curl_exec($ch);
     32        curl_close($ch);       
    2533    }
    2634
  • wp-dont-go/trunk/dontgo.php

    r1712805 r1729460  
    55Plugin URI: https://wpajans.net/eklentiler/
    66Description: This plug-in changes the tab title and favicon when your visitors skip to another tab.
    7 Version: 1.0
     7Version: 1.1
    88Author: WPAjans - Mustafa KÜÇÜK
    99Author URI: https://wpajans.net
     
    1313define( 'dontgo', plugins_url('', __FILE__) );
    1414define( 'dontgoPath', plugin_dir_path( __FILE__ ).'dontgo.php' );
    15 define( 'dontgoVersion', '1.0' );
     15define( 'dontgoVersion', '1.1' );
    1616define( 'dontgoURI', 'https://wordpress.org/plugins/wp-dont-go' );
    1717define( 'dontgoSR', 'https://wordpress.org/support/plugin/wp-dont-go' );
  • wp-dont-go/trunk/readme.txt

    r1712805 r1729460  
    44Requires at least: 3.0
    55Tested up to: 4.8.1
    6 Stable tag: 1.0
     6Stable tag: 1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313This plug-in changes the tab title and favicon when your visitors skip to another tab.
     14Thanks, Don't GO JS : https://github.com/tiaanduplessis/dont-go
    1415
    1516== Installation ==
Note: See TracChangeset for help on using the changeset viewer.