Plugin Directory

Changeset 490940


Ignore:
Timestamp:
01/17/2012 04:31:27 AM (14 years ago)
Author:
ichurakov
Message:
 
Location:
stop-sopa
Files:
12 added
2 edited

Legend:

Unmodified
Added
Removed
  • stop-sopa/trunk/readme.txt

    r490655 r490940  
    77Requires at least: 3.0
    88Tested up to: 3.3.1
    9 Stable tag: 1.05
     9Stable tag: 1.06
    1010
    11 This plugin adds small protest box to your website and switch it to "Blackout Day" mode.
     11This plugin adds small protest box to your website and switch it to "Blackout Day" mode on 18th January 2012.
    1212
    1313== Description ==
     
    3737== Changelog ==
    3838
     39= 1.06 =
     40* Source code optimized
     41
    3942= 1.05 =
    4043* Typos fixed
     
    5154== Upgrade Notice ==
    5255
     56= 1.06 =
     57As usually!
     58
    5359= 1.05 =
    5460As usually!
  • stop-sopa/trunk/stop-sopa.php

    r490655 r490940  
    22/*
    33Plugin Name: Stop SOPA
    4 Description: SOPA breaks our internet freedom! Stop SOPA!
     4Description: Plugin adds small protest box to your website and switch it to "Blackout Day" mode.
    55Plugin URI: http://www.icprojects.net/stop-sopa.html
    6 Version: 1.05
     6Version: 1.06
    77Author: Ivan Churakov
    88Author URI: http://www.freelancer.com/affiliates/ichurakov/
    99*/
    1010wp_enqueue_script("jquery");
    11 define('PD_VERSION', 1.05);
     11define('PD_VERSION', 1.06);
    1212
    1313class stopsopa_class
     
    1515    var $options;
    1616    var $error;
    17     var $info;
    1817   
    1918    var $exists;
     
    4342            $this->error = stripslashes($_COOKIE["stopsopa_error"]);
    4443            setcookie("stopsopa_error", "", time()+30, "/", ".".str_replace("www.", "", $_SERVER["SERVER_NAME"]));
    45         }
    46         if (!empty($_COOKIE["stopsopa_info"]))
    47         {
    48             $this->info = stripslashes($_COOKIE["stopsopa_info"]);
    49             setcookie("stopsopa_info", "", time()+30, "/", ".".str_replace("www.", "", $_SERVER["SERVER_NAME"]));
    5044        }
    5145
Note: See TracChangeset for help on using the changeset viewer.