Plugin Directory

Changeset 1388488


Ignore:
Timestamp:
04/06/2016 06:30:20 PM (10 years ago)
Author:
Space_Studio
Message:

Updated with bug fixes

Location:
click-tweet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • click-tweet/trunk/click-and-tweet.php

    r1375967 r1388488  
    5757     * @var string
    5858     */
    59     protected $version = '0.8.5';
     59    protected $version = '0.8.6';
    6060
    6161    /**
     
    821821    private function getColor()
    822822    {
    823         $color = $this->settings['tweet_color'];
     823        $color = isset($this->settings['tweet_color']) ? $this->settings['tweet_color'] : '';
    824824        $style = !empty($this->settings['tweet_color']) ? " style=\"color:$color\" " : '';
    825825        return $style;
     
    847847        $linkContent = (isset($position) && trim($position) == 'left') ? "{$twitterLogo}{$this->filterContent($content)}" : "{$this->filterContent($content)}{$twitterLogo}";
    848848
    849         $content = "<a {$linkAttributes}>
    850                         {$linkContent}
    851                     </a>";
     849        $content = "<a {$linkAttributes}>{$linkContent}</a>";
    852850
    853851        return $content;
     
    888886
    889887        $content = "<div class=\"click-and-tweet-card$position\">
    890                         <a {$linkAttributes}>
    891                             $tweet
    892                             <span class=\"call-to-action-text\">{$this->filterCallToAction()}</span>
    893                         </a>
     888                        <a {$linkAttributes}>$tweet<span class=\"call-to-action-text\">{$this->filterCallToAction()}</span></a>
    894889                    </div>";
    895890
  • click-tweet/trunk/readme.txt

    r1375967 r1388488  
    4747
    4848== Changelog ==
     49= 0.8.6 =
     50* Bug fixes
     51
    4952= 0.8.5 =
    5053* Bug fixes
Note: See TracChangeset for help on using the changeset viewer.