Changeset 1388488
- Timestamp:
- 04/06/2016 06:30:20 PM (10 years ago)
- Location:
- click-tweet/trunk
- Files:
-
- 2 edited
-
click-and-tweet.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
click-tweet/trunk/click-and-tweet.php
r1375967 r1388488 57 57 * @var string 58 58 */ 59 protected $version = '0.8. 5';59 protected $version = '0.8.6'; 60 60 61 61 /** … … 821 821 private function getColor() 822 822 { 823 $color = $this->settings['tweet_color'];823 $color = isset($this->settings['tweet_color']) ? $this->settings['tweet_color'] : ''; 824 824 $style = !empty($this->settings['tweet_color']) ? " style=\"color:$color\" " : ''; 825 825 return $style; … … 847 847 $linkContent = (isset($position) && trim($position) == 'left') ? "{$twitterLogo}{$this->filterContent($content)}" : "{$this->filterContent($content)}{$twitterLogo}"; 848 848 849 $content = "<a {$linkAttributes}> 850 {$linkContent} 851 </a>"; 849 $content = "<a {$linkAttributes}>{$linkContent}</a>"; 852 850 853 851 return $content; … … 888 886 889 887 $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> 894 889 </div>"; 895 890 -
click-tweet/trunk/readme.txt
r1375967 r1388488 47 47 48 48 == Changelog == 49 = 0.8.6 = 50 * Bug fixes 51 49 52 = 0.8.5 = 50 53 * Bug fixes
Note: See TracChangeset
for help on using the changeset viewer.