PluginProbe
Social Share Buttons / 1.5
Social Share Buttons v1.5
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | classes/network/mbcustom.php +2 -6 1.71.5 View file →
@@ -3,9 +3,8 @@
3 3 defined('ABSPATH') or die('No direct access permitted');
4 4
5 5 use MaxButtons\maxButton as maxButton;
6 6
7 -/** MaxButtons Custom Button **/
8 7 class MBCustomNetwork extends MBnetwork
9 8 {
10 9
11 10 protected $network = 'maxbutton';
@@ -13,9 +12,9 @@
13 12 protected $icon_type = 'png';
14 13 protected $priority = 'readmore';
15 14 protected $color = '#88C5C2';
16 15
17 - //protected $popup = false;
16 + protected $popup = false;
18 17
19 18 protected $last_index = -1;
20 19 protected $currentNetwork = null;
21 20
@@ -20,10 +19,8 @@
20 19 protected $currentNetwork = null;
21 20
22 21 protected $css = array();
23 22
24 - protected $is_popup = false;
25 -
26 23 protected $is_limitedpro = true;
27 24 protected $is_editable = false;
28 25 protected $is_custom = true; // maybe should be gone.
29 26
@@ -29,12 +26,11 @@
29 26
30 27
31 28 public function __construct()
32 29 {
30 + parent::__construct();
33 31 $this->icon = MBSocial()->get_plugin_url() . 'images/mb-blue-network.png';
34 32 $this->label = __('No config', 'mbsocial');
35 - parent::__construct();
36 -
37 33 $w = MBSocial()->whistle();
38 34 $w->listen('collection/new', array($this, 'resetIndex'), 'tell');
39 35 add_filter('mbsocial/parsecss/', array($this, 'fixIconCSS'));
40 36