Plugin Directory

Changeset 333484


Ignore:
Timestamp:
01/17/2011 12:12:14 PM (15 years ago)
Author:
starhai
Message:
 
Location:
wp2sinablog
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp2sinablog/trunk/readme.txt

    r331759 r333484  
    55Requires at least: 2.7
    66Tested up to: 2.9.1
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88
    99同步发表 WordPress 博客日志到 新浪博客,初次安装必须设置后才能使用。
     
    6161== Changelog ==
    6262
     63= 1.0.7 =
     64
     65Version 1.0.7 可能存在不能发送文章到新浪私密博客的问题,请慎重选择发送私密博客选项。
     66
     67* 修正部分主机关于curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);错误提示
     68
     69* 解决部分主机下 WLW 不能发布文章的问题
     70
    6371= 1.0.6 =
    6472
     
    97105== Upgrade Notice ==
    98106
     107= 1.0.7 =
     108
     109Version 1.0.7 可能存在不能发送文章到新浪私密博客的问题,请慎重选择发送私密博客选项。
     110
     111* 修正部分主机关于curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);错误提示
     112
     113* 解决部分主机下 WLW 不能发布文章的问题
     114
    99115= 1.0.6 =
    100116
  • wp2sinablog/trunk/wp2sinablog.php

    r331759 r333484  
    44Plugin URI: http://www.starhai.net /wp2sinablog
    55Description: 同步发表 WordPress 博客日志到 新浪博客,初次安装必须设置后才能使用。
    6 Version: 1.0.6
     6Version: 1.0.7
    77Author: Starhai
    88Author URI: http://starhai.net/
     
    3434        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    3535        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    36             curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
     36      //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
    3737        curl_setopt($ch, CURLOPT_USERAGENT, $this->useragent);
    3838        curl_exec($ch);
     
    107107        curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookie);
    108108        curl_setopt($ch, CURLOPT_HEADER, 1);
    109         curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
     109        //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
    110110        curl_setopt($ch, CURLOPT_COOKIEJAR,  $this->cookie);
    111111        curl_exec($ch);
Note: See TracChangeset for help on using the changeset viewer.