@@ 444-451 (lines=8) @@ | ||
441 | class Share_Email extends Sharing_Source { |
|
442 | public $shortname = 'email'; |
|
443 | public $icon = '\f410'; |
|
444 | public function __construct( $id, array $settings ) { |
|
445 | parent::__construct( $id, $settings ); |
|
446 | ||
447 | if ( 'official' == $this->button_style ) { |
|
448 | $this->smart = true; |
|
449 | } else { |
|
450 | $this->smart = false; |
|
451 | } |
|
452 | } |
|
453 | ||
454 | public function get_name() { |
|
@@ 631-638 (lines=8) @@ | ||
628 | // 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23 |
|
629 | public $short_url_length = 24; |
|
630 | ||
631 | public function __construct( $id, array $settings ) { |
|
632 | parent::__construct( $id, $settings ); |
|
633 | ||
634 | if ( 'official' == $this->button_style ) { |
|
635 | $this->smart = true; |
|
636 | } else { |
|
637 | $this->smart = false; |
|
638 | } |
|
639 | } |
|
640 | ||
641 | public function get_name() { |
|
@@ 845-852 (lines=8) @@ | ||
842 | class Share_Reddit extends Sharing_Source { |
|
843 | public $shortname = 'reddit'; |
|
844 | public $icon = '\f222'; |
|
845 | public function __construct( $id, array $settings ) { |
|
846 | parent::__construct( $id, $settings ); |
|
847 | ||
848 | if ( 'official' == $this->button_style ) { |
|
849 | $this->smart = true; |
|
850 | } else { |
|
851 | $this->smart = false; |
|
852 | } |
|
853 | } |
|
854 | ||
855 | public function get_name() { |
|
@@ 882-889 (lines=8) @@ | ||
879 | class Share_LinkedIn extends Sharing_Source { |
|
880 | public $shortname = 'linkedin'; |
|
881 | public $icon = '\f207'; |
|
882 | public function __construct( $id, array $settings ) { |
|
883 | parent::__construct( $id, $settings ); |
|
884 | ||
885 | if ( 'official' == $this->button_style ) { |
|
886 | $this->smart = true; |
|
887 | } else { |
|
888 | $this->smart = false; |
|
889 | } |
|
890 | } |
|
891 | ||
892 | public function get_name() { |
|
@@ 1093-1100 (lines=8) @@ | ||
1090 | class Share_Print extends Sharing_Source { |
|
1091 | public $shortname = 'print'; |
|
1092 | public $icon = '\f469'; |
|
1093 | public function __construct( $id, array $settings ) { |
|
1094 | parent::__construct( $id, $settings ); |
|
1095 | ||
1096 | if ( 'official' == $this->button_style ) { |
|
1097 | $this->smart = true; |
|
1098 | } else { |
|
1099 | $this->smart = false; |
|
1100 | } |
|
1101 | } |
|
1102 | ||
1103 | public function get_name() { |
|
@@ 1115-1122 (lines=8) @@ | ||
1112 | class Share_PressThis extends Sharing_Source { |
|
1113 | public $shortname = 'pressthis'; |
|
1114 | public $icon = '\f205'; |
|
1115 | public function __construct( $id, array $settings ) { |
|
1116 | parent::__construct( $id, $settings ); |
|
1117 | ||
1118 | if ( 'official' == $this->button_style ) { |
|
1119 | $this->smart = true; |
|
1120 | } else { |
|
1121 | $this->smart = false; |
|
1122 | } |
|
1123 | } |
|
1124 | ||
1125 | public function get_name() { |
|
@@ 1394-1401 (lines=8) @@ | ||
1391 | class Share_Tumblr extends Sharing_Source { |
|
1392 | public $shortname = 'tumblr'; |
|
1393 | public $icon = '\f214'; |
|
1394 | public function __construct( $id, array $settings ) { |
|
1395 | parent::__construct( $id, $settings ); |
|
1396 | if ( 'official' == $this->button_style ) { |
|
1397 | $this->smart = true; |
|
1398 | } else { |
|
1399 | $this->smart = false; |
|
1400 | } |
|
1401 | } |
|
1402 | ||
1403 | public function get_name() { |
|
1404 | return __( 'Tumblr', 'jetpack' ); |
|
@@ 1464-1470 (lines=7) @@ | ||
1461 | public $shortname = 'pinterest'; |
|
1462 | public $icon = '\f209'; |
|
1463 | ||
1464 | public function __construct( $id, array $settings ) { |
|
1465 | parent::__construct( $id, $settings ); |
|
1466 | if ( 'official' == $this->button_style ) { |
|
1467 | $this->smart = true; |
|
1468 | } else { |
|
1469 | $this->smart = false; |
|
1470 | } |
|
1471 | } |
|
1472 | ||
1473 | public function get_name() { |
|
@@ 1616-1622 (lines=7) @@ | ||
1613 | public $shortname = 'pocket'; |
|
1614 | public $icon = '\f224'; |
|
1615 | ||
1616 | public function __construct( $id, array $settings ) { |
|
1617 | parent::__construct( $id, $settings ); |
|
1618 | ||
1619 | if ( 'official' == $this->button_style ) { |
|
1620 | $this->smart = true; |
|
1621 | } else { |
|
1622 | $this->smart = false; |
|
1623 | } |
|
1624 | } |
|
1625 |