Changeset 347997
- Timestamp:
- 02/20/2011 09:36:59 AM (15 years ago)
- File:
-
- 1 edited
-
wp-sns-share/trunk/wp-sns-share.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-sns-share/trunk/wp-sns-share.php
r347983 r347997 415 415 </tr> 416 416 <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/> 419 420 </td> 420 421 </tr> 421 422 <tr> 422 <td height=" 30">备注</td>423 <td height="20">备注</td> 423 424 <td>无论任何原因需要第二次启动新浪认证,需重开浏览器后继续操作</td> 424 425 </tr> … … 677 678 $postTitle = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = $postID"); 678 679 $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 // } 685 686 $options = get_option(SHARESNS_OPTION); 686 687 if(isset($options['sync']['sina'])){
Note: See TracChangeset
for help on using the changeset viewer.