Changeset 620618
- Timestamp:
- 11/03/2012 06:43:35 AM (13 years ago)
- Location:
- today-in-history/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
today_in_history.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
today-in-history/trunk/readme.txt
r589629 r620618 7 7 Requires at least: 3.0 8 8 Tested up to: 3.4.1 9 Stable tag: 0. 4.29 Stable tag: 0.5 10 10 11 Today In History provides a widget that displays notable events that have occurred previously on this day in history.11 Today In History provides a simple widget that displays notable events that have occurred previously on this day in history. 12 12 13 13 == Description == … … 71 71 == Changelog == 72 72 73 = 0.5 [2012-11-03] = 74 * Fixed and Issue that caused the results to not return the correct day 75 73 76 = 0.4.2 [2012-08-23] = 74 77 * Updated for Wordpress 3.4.1 -
today-in-history/trunk/today_in_history.php
r589629 r620618 19 19 curl_setopt($curl, CURLOPT_URL, $url); 20 20 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); 21 curl_setopt($curl, CURLOPT_USERAGENT, "Today In History Widget v0. 4.2");21 curl_setopt($curl, CURLOPT_USERAGENT, "Today In History Widget v0.5"); 22 22 $response = curl_exec($curl); 23 23 curl_close($curl); … … 100 100 } 101 101 102 //echo $key;//c81d8d19f48f4fe33b9126fde9b7215d 102 //echo $key;//c81d8d19f48f4fe33b9126fde9b7215d//05aedcf93a860f6ad063ab67d147d3af 103 103 104 104 if($key != 0 && strlen($key) == 32){ … … 116 116 } 117 117 } 118 $history_url = "http://www.macnative.com/history/?tihKey=".$key."& day=".strftime('%j');118 $history_url = "http://www.macnative.com/history/?tihKey=".$key."&time=".strftime('%s'); 119 119 if($tih_cats != ""){ 120 120 $history_url .= "&cats=".$tih_cats;
Note: See TracChangeset
for help on using the changeset viewer.