Plugin Directory

Changeset 2269560


Ignore:
Timestamp:
03/28/2020 01:20:05 AM (6 years ago)
Author:
cnfang
Message:

2.7.5

Location:
wxsync/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wxsync/trunk/readme.txt

    r2268873 r2269560  
    55Requires at least: 3.3
    66Tested up to: 5.0.1
    7 Stable tag:2.7.4
     7Stable tag:2.7.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wxsync/trunk/wxsync.php

    r2268873 r2269560  
    44Plugin URI: http://std.cloud
    55Description: 标准云微信公众号文章免费采集、<strong>任意公众号自动采集5元/月</strong>、<strong>历史文章导出20元/公众号</strong>
    6 Version: 2.7.4
     6Version: 2.7.5
    77Author: 标准云(std.cloud)
    88Author URI: http://std.cloud
     
    2424$GLOBALS['wxsync_tab'] = '';
    2525$GLOBALS['wxsync_error'] = array();
    26 $GLOBALS['wxsync_ver'] = '2.7.4';
     26$GLOBALS['wxsync_ver'] = '2.7.5';
    2727$GLOBALS['wxsync_code'] = 0;
    2828
     
    666666        }
    667667
     668
     669        //补充检测图片
     670        preg_match_all('#url\(&quot;(.*)&quot;\)#',$content,$checkarr);
     671        foreach ($checkarr[1] as $src) {
     672            $index = strpos($src,'qpic.cn');
     673            if($index > 0){
     674                $src2 = wxsync_attack_remote_pic($src,'qpic');
     675                if(false !== $src2){
     676                    $thumbnail = $src2[0];
     677                    $content = str_replace($src,$thumbnail,$content);
     678                }
     679            }
     680
     681        }
     682
    668683        $content .= $source;
    669684
Note: See TracChangeset for help on using the changeset viewer.