Plugin Directory

Changeset 2676566


Ignore:
Timestamp:
02/10/2022 04:51:25 PM (4 years ago)
Author:
mtilly
Message:

Release 3.73

Location:
mycurator/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • mycurator/trunk/MyCurator.php

    r2393770 r2676566  
    55 * Plugin URI: http://www.target-info.com
    66 * Description: Automatically curates articles from your feeds and alerts, using the Relevance engine to find only the articles you like
    7  * Version: 3.72
     7 * Version: 3.73
    88 * Author: Mark Tilly
    99 * Author URL: http://www.target-info.com
     
    4545define ('MCT_AI_LOG_PROCESS','PROCESS');
    4646define ('MCT_AI_LOG_REQUEST','REQUEST');
    47 define ('MCT_AI_VERSION', '3.72');
     47define ('MCT_AI_VERSION', '3.73');
    4848
    4949//Globals for DB
  • mycurator/trunk/MyCurator_link_redir.php

    r1891851 r2676566  
    3838    if ($page_id != ''){
    3939        $vals = mct_sl_getsavedpage($page_id);
     40        if (empty($vals)) return;
    4041        $page = $vals['sl_page_content'];
    4142        if (empty($page)) return;
  • mycurator/trunk/MyCurator_local_proc.php

    r2272013 r2676566  
    546546    }
    547547    //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            }
    554556        }
    555557    }
    556558    //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            }
    563567        }
    564568    }
  • mycurator/trunk/MyCurator_posttypes.php

    r2393770 r2676566  
    881881     
    882882     // 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';
    884884     // Already trained for this topic?
    885885     $train = get_post_meta($postid,'mct_ai_trained',true);
  • mycurator/trunk/README.txt

    r2590291 r2676566  
    44Tags: content curation, content curation tools, content curation software, content curation plugin, content marketing, article writing, content writing, blog article
    55Requires at least: 3.3
    6 Tested up to: 5.8
    7 Stable tag: 3.72
     6Tested up to: 5.9
     7Stable tag: 3.73
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    118118== Changelog ==
    119119
     120= 3.73 =
     121* Fix issue with array handling for PHP 8
     122* Fix warnings for PHP 8
     123
    120124= 3.72 =
    121125* Fix issue with editing Notebooks where title disappeared
    122126* 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 issue
    126 * Use new article for Cron not working text on dashboard
    127 * Fix validation error on Twitter feed creation
    128127
    129128
Note: See TracChangeset for help on using the changeset viewer.