Changeset 2150668
- Timestamp:
- 09/04/2019 07:57:41 AM (7 years ago)
- Location:
- amazon-link/trunk
- Files:
-
- 4 edited
-
amazon.php (modified) (1 diff)
-
extras/amazon-link-images.php (modified) (1 diff)
-
include/ip2location.php (modified) (3 diffs)
-
include/ip2nation.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amazon-link/trunk/amazon.php
r2046883 r2150668 106 106 *******************************************************************************************************/ 107 107 108 //include ('include/ip2location.php');108 // include ('include/ip2location.php'); 109 109 include ('include/ip2nation.php'); 110 110 -
amazon-link/trunk/extras/amazon-link-images.php
r2045498 r2150668 148 148 'Description' => __('The URL to the image to show if none is available.', 'amazon-link'), 149 149 'Type' => 'text', 150 'Default' => $this->URLRoot. '/'. 'images/no-img-lg-uk.gif',150 'Default' => 'http://images-eu.amazon.com/images/G/02/misc/no-img-lg-uk.gif', 151 151 'Class' => 'al_border'); 152 152 $options_list['image_size'] = array ( 'Name' => __('Preferred Image Size Modifier', 'amazon-link'), -
amazon-link/trunk/include/ip2location.php
r1024141 r2150668 83 83 * Use WordPress WP_Filesystem methods to install DB 84 84 */ 85 85 86 86 // Check Credentials 87 87 if (false === ($creds = request_filesystem_credentials($url,NULL,false,false,$args))) { … … 98 98 /* Skip the download if it has already been done */ 99 99 if ( ! is_readable ( $this->temp_file ) ) { 100 100 101 101 $temp_file = download_url($this->remote_file); 102 102 if (is_wp_error($temp_file)) … … 109 109 } 110 110 } 111 111 112 112 // Install the database 113 113 // This can take a while on slow servers, disable aborts until -
amazon-link/trunk/include/ip2nation.php
r1785220 r2150668 3 3 if (!class_exists('AmazonWishlist_ip2nation')) { 4 4 class AmazonWishlist_ip2nation { 5 5 6 6 /*****************************************************************************************/ 7 7 … … 9 9 10 10 function __construct() { 11 11 12 12 $this->db = 'ip2nation'; 13 13 $this->remote_file = 'http://www.ip2nation.com/ip2nation.zip'; … … 72 72 return array( 'Uninstall' => $uninstall, 'Install' => $install, 'Message' => $message); 73 73 } 74 74 75 75 /*****************************************************************************************/ 76 76 … … 95 95 return array ( 'HideForm' => true); 96 96 } 97 97 98 98 /* Skip the download if it has already been done */ 99 99 if ( ! is_readable ( $this->temp_file ) ) {
Note: See TracChangeset
for help on using the changeset viewer.