Changeset 1449649
- Timestamp:
- 07/06/2016 12:46:59 AM (10 years ago)
- Location:
- udorami-lists/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
udorami-lists.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
udorami-lists/trunk/readme.txt
r1437965 r1449649 5 5 Requires at least: 3.9 6 6 Tested up to: 4.5.2 7 Stable tag: 1.3. 27 Stable tag: 1.3.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 == Changelog == 61 61 62 = 1.3.3 = 63 Added some better error handling when is_wp_error is true. 64 62 65 = 1.3.2 = 63 66 Fixing up plugin to indicate udorami.com the company owns the plugin -
udorami-lists/trunk/udorami-lists.php
r1437965 r1449649 2 2 /** 3 3 * @package Udorami_Lists 4 * @version 1.3. 24 * @version 1.3.3 5 5 */ 6 6 /* … … 8 8 Plugin URI: http://wordpress.org/extend/plugins/udorami-lists/ 9 9 Description: Include a list from the Udorami social lists website. 10 Version: 1.3. 210 Version: 1.3.3 11 11 Author: Jamii Corley 12 12 Author URI: http://www.udorami.com/us/ … … 49 49 $response = wp_remote_get( $url ); 50 50 if ( is_wp_error( $response ) ) { 51 return sprintf( 'The URL %1s could not be retrieved.', $url ); 51 $error_string = $response->get_error_message(); 52 return sprintf( '%s<br>The URL %1s could not be retrieved.', $error_string, $url ); 52 53 } 53 54 $data = wp_remote_retrieve_body( $response );
Note: See TracChangeset
for help on using the changeset viewer.