Changeset 1509000
- Timestamp:
- 10/05/2016 09:46:07 PM (9 years ago)
- Location:
- newsplugin
- Files:
-
- 3 edited
- 4 copied
-
tags/1.0.7 (copied) (copied from newsplugin/trunk)
-
tags/1.0.7/news-plugin-utils.php (copied) (copied from newsplugin/trunk/news-plugin-utils.php) (4 diffs)
-
tags/1.0.7/news-plugin.php (copied) (copied from newsplugin/trunk/news-plugin.php) (1 diff)
-
tags/1.0.7/readme.txt (copied) (copied from newsplugin/trunk/readme.txt) (2 diffs)
-
trunk/news-plugin-utils.php (modified) (4 diffs)
-
trunk/news-plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
newsplugin/tags/1.0.7/news-plugin-utils.php
r1508894 r1509000 37 37 static function http_remote_get_curl($url) { 38 38 if(!function_exists('curl_version')) { 39 return(array('', 'Error: CURL disabled')); 39 return(array('', 'Error: CURL disabled or not installed')); 40 } 41 if (!function_exists('curl_init') || !function_exists('curl_exec')) { 42 return(array('', 'Error: CURL disabled by security settings')); 40 43 } 41 44 $ch = curl_init($url); … … 176 179 static function get_system_info() { 177 180 $my_theme = wp_get_theme(); 178 $curl_ver = curl_version();179 181 $curl_test = self::http_remote_get_curl_test(); 180 182 $socket_test = self::http_remote_get_socket_test(); … … 182 184 $socket_ping = self::http_remote_get_socket_ping(); 183 185 $user_info = self::get_user_info(); 186 187 if(function_exists('curl_version')) { 188 $curl_ver = curl_version(); 189 $curl_status = 'Enabled'; 190 if (!function_exists('curl_init') || !function_exists('curl_exec')) { 191 $curl_status = 'Disabled by security settings'; 192 } 193 } else { 194 $curl_status = 'Disabled'; 195 } 184 196 185 197 $system_info = array( … … 209 221 'mysql_client_info' => mysql_get_client_info(), 210 222 'mysql_proto_info' => mysql_get_proto_info(), 211 'is_Curl' => function_exists('curl_version') ? 'Enabled' : 'Disabled',223 'is_Curl' => $curl_status, 212 224 'curl_version' => $curl_ver['version'], 213 225 'curl_ssl' => $curl_ver['ssl_version'], -
newsplugin/tags/1.0.7/news-plugin.php
r1508894 r1509000 5 5 Description: Create custom newsfeeds for your website. Choose keywords, number of articles and other settings, put the feed wherever you want using widgets or shortcodes, and watch the fresh relevant news headlines appear on your pages (or approve and publish them manually). You can always shape the news right from your website, remove unwanted articles or star the good ones. Thanks for using the NewsPlugin, and we hope you like it. 6 6 Author: newsplugin.com 7 Version: 1.0. 67 Version: 1.0.7 8 8 Author URI: http://newsplugin.com/ 9 9 */ -
newsplugin/tags/1.0.7/readme.txt
r1508895 r1509000 3 3 Tags: news, news plugin, news feed, news feeds, newsfeed, newsfeeds, news syndication, shortcode, shortcodes, widget, widgets, widget area, widget areas 4 4 Requires at least: 3.9 5 Tested up to: 4. 5.36 Stable tag: 1.0. 65 Tested up to: 4.6.1 6 Stable tag: 1.0.7 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 73 73 == Changelog == 74 74 75 = 1.0.7 = 76 Release Date: October 5, 2016 77 * Minor improvements related to Wordpress version 4.6 78 75 79 = 1.0.6 = 76 80 Release Date: October 5, 2016 -
newsplugin/trunk/news-plugin-utils.php
r1508894 r1509000 37 37 static function http_remote_get_curl($url) { 38 38 if(!function_exists('curl_version')) { 39 return(array('', 'Error: CURL disabled')); 39 return(array('', 'Error: CURL disabled or not installed')); 40 } 41 if (!function_exists('curl_init') || !function_exists('curl_exec')) { 42 return(array('', 'Error: CURL disabled by security settings')); 40 43 } 41 44 $ch = curl_init($url); … … 176 179 static function get_system_info() { 177 180 $my_theme = wp_get_theme(); 178 $curl_ver = curl_version();179 181 $curl_test = self::http_remote_get_curl_test(); 180 182 $socket_test = self::http_remote_get_socket_test(); … … 182 184 $socket_ping = self::http_remote_get_socket_ping(); 183 185 $user_info = self::get_user_info(); 186 187 if(function_exists('curl_version')) { 188 $curl_ver = curl_version(); 189 $curl_status = 'Enabled'; 190 if (!function_exists('curl_init') || !function_exists('curl_exec')) { 191 $curl_status = 'Disabled by security settings'; 192 } 193 } else { 194 $curl_status = 'Disabled'; 195 } 184 196 185 197 $system_info = array( … … 209 221 'mysql_client_info' => mysql_get_client_info(), 210 222 'mysql_proto_info' => mysql_get_proto_info(), 211 'is_Curl' => function_exists('curl_version') ? 'Enabled' : 'Disabled',223 'is_Curl' => $curl_status, 212 224 'curl_version' => $curl_ver['version'], 213 225 'curl_ssl' => $curl_ver['ssl_version'], -
newsplugin/trunk/news-plugin.php
r1508894 r1509000 5 5 Description: Create custom newsfeeds for your website. Choose keywords, number of articles and other settings, put the feed wherever you want using widgets or shortcodes, and watch the fresh relevant news headlines appear on your pages (or approve and publish them manually). You can always shape the news right from your website, remove unwanted articles or star the good ones. Thanks for using the NewsPlugin, and we hope you like it. 6 6 Author: newsplugin.com 7 Version: 1.0. 67 Version: 1.0.7 8 8 Author URI: http://newsplugin.com/ 9 9 */ -
newsplugin/trunk/readme.txt
r1508895 r1509000 3 3 Tags: news, news plugin, news feed, news feeds, newsfeed, newsfeeds, news syndication, shortcode, shortcodes, widget, widgets, widget area, widget areas 4 4 Requires at least: 3.9 5 Tested up to: 4. 5.36 Stable tag: 1.0. 65 Tested up to: 4.6.1 6 Stable tag: 1.0.7 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 73 73 == Changelog == 74 74 75 = 1.0.7 = 76 Release Date: October 5, 2016 77 * Minor improvements related to Wordpress version 4.6 78 75 79 = 1.0.6 = 76 80 Release Date: October 5, 2016
Note: See TracChangeset
for help on using the changeset viewer.