| @@ -12,10 +12,8 @@ | ||
| 12 | 12 | |
| 13 | 13 | |
| 14 | 14 | public function __construct() |
| 15 | 15 | { |
| 16 | - parent::__construct(); | |
| 17 | - | |
| 18 | 16 | // https://dev.twitter.com/web/tweet-button/web-intent |
| 19 | 17 | $this->label = __('Tweet','mbsocial'); |
| 20 | 18 | $this->share_url = 'https://twitter.com/intent/tweet/?url={url}&text={title}&via={twitter_handle}&hashtags={twitter_hashtags}'; |
| 21 | 19 | $this->profile_url = 'https://twitter.com/{profile}'; |
| @@ -20,8 +18,10 @@ | ||
| 20 | 18 | $this->share_url = 'https://twitter.com/intent/tweet/?url={url}&text={title}&via={twitter_handle}&hashtags={twitter_hashtags}'; |
| 21 | 19 | $this->profile_url = 'https://twitter.com/{profile}'; |
| 22 | 20 | |
| 23 | 21 | $this->popup_dimensions = array(550, 320); |
| 22 | + | |
| 23 | + parent::__construct(); | |
| 24 | 24 | |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | |