Changeset 1781472
- Timestamp:
- 12/05/2017 05:24:09 PM (8 years ago)
- Location:
- fastdee/trunk
- Files:
-
- 3 edited
-
fastdee.php (modified) (2 diffs)
-
includes/core/class-fd-base.php (modified) (1 diff)
-
includes/libraries/alv2/alv2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fastdee/trunk/fastdee.php
r1773961 r1781472 4 4 * Plugin URI: http://fastdee.com/ 5 5 * Description: Com o plugin Fastdee! Afiliados agora podem realizar a importação automatizada de ofertas da Lomadee. E também buscar Cupons comissionados. 6 * Version: 2.7. 16 * Version: 2.7.2 7 7 * Author: Lucas Mendes Mota da Fonseca 8 8 * Author URI: http://devlucasmendes.com … … 28 28 final class Fastdee { 29 29 30 public $version = '2.7. 1';30 public $version = '2.7.2'; 31 31 32 32 protected static $_instance = null; -
fastdee/trunk/includes/core/class-fd-base.php
r1773961 r1781472 303 303 } 304 304 305 public function getOfferName( $offer, $force_get_short_name = false ) { 306 if ( ! $force_get_short_name && property_exists( $offer, 'offer' ) && property_exists( $offer->offer, 'shortName' ) ) { 307 $shortname = $offer->offer->shortName; 308 } else { 309 $shortname = wp_trim_words( $offer->name, 5, '...' ); 310 } 311 312 return $shortname; 313 } 314 305 315 } -
fastdee/trunk/includes/libraries/alv2/alv2.php
r1771929 r1781472 225 225 } 226 226 227 public function getProductsFromResponse( $response ) {228 $arrOffersByStore = array();229 if ( $this->isValidResponse( $response ) ) {230 foreach ( $response->offers as $offer ) {231 $arrOffersByStore[ $offer->store->id ] = $offer;232 }233 }234 235 return $arrOffersByStore;236 }237 227 }
Note: See TracChangeset
for help on using the changeset viewer.