Plugin Directory

Changeset 347997


Ignore:
Timestamp:
02/20/2011 09:36:59 AM (15 years ago)
Author:
stariy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-sns-share/trunk/wp-sns-share.php

    r347983 r347997  
    415415                    </tr>
    416416                    <tr>
    417                         <td height="30">说明</td>
    418                         <td><font color="red">新浪微博不允许url带有中文</font>,若固定连接URL中有中文,最终新浪微博中的URL缩短会出问题!
     417                        <td height="20">说明</td>
     418                        <td>
     419                            <font color="red">新浪微博不允许url带有中文</font>,若固定连接URL中有中文,最终新浪微博中的URL缩短会出问题!<br/>
    419420                        </td>
    420421                    </tr>
    421422                    <tr>
    422                         <td height="30">备注</td>
     423                        <td height="20">备注</td>
    423424                        <td>无论任何原因需要第二次启动新浪认证,需重开浏览器后继续操作</td>
    424425                    </tr>
     
    677678        $postTitle = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = $postID");
    678679        $url = get_permalink($postID);
    679         if(strpos($url, 'http://') === 0){
    680             $url = substr($url, 7);
    681         }
    682         else if(strpos($url, 'https://') === 0){
    683             $url = substr($url, 8);
    684         }
     680//      if(strpos($url, 'http://') === 0){
     681//          $url = substr($url, 7);
     682//      }
     683//      else if(strpos($url, 'https://') === 0){
     684//          $url = substr($url, 8);
     685//      }
    685686        $options = get_option(SHARESNS_OPTION);
    686687        if(isset($options['sync']['sina'])){
Note: See TracChangeset for help on using the changeset viewer.