|
@@ 440-447 (lines=8) @@
|
| 437 |
|
class Share_Email extends Sharing_Source { |
| 438 |
|
public $shortname = 'email'; |
| 439 |
|
public $icon = '\f410'; |
| 440 |
|
public function __construct( $id, array $settings ) { |
| 441 |
|
parent::__construct( $id, $settings ); |
| 442 |
|
|
| 443 |
|
if ( 'official' == $this->button_style ) { |
| 444 |
|
$this->smart = true; |
| 445 |
|
} else { |
| 446 |
|
$this->smart = false; |
| 447 |
|
} |
| 448 |
|
} |
| 449 |
|
|
| 450 |
|
public function get_name() { |
|
@@ 627-634 (lines=8) @@
|
| 624 |
|
// 'https://dev.twitter.com/rest/reference/get/help/configuration' ( 2015/02/06 ) short_url_length is 22, short_url_length_https is 23 |
| 625 |
|
public $short_url_length = 24; |
| 626 |
|
|
| 627 |
|
public function __construct( $id, array $settings ) { |
| 628 |
|
parent::__construct( $id, $settings ); |
| 629 |
|
|
| 630 |
|
if ( 'official' == $this->button_style ) { |
| 631 |
|
$this->smart = true; |
| 632 |
|
} else { |
| 633 |
|
$this->smart = false; |
| 634 |
|
} |
| 635 |
|
} |
| 636 |
|
|
| 637 |
|
public function get_name() { |
|
@@ 841-848 (lines=8) @@
|
| 838 |
|
class Share_Reddit extends Sharing_Source { |
| 839 |
|
public $shortname = 'reddit'; |
| 840 |
|
public $icon = '\f222'; |
| 841 |
|
public function __construct( $id, array $settings ) { |
| 842 |
|
parent::__construct( $id, $settings ); |
| 843 |
|
|
| 844 |
|
if ( 'official' == $this->button_style ) { |
| 845 |
|
$this->smart = true; |
| 846 |
|
} else { |
| 847 |
|
$this->smart = false; |
| 848 |
|
} |
| 849 |
|
} |
| 850 |
|
|
| 851 |
|
public function get_name() { |
|
@@ 878-885 (lines=8) @@
|
| 875 |
|
class Share_LinkedIn extends Sharing_Source { |
| 876 |
|
public $shortname = 'linkedin'; |
| 877 |
|
public $icon = '\f207'; |
| 878 |
|
public function __construct( $id, array $settings ) { |
| 879 |
|
parent::__construct( $id, $settings ); |
| 880 |
|
|
| 881 |
|
if ( 'official' == $this->button_style ) { |
| 882 |
|
$this->smart = true; |
| 883 |
|
} else { |
| 884 |
|
$this->smart = false; |
| 885 |
|
} |
| 886 |
|
} |
| 887 |
|
|
| 888 |
|
public function get_name() { |
|
@@ 1089-1096 (lines=8) @@
|
| 1086 |
|
class Share_Print extends Sharing_Source { |
| 1087 |
|
public $shortname = 'print'; |
| 1088 |
|
public $icon = '\f469'; |
| 1089 |
|
public function __construct( $id, array $settings ) { |
| 1090 |
|
parent::__construct( $id, $settings ); |
| 1091 |
|
|
| 1092 |
|
if ( 'official' == $this->button_style ) { |
| 1093 |
|
$this->smart = true; |
| 1094 |
|
} else { |
| 1095 |
|
$this->smart = false; |
| 1096 |
|
} |
| 1097 |
|
} |
| 1098 |
|
|
| 1099 |
|
public function get_name() { |
|
@@ 1111-1118 (lines=8) @@
|
| 1108 |
|
class Share_PressThis extends Sharing_Source { |
| 1109 |
|
public $shortname = 'pressthis'; |
| 1110 |
|
public $icon = '\f205'; |
| 1111 |
|
public function __construct( $id, array $settings ) { |
| 1112 |
|
parent::__construct( $id, $settings ); |
| 1113 |
|
|
| 1114 |
|
if ( 'official' == $this->button_style ) { |
| 1115 |
|
$this->smart = true; |
| 1116 |
|
} else { |
| 1117 |
|
$this->smart = false; |
| 1118 |
|
} |
| 1119 |
|
} |
| 1120 |
|
|
| 1121 |
|
public function get_name() { |
|
@@ 1388-1395 (lines=8) @@
|
| 1385 |
|
class Share_Tumblr extends Sharing_Source { |
| 1386 |
|
public $shortname = 'tumblr'; |
| 1387 |
|
public $icon = '\f214'; |
| 1388 |
|
public function __construct( $id, array $settings ) { |
| 1389 |
|
parent::__construct( $id, $settings ); |
| 1390 |
|
if ( 'official' == $this->button_style ) { |
| 1391 |
|
$this->smart = true; |
| 1392 |
|
} else { |
| 1393 |
|
$this->smart = false; |
| 1394 |
|
} |
| 1395 |
|
} |
| 1396 |
|
|
| 1397 |
|
public function get_name() { |
| 1398 |
|
return __( 'Tumblr', 'jetpack' ); |
|
@@ 1458-1464 (lines=7) @@
|
| 1455 |
|
public $shortname = 'pinterest'; |
| 1456 |
|
public $icon = '\f209'; |
| 1457 |
|
|
| 1458 |
|
public function __construct( $id, array $settings ) { |
| 1459 |
|
parent::__construct( $id, $settings ); |
| 1460 |
|
if ( 'official' == $this->button_style ) { |
| 1461 |
|
$this->smart = true; |
| 1462 |
|
} else { |
| 1463 |
|
$this->smart = false; |
| 1464 |
|
} |
| 1465 |
|
} |
| 1466 |
|
|
| 1467 |
|
public function get_name() { |
|
@@ 1610-1616 (lines=7) @@
|
| 1607 |
|
public $shortname = 'pocket'; |
| 1608 |
|
public $icon = '\f224'; |
| 1609 |
|
|
| 1610 |
|
public function __construct( $id, array $settings ) { |
| 1611 |
|
parent::__construct( $id, $settings ); |
| 1612 |
|
|
| 1613 |
|
if ( 'official' == $this->button_style ) { |
| 1614 |
|
$this->smart = true; |
| 1615 |
|
} else { |
| 1616 |
|
$this->smart = false; |
| 1617 |
|
} |
| 1618 |
|
} |
| 1619 |
|
|