Changeset 2409946
- Timestamp:
- 10/30/2020 05:48:32 PM (4 years ago)
- Location:
- feedzy-rss-feeds
- Files:
-
- 140 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
feedzy-rss-feeds/trunk/CHANGELOG.md
r2398010 r2409946 1 1 2 3 4 5 6 7 2 8 ### v3.5.0 - 2020-10-12 3 9 **Changes:** -
feedzy-rss-feeds/trunk/css/feedzy-rss-feeds.css
r2398010 r2409946 3 3 * Feedzy RSS Feed 4 4 * Copyright: (c) 2016 Themeisle, themeisle.com 5 * Version: 3.5. 05 * Version: 3.5. 6 6 * Plugin Name: FEEDZY RSS Feeds 7 7 * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/ -
feedzy-rss-feeds/trunk/feedzy-rss-feed.php
r2398010 r2409946 16 16 * Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/ 17 17 * Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets. 18 * Version: 3.5. 018 * Version: 3.5. 19 19 * Author: Themeisle 20 20 * Author URI: http://themeisle.com -
feedzy-rss-feeds/trunk/includes/abstract/feedzy-rss-feeds-admin-abstract.php
r2398010 r2409946 1313 1313 */ 1314 1314 public function feedzy_retrieve_image( $item, $sc = null ) { 1315 1316 1317 1318 1319 1320 1321 1322 1323 1315 1324 $the_thumbnail = ''; 1316 1325 if ( $enclosures = $item->get_enclosures() ) { … … 1335 1344 $imgsrc = $thumbnail; 1336 1345 if ( preg_match( $pattern, $imgsrc, $matches ) ) { 1346 1347 1348 1337 1349 $the_thumbnail = $thumbnail; 1338 1350 break; -
feedzy-rss-feeds/trunk/includes/admin/feedzy-rss-feeds-import.php
r2398010 r2409946 439 439 // where errors can be shown 440 440 $invalid = get_post_meta( $post_id, '__transient_feedzy_invalid_source', true ); 441 error_log( "redirect_post_location $post_id = " . print_r( $invalid, true ) );442 441 if ( empty( $invalid ) ) { 443 442 return admin_url( 'edit.php?post_type=feedzy_imports' ); … … 1147 1146 } 1148 1147 1149 $import_image = strpos( $import_content, '[#item_image]' ) !== false || strpos( $import_featured_img, '[#item_image]' ) !== false;1150 if ( $import_image && empty( $item['item_img_path'] ) ) {1151 do_action( 'themeisle_log_event', FEEDZY_NAME, sprintf( 'Unable to find an image for item title %s.', $item['item_title'] ), 'warn', __FILE__, __LINE__ );1152 $import_image_errors++;1153 }1154 1155 1148 $author = ''; 1156 1149 if ( $item['item_author'] ) { … … 1198 1191 1199 1192 $item_link = '<a href="' . $item['item_url'] . '" target="_blank">' . __( 'Read More', 'feedzy-rss-feeds' ) . '</a>'; 1200 $image_html = '<img src="' . $item['item_img_path'] . '" title="' . $item['item_title'] . '" />'; 1193 $image_html = ''; 1194 if ( ! empty( $item['item_img_path'] ) ) { 1195 $image_html = '<img src="' . $item['item_img_path'] . '" title="' . $item['item_title'] . '" />'; 1196 } 1201 1197 $post_content = str_replace( 1202 1198 array( … … 1326 1322 $index++; 1327 1323 1328 if ( trim( $import_featured_img ) !== '' && ! empty( $item['item_img_path']) ) {1329 $image_url = str_replace( '[#item_image]', $item['item_img_path'], $import_featured_img );1324 if ( ) ) { 1325 $image_url = ; 1330 1326 $img_success = true; 1331 if ( $image_url !== '' && isset( $item['item_img_path'] ) && $item['item_img_path'] !== '' ) { 1327 1328 // image tag 1329 if ( strpos( $import_featured_img, '[#item_image]' ) !== false ) { 1330 // image exists in item 1331 if ( ! empty( $item['item_img_path'] ) ) { 1332 $image_url = str_replace( '[#item_image]', $item['item_img_path'], $import_featured_img ); 1333 } else { 1334 $img_success = false; 1335 } 1336 } else { 1337 $image_url = $import_featured_img; 1338 } 1339 1340 if ( ! empty( $image_url ) ) { 1341 // if import_featured_img is a tag 1332 1342 $img_success = $this->generate_featured_image( $image_url, $new_post_id, $item['item_title'], $import_errors, $import_info ); 1333 } else { 1334 $img_success = $this->generate_featured_image( $import_featured_img, $new_post_id, $item['item_title'], $import_errors, $import_info ); 1335 } 1343 } 1344 1336 1345 if ( ! $img_success ) { 1337 1346 $import_image_errors++; -
feedzy-rss-feeds/trunk/includes/feedzy-rss-feeds.php
r2398010 r2409946 105 105 public function init() { 106 106 self::$plugin_name = 'feedzy-rss-feeds'; 107 self::$version = '3.5. 0';107 self::$version = '3.5.'; 108 108 self::$instance->load_dependencies(); 109 109 self::$instance->set_locale(); -
feedzy-rss-feeds/trunk/readme.md
r2398010 r2409946 462 462 463 463 == Changelog == 464 465 466 467 468 469 470 464 471 ### 3.5.0 - 2020-10-12 ### 465 472 -
feedzy-rss-feeds/trunk/readme.txt
r2398010 r2409946 462 462 463 463 == Changelog == 464 465 466 467 468 469 470 464 471 = 3.5.0 - 2020-10-12 = 465 472 -
feedzy-rss-feeds/trunk/themeisle-hash.json
r2398010 r2409946 1 {"feedzy-rss-feed.php":" b987a3ed66b1465c85d317884f5a00ff","index.php":"71c0755260138a4b7b2182c3c61179f6","uninstall.php":"cdb21f8648e005cbb9c73481d1750186"}1 {"feedzy-rss-feed.php":"","index.php":"71c0755260138a4b7b2182c3c61179f6","uninstall.php":"cdb21f8648e005cbb9c73481d1750186"} -
feedzy-rss-feeds/trunk/vendor/autoload.php
r2398010 r2409946 5 5 require_once __DIR__ . '/composer' . '/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 21a3a7dd973af49e9322f7c49b7edf5c::getLoader();7 return ComposerAutoloaderInitc::getLoader(); -
feedzy-rss-feeds/trunk/vendor/autoload_52.php
r2398010 r2409946 5 5 require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php'; 6 6 7 return ComposerAutoloaderInit 33ada9a75367c67d82882bee194c98e4::getLoader();7 return ComposerAutoloaderInit::getLoader(); -
feedzy-rss-feeds/trunk/vendor/composer/autoload_real.php
r2398010 r2409946 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 21a3a7dd973af49e9322f7c49b7edf5c5 class ComposerAutoloaderInitc 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 21a3a7dd973af49e9322f7c49b7edf5c', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInitc', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 21a3a7dd973af49e9322f7c49b7edf5c', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInitc', 'loadClassLoader')); 25 25 26 26 $map = require __DIR__ . '/autoload_namespaces.php'; … … 43 43 $includeFiles = require __DIR__ . '/autoload_files.php'; 44 44 foreach ($includeFiles as $fileIdentifier => $file) { 45 composerRequire 21a3a7dd973af49e9322f7c49b7edf5c($fileIdentifier, $file);45 composerRequirec($fileIdentifier, $file); 46 46 } 47 47 … … 50 50 } 51 51 52 function composerRequire 21a3a7dd973af49e9322f7c49b7edf5c($fileIdentifier, $file)52 function composerRequirec($fileIdentifier, $file) 53 53 { 54 54 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
feedzy-rss-feeds/trunk/vendor/composer/autoload_real_52.php
r2398010 r2409946 3 3 // autoload_real_52.php generated by xrstf/composer-php52 4 4 5 class ComposerAutoloaderInit 33ada9a75367c67d82882bee194c98e4{5 class ComposerAutoloaderInit { 6 6 private static $loader; 7 7 … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 33ada9a75367c67d82882bee194c98e4', 'loadClassLoader'), true /*, true */);22 spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true /*, true */); 23 23 self::$loader = $loader = new xrstf_Composer52_ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 33ada9a75367c67d82882bee194c98e4', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader')); 25 25 26 26 $vendorDir = dirname(dirname(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.