WordPress.org

Plugin Directory


Ignore:
Timestamp:
12/21/12 20:53:53 (5 years ago)
Author:
alexkingorg
Message:

version 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • social/trunk/lib/social/service.php

    r617518 r643119  
    6060        global $post; 
    6161 
    62         $proxy = Social::$api_url.$this->_key.'/authorize'; 
    63         $url = apply_filters('social_authorize_url', $proxy, $this->_key); 
    64  
    65         $params = '?social_controller=auth&social_action=authorize&target='.urlencode($url); 
     62        $params = '?social_controller=auth&social_action=authorize&key='.$this->_key; 
    6663        if (is_admin()) { 
    6764            $url = (defined('IS_PROFILE_PAGE') ? 'profile.php' : 'options-general.php'); 
     
    410407                    break; 
    411408                case '{content}': 
    412                     $content = htmlspecialchars_decode(strip_tags($post->post_content)); 
     409                    $content = do_shortcode($post->post_content); 
     410                    $content = htmlspecialchars_decode(strip_tags($content)); 
    413411                    $content = str_replace(array("\n", "\r", PHP_EOL, ' '), ' ', $content); 
    414412                    $content = preg_replace('/\s+/', ' ', $content); 
Note: See TracChangeset for help on using the changeset viewer.