Changeset 490940
- Timestamp:
- 01/17/2012 04:31:27 AM (14 years ago)
- Location:
- stop-sopa
- Files:
-
- 12 added
- 2 edited
-
tags/1.06 (added)
-
tags/1.06/arrow_down.png (added)
-
tags/1.06/arrow_left.png (added)
-
tags/1.06/arrow_right.png (added)
-
tags/1.06/arrow_up.png (added)
-
tags/1.06/blackout.png (added)
-
tags/1.06/close.png (added)
-
tags/1.06/readme.txt (added)
-
tags/1.06/stop-sopa.php (added)
-
tags/1.06/stopsopa-v.png (added)
-
tags/1.06/stopsopa.png (added)
-
tags/1.06/style.css (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/stop-sopa.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
stop-sopa/trunk/readme.txt
r490655 r490940 7 7 Requires at least: 3.0 8 8 Tested up to: 3.3.1 9 Stable tag: 1.0 59 Stable tag: 1.06 10 10 11 This plugin adds small protest box to your website and switch it to "Blackout Day" mode .11 This plugin adds small protest box to your website and switch it to "Blackout Day" mode on 18th January 2012. 12 12 13 13 == Description == … … 37 37 == Changelog == 38 38 39 = 1.06 = 40 * Source code optimized 41 39 42 = 1.05 = 40 43 * Typos fixed … … 51 54 == Upgrade Notice == 52 55 56 = 1.06 = 57 As usually! 58 53 59 = 1.05 = 54 60 As usually! -
stop-sopa/trunk/stop-sopa.php
r490655 r490940 2 2 /* 3 3 Plugin Name: Stop SOPA 4 Description: SOPA breaks our internet freedom! Stop SOPA!4 Description: Plugin adds small protest box to your website and switch it to "Blackout Day" mode. 5 5 Plugin URI: http://www.icprojects.net/stop-sopa.html 6 Version: 1.0 56 Version: 1.06 7 7 Author: Ivan Churakov 8 8 Author URI: http://www.freelancer.com/affiliates/ichurakov/ 9 9 */ 10 10 wp_enqueue_script("jquery"); 11 define('PD_VERSION', 1.0 5);11 define('PD_VERSION', 1.06); 12 12 13 13 class stopsopa_class … … 15 15 var $options; 16 16 var $error; 17 var $info;18 17 19 18 var $exists; … … 43 42 $this->error = stripslashes($_COOKIE["stopsopa_error"]); 44 43 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"]));50 44 } 51 45
Note: See TracChangeset
for help on using the changeset viewer.