Changeset 2676566
- Timestamp:
- 02/10/2022 04:51:25 PM (4 years ago)
- Location:
- mycurator/trunk
- Files:
-
- 5 edited
-
MyCurator.php (modified) (2 diffs)
-
MyCurator_link_redir.php (modified) (1 diff)
-
MyCurator_local_proc.php (modified) (1 diff)
-
MyCurator_posttypes.php (modified) (1 diff)
-
README.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mycurator/trunk/MyCurator.php
r2393770 r2676566 5 5 * Plugin URI: http://www.target-info.com 6 6 * Description: Automatically curates articles from your feeds and alerts, using the Relevance engine to find only the articles you like 7 * Version: 3.7 27 * Version: 3.73 8 8 * Author: Mark Tilly 9 9 * Author URL: http://www.target-info.com … … 45 45 define ('MCT_AI_LOG_PROCESS','PROCESS'); 46 46 define ('MCT_AI_LOG_REQUEST','REQUEST'); 47 define ('MCT_AI_VERSION', '3.7 2');47 define ('MCT_AI_VERSION', '3.73'); 48 48 49 49 //Globals for DB -
mycurator/trunk/MyCurator_link_redir.php
r1891851 r2676566 38 38 if ($page_id != ''){ 39 39 $vals = mct_sl_getsavedpage($page_id); 40 if (empty($vals)) return; 40 41 $page = $vals['sl_page_content']; 41 42 if (empty($page)) return; -
mycurator/trunk/MyCurator_local_proc.php
r2272013 r2676566 546 546 } 547 547 //Check if globally excluded domain 548 $dom_array = explode("\n",$mct_ai_optarray['ai_skip_domains']); 549 $linkhost = parse_url($ilink, PHP_URL_HOST); //only check the host/domain as we could get problems with path/query 550 foreach ($dom_array as $dom){ 551 $dom = rtrim($dom); 552 if (stripos($linkhost,$dom) !== false) { 553 return ''; //excluded domain so skip this item 548 if (!empty($mct_ai_optarray['ai_skip_domains'])) { 549 $dom_array = explode("\n",$mct_ai_optarray['ai_skip_domains']); 550 $linkhost = parse_url($ilink, PHP_URL_HOST); //only check the host/domain as we could get problems with path/query 551 foreach ($dom_array as $dom){ 552 $dom = rtrim($dom); 553 if (stripos($linkhost,$dom) !== false) { 554 return ''; //excluded domain so skip this item 555 } 554 556 } 555 557 } 556 558 //Check if excluded domain for this topic 557 $dom_array = explode("\n",$topic['topic_skip_domains']); 558 $linkhost = parse_url($ilink, PHP_URL_HOST); //only check the host/domain as we could get problems with path/query 559 foreach ($dom_array as $dom){ 560 $dom = rtrim($dom); 561 if (stripos($linkhost,$dom) !== false) { 562 return ''; //excluded domain so skip this item 559 if (!empty($topic['topic_skip_domains'])){ 560 $dom_array = explode("\n",$topic['topic_skip_domains']); 561 $linkhost = parse_url($ilink, PHP_URL_HOST); //only check the host/domain as we could get problems with path/query 562 foreach ($dom_array as $dom){ 563 $dom = rtrim($dom); 564 if (stripos($linkhost,$dom) !== false) { 565 return ''; //excluded domain so skip this item 566 } 563 567 } 564 568 } -
mycurator/trunk/MyCurator_posttypes.php
r2393770 r2676566 881 881 882 882 // Check whether we have just one link 883 if ( count(get_post_meta($postid,'mct_sl_newurl',true)) != 1) return 'No';883 if (!is_array(get_post_meta($postid,'mct_sl_newurl',true))) return 'No'; 884 884 // Already trained for this topic? 885 885 $train = get_post_meta($postid,'mct_ai_trained',true); -
mycurator/trunk/README.txt
r2590291 r2676566 4 4 Tags: content curation, content curation tools, content curation software, content curation plugin, content marketing, article writing, content writing, blog article 5 5 Requires at least: 3.3 6 Tested up to: 5. 87 Stable tag: 3.7 26 Tested up to: 5.9 7 Stable tag: 3.73 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 118 118 == Changelog == 119 119 120 = 3.73 = 121 * Fix issue with array handling for PHP 8 122 * Fix warnings for PHP 8 123 120 124 = 3.72 = 121 125 * Fix issue with editing Notebooks where title disappeared 122 126 * Fix issue with Quick tag in Training Posts where title and description were lost 123 124 = 3.71 =125 * Fix Open Link in New Tab js issue126 * Use new article for Cron not working text on dashboard127 * Fix validation error on Twitter feed creation128 127 129 128
Note: See TracChangeset
for help on using the changeset viewer.