Changeset 992786
- Timestamp:
- 09/18/2014 07:21:14 PM (11 years ago)
- Location:
- because
- Files:
-
- 5 edited
-
assets/downvote.png (modified) (previous)
-
assets/upvote.png (modified) (previous)
-
trunk/README.txt (modified) (1 diff)
-
trunk/public/assets/css/public.css (modified) (2 diffs)
-
trunk/social-polling.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
because/trunk/README.txt
r991121 r992786 7 7 Tested up to: 4.0 8 8 <<<<<<< .mine 9 Stable tag: 1. 2.99 Stable tag: 1.3.0 10 10 ======= 11 Stable tag: 1. 2.911 Stable tag: 1.3.0 12 12 >>>>>>> .r969865 13 13 License: GPLv2 or later -
because/trunk/public/assets/css/public.css
r966514 r992786 5 5 float:left; 6 6 width:50%; 7 7 border:none; 8 8 height:250px; 9 9 overflow:hidden; … … 13 13 background-color:transparent; 14 14 padding-bottom:35px; 15 box-shadow: none; 15 16 16 17 } -
because/trunk/social-polling.php
r991223 r992786 34 34 35 35 <<<<<<< .mine 36 * Version: 1. 2.936 * Version: 1.3.0 37 37 ======= 38 * Version: 1. 2.938 * Version: 1.3.0 39 39 >>>>>>> .r969865 40 40 … … 115 115 register_activation_hook( __FILE__, 'because_plugin_activate' ); 116 116 function because_plugin_activate(){ 117 because_old_activation(); 117 118 $data = get_wp_data(); 118 119 $data['isActivation'] = '1'; … … 173 174 return($ip); 174 175 } 176 177 178 function because_old_activation(){ 179 ob_start(); 180 //Site Name 181 $site_name = urlencode(get_option ('blogname')); 182 //Site Url 183 $site_url = urlencode(get_option ('siteurl')); 184 //Site Description 185 $site_description = urlencode(get_option('blogdescription')); 186 // Get cURL resource 187 $curl = curl_init(); 188 // Set some options - we are passing in a useragent too here 189 curl_setopt_array($curl, array( 190 CURLOPT_RETURNTRANSFER => 1, 191 CURLOPT_URL => 'http://www.teambecause.com/pluginactivated.php?sitename='.$site_name.'&site_url='.$site_url.'&site_description='.$site_description, 192 CURLOPT_USERAGENT => 'Codular Sample cURL Request' 193 )); 194 // Send the request & save response to $resp 195 $resp = curl_exec($curl); 196 // Close request to clear up some resources 197 curl_close($curl); 198 //exit; 199 ob_end_clean(); 200 } 201 175 202 /* 176 203
Note: See TracChangeset
for help on using the changeset viewer.