| @@ -10,8 +10,10 @@ | ||
| 10 | 10 | protected $color = '#cb2027'; |
| 11 | 11 | |
| 12 | 12 | public function __construct() |
| 13 | 13 | { |
| 14 | + parent::__construct(); | |
| 15 | + | |
| 14 | 16 | $this->label = __('Share', 'mbsocial'); |
| 15 | 17 | $this->share_url = 'https://www.pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video=false&description={title}'; |
| 16 | 18 | $this->count_api = 'https://api.pinterest.com/v1/urls/count.json?url={url}'; |
| 17 | 19 | $this->profile_url = 'http://www.pinterest.com/{profile}'; |
| @@ -17,10 +19,8 @@ | ||
| 17 | 19 | $this->profile_url = 'http://www.pinterest.com/{profile}'; |
| 18 | 20 | $this->countable = true; |
| 19 | 21 | $this->return_var = 'count'; |
| 20 | 22 | $this->popup_dimensions = array(750, 500); |
| 21 | - parent::__construct(); | |
| 22 | - | |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | public function remoteRequest($url) |
| 26 | 26 | { |