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/blocks/network-block.php +3 -5 1.21.5 View file →
@@ -160,9 +160,9 @@
160 160 $img = $this->getImage(null, true);
161 161 break;
162 162 case "custom-url";
163 163 $url = $custom;
164 - $title = $custom_title;
164 + $title = $custom_title;
165 165 $img = $this->getImage();
166 166 break;
167 167 case "current-post":
168 168 $url = get_permalink();
@@ -369,9 +369,9 @@
369 369
370 370 // new user, give default networks
371 371 $collection_id = $this->collection->getID();
372 372 if (count($network_active) == 0 && $collection_id == 0)
373 - $network_active = array('facebook', 'twitter', 'linkedin'); // default options
373 + $network_active = array('facebook', 'twitter'); // default options
374 374
375 375 $data[$this->blockname]["network_active"] = $network_active;
376 376 return $data;
377 377 }
@@ -412,11 +412,9 @@
412 412 $admin = mbSocial()->admin();
413 413 $blockdata = $this->data[$this->blockname];
414 414
415 415 $active_networks = isset($blockdata['network_active']) ? $blockdata['network_active'] : array();
416 -
417 416 $networks = $admin->get_networks($active_networks);
418 -
419 417 $styleObj = $this->collection->getStyle();
420 418 ?>
421 419 <div class='help-side'>
422 420 <h3><?php _e('Social Networks','mbsocial'); ?></h3>
@@ -714,9 +712,9 @@
714 712
715 713 protected function printMBCustomButton()
716 714 {
717 715 ?>
718 - <span class='config_button'><button type='button' class='button-primary' data-parent='#maxbuttons' data-callback='window.maxFoundry.maxSocial.selectMBCustomButton' data-nonce="<?php echo wp_create_nonce('maxajax'); ?>"><?php _e('Config', 'mbsocial'); ?></button></span>
716 + <span class='config_button'><button type='button' class='button-primary' ><?php _e('Config', 'mbsocial'); ?></button></span>
719 717 <?php
720 718 }
721 719
722 720 }