Changeset 222264
- Timestamp:
- 03/28/2010 06:33:30 AM (16 years ago)
- Location:
- amazonfeed/trunk
- Files:
-
- 1 deleted
- 2 edited
-
FUTURE_TODOs.txt (deleted)
-
amazonfeed.php (modified) (2 diffs)
-
php/amazonfeed.class.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
amazonfeed/trunk/amazonfeed.php
r207177 r222264 4 4 Plugin URI: http://www.warkensoft.com/products/amazonfeed-wordpress-plugin/ 5 5 Description: Make money from your blog by advertising Amazon.com products specifically related to the topic of your posts. 6 Version: 1.96 Version: 2.0 7 7 Author: WarkenSoft Productions 8 8 Author URI: http://warkensoft.com/ … … 70 70 { 71 71 add_action('the_content', array(&$amazonFeedObj, 'wp_content')); 72 73 74 72 } 75 73 } 76 77 ?> -
amazonfeed/trunk/php/amazonfeed.class.php
r185927 r222264 22 22 var $table_products = ""; 23 23 24 var $version = " 1.9";24 var $version = "2.0"; 25 25 26 26 var $validate = array(); … … 100 100 else 101 101 { 102 if(!strpos($_SERVER['REQUEST_URI'], 'amazonfeed/php/amazonfeed.class.php')) 102 103 $this->admin_notices[] = 'AmazonFeed is almost ready. Please visit the management page (Tools > AmazonFeed) to complete the ' . 103 104 'installation process and enter your Amazon credentials.'; … … 359 360 "Reworked product caching for more robust storage and more advanced potential future features.<br/>" . 360 361 "Added ability to block specific products from being displayed.<br/>" . 362 ""); 363 } 364 365 if($this->options['Version'] < '2.0') 366 { 367 $this->options['Version'] = '2.0'; 368 update_option('amazonFeedOptions', $this->options); 369 $this->admin_alert("Plugin upgraded to v. " . $this->options['Version'] . "<br/>" . 370 "Removed Amazon products from appearing in blog feeds in order to better comply with Amazon regulations.<br/>" . 361 371 ""); 362 372 } … … 1058 1068 global $post; 1059 1069 1070 if(is_feed()) return($content); 1071 1060 1072 $params = array(); 1061 1073 1062 1074 // Check to see if we have custom keywords for the page. 1063 1075 $custom_keywords = get_post_meta($post->ID, '_amazonfeed_keywords', true); 1064 1076 1065 1077 if($this->options['Version'] > '1.0') 1066 1078 { … … 1956 1968 } 1957 1969 } 1958 ?>
Note: See TracChangeset
for help on using the changeset viewer.