|
@@ 493-501 (lines=9) @@
|
| 490 |
|
class Share_Email extends Sharing_Source { |
| 491 |
|
public $shortname = 'email'; |
| 492 |
|
public $icon = '\f410'; |
| 493 |
|
public function __construct( $id, array $settings ) { |
| 494 |
|
parent::__construct( $id, $settings ); |
| 495 |
|
|
| 496 |
|
if ( 'official' == $this->button_style ) { |
| 497 |
|
$this->smart = true; |
| 498 |
|
} else { |
| 499 |
|
$this->smart = false; |
| 500 |
|
} |
| 501 |
|
} |
| 502 |
|
|
| 503 |
|
public function get_name() { |
| 504 |
|
return _x( 'Email', 'as sharing source', 'jetpack' ); |
|
@@ 689-697 (lines=9) @@
|
| 686 |
|
// 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23 |
| 687 |
|
public $short_url_length = 24; |
| 688 |
|
|
| 689 |
|
public function __construct( $id, array $settings ) { |
| 690 |
|
parent::__construct( $id, $settings ); |
| 691 |
|
|
| 692 |
|
if ( 'official' == $this->button_style ) { |
| 693 |
|
$this->smart = true; |
| 694 |
|
} else { |
| 695 |
|
$this->smart = false; |
| 696 |
|
} |
| 697 |
|
} |
| 698 |
|
|
| 699 |
|
public function get_name() { |
| 700 |
|
return __( 'Twitter', 'jetpack' ); |
|
@@ 903-911 (lines=9) @@
|
| 900 |
|
class Share_Reddit extends Sharing_Source { |
| 901 |
|
public $shortname = 'reddit'; |
| 902 |
|
public $icon = '\f222'; |
| 903 |
|
public function __construct( $id, array $settings ) { |
| 904 |
|
parent::__construct( $id, $settings ); |
| 905 |
|
|
| 906 |
|
if ( 'official' == $this->button_style ) { |
| 907 |
|
$this->smart = true; |
| 908 |
|
} else { |
| 909 |
|
$this->smart = false; |
| 910 |
|
} |
| 911 |
|
} |
| 912 |
|
|
| 913 |
|
public function get_name() { |
| 914 |
|
return __( 'Reddit', 'jetpack' ); |
|
@@ 953-961 (lines=9) @@
|
| 950 |
|
class Share_LinkedIn extends Sharing_Source { |
| 951 |
|
public $shortname = 'linkedin'; |
| 952 |
|
public $icon = '\f207'; |
| 953 |
|
public function __construct( $id, array $settings ) { |
| 954 |
|
parent::__construct( $id, $settings ); |
| 955 |
|
|
| 956 |
|
if ( 'official' == $this->button_style ) { |
| 957 |
|
$this->smart = true; |
| 958 |
|
} else { |
| 959 |
|
$this->smart = false; |
| 960 |
|
} |
| 961 |
|
} |
| 962 |
|
|
| 963 |
|
public function get_name() { |
| 964 |
|
return __( 'LinkedIn', 'jetpack' ); |
|
@@ 1178-1186 (lines=9) @@
|
| 1175 |
|
class Share_Print extends Sharing_Source { |
| 1176 |
|
public $shortname = 'print'; |
| 1177 |
|
public $icon = '\f469'; |
| 1178 |
|
public function __construct( $id, array $settings ) { |
| 1179 |
|
parent::__construct( $id, $settings ); |
| 1180 |
|
|
| 1181 |
|
if ( 'official' == $this->button_style ) { |
| 1182 |
|
$this->smart = true; |
| 1183 |
|
} else { |
| 1184 |
|
$this->smart = false; |
| 1185 |
|
} |
| 1186 |
|
} |
| 1187 |
|
|
| 1188 |
|
public function get_name() { |
| 1189 |
|
return __( 'Print', 'jetpack' ); |
|
@@ 1213-1221 (lines=9) @@
|
| 1210 |
|
class Share_PressThis extends Sharing_Source { |
| 1211 |
|
public $shortname = 'pressthis'; |
| 1212 |
|
public $icon = '\f205'; |
| 1213 |
|
public function __construct( $id, array $settings ) { |
| 1214 |
|
parent::__construct( $id, $settings ); |
| 1215 |
|
|
| 1216 |
|
if ( 'official' == $this->button_style ) { |
| 1217 |
|
$this->smart = true; |
| 1218 |
|
} else { |
| 1219 |
|
$this->smart = false; |
| 1220 |
|
} |
| 1221 |
|
} |
| 1222 |
|
|
| 1223 |
|
public function get_name() { |
| 1224 |
|
return __( 'Press This', 'jetpack' ); |
|
@@ 1494-1501 (lines=8) @@
|
| 1491 |
|
class Share_Tumblr extends Sharing_Source { |
| 1492 |
|
public $shortname = 'tumblr'; |
| 1493 |
|
public $icon = '\f214'; |
| 1494 |
|
public function __construct( $id, array $settings ) { |
| 1495 |
|
parent::__construct( $id, $settings ); |
| 1496 |
|
if ( 'official' == $this->button_style ) { |
| 1497 |
|
$this->smart = true; |
| 1498 |
|
} else { |
| 1499 |
|
$this->smart = false; |
| 1500 |
|
} |
| 1501 |
|
} |
| 1502 |
|
|
| 1503 |
|
public function get_name() { |
| 1504 |
|
return __( 'Tumblr', 'jetpack' ); |
|
@@ 1564-1571 (lines=8) @@
|
| 1561 |
|
public $shortname = 'pinterest'; |
| 1562 |
|
public $icon = '\f209'; |
| 1563 |
|
|
| 1564 |
|
public function __construct( $id, array $settings ) { |
| 1565 |
|
parent::__construct( $id, $settings ); |
| 1566 |
|
if ( 'official' == $this->button_style ) { |
| 1567 |
|
$this->smart = true; |
| 1568 |
|
} else { |
| 1569 |
|
$this->smart = false; |
| 1570 |
|
} |
| 1571 |
|
} |
| 1572 |
|
|
| 1573 |
|
public function get_name() { |
| 1574 |
|
return __( 'Pinterest', 'jetpack' ); |
|
@@ 1716-1724 (lines=9) @@
|
| 1713 |
|
public $shortname = 'pocket'; |
| 1714 |
|
public $icon = '\f224'; |
| 1715 |
|
|
| 1716 |
|
public function __construct( $id, array $settings ) { |
| 1717 |
|
parent::__construct( $id, $settings ); |
| 1718 |
|
|
| 1719 |
|
if ( 'official' == $this->button_style ) { |
| 1720 |
|
$this->smart = true; |
| 1721 |
|
} else { |
| 1722 |
|
$this->smart = false; |
| 1723 |
|
} |
| 1724 |
|
} |
| 1725 |
|
|
| 1726 |
|
public function get_name() { |
| 1727 |
|
return __( 'Pocket', 'jetpack' ); |