Plugin Directory

Changeset 458847


Ignore:
Timestamp:
11/03/2011 01:07:00 AM (14 years ago)
Author:
cooiky
Message:
 
Location:
qqpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qqpress/trunk/opent.php

    r371888 r458847  
    104104    function get($url, $parameters) {
    105105        $response = $this->oAuthRequest($url, 'GET', $parameters);
    106         echo "opent.php 137<br/>";
    107         print_r($response);
    108106        if (MB_RETURN_FORMAT === 'json') {
    109107            return $this->jsonDecode($response, true);
  • qqpress/trunk/qqpress.php

    r458650 r458847  
    180180       
    181181        //如果日志中有提到微博中用户,则发通知
    182         preg_match_all("/@([A-Za-z]{1}[\w|-]*)[\s|,|。|?|,|.|?]/", $post->post_content, $matches);
     182        preg_match_all("/@([A-Za-z]{1}[\w|-|_]*)[\s+|,|。|?|,|.|?]/", $post->post_content, $matches);
    183183        if (2 == count($matches) && 0 < count($matches[1])) {
    184184            $oauth_token = get_option("qq_oauth_token");
Note: See TracChangeset for help on using the changeset viewer.