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