Changeset 135357
- Timestamp:
- 07/15/2009 11:55:48 AM (17 years ago)
- Location:
- plugin-wonderful/trunk
- Files:
-
- 3 edited
-
classes/PluginWonderful.php (modified) (1 diff)
-
plugin-wonderful.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugin-wonderful/trunk/classes/PluginWonderful.php
r132566 r135357 19 19 */ 20 20 function _retrieve_url($url) { 21 return @file_get_contents($url); 21 if (extension_loaded('curl')) { 22 $ch = curl_init($url); 23 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 24 $result = curl_exec($ch); 25 curl_close($ch); 26 return $result; 27 } else { 28 return @file_get_contents($url); 29 } 22 30 } 23 31 -
plugin-wonderful/trunk/plugin-wonderful.php
r132566 r135357 4 4 Plugin URI: http://www.coswellproductions.com/wordpress/wordpress-plugins/ 5 5 Description: Easily embed a Project Wonderful publisher's advertisements. 6 Version: 0.5. 16 Version: 0.5.2 7 7 Author: John Bintz 8 8 Author URI: http://www.coswellproductions.com/wordpress/ -
plugin-wonderful/trunk/readme.txt
r132566 r135357 4 4 Requires at least: 2.7 5 5 Tested up to: 2.8 6 Stable tag: 0.5. 16 Stable tag: 0.5.2 7 7 Donate link: http://www.coswellproductions.com/wordpress/wordpress-plugins/ 8 8
Note: See TracChangeset
for help on using the changeset viewer.