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/class-collection.php +2 -5 1.31.5 View file →
@@ -693,9 +693,9 @@
693 693
694 694 if ($args["style_tag"])
695 695 $output .= "<style type='text/css'>";
696 696
697 - $output .= $css;
697 + $output .= apply_filters('mbsocial/displaycss/', $css);
698 698
699 699 if ($args["style_tag"])
700 700 $output .= "</style>";
701 701
@@ -742,12 +742,9 @@
742 742
743 743 if ($args["js_tag"])
744 744 {
745 745 $output .= "<script type='text/javascript'> ";
746 -// $output .= " if (typeof MBcollection" . $this->collection_id . " == 'undefined') { ";
747 -// $output .= " function MBcollection" . $this->collection_id . "() { ";
748 746
749 -
750 747 }
751 748
752 749 foreach($js as $index => $code)
753 750 {
@@ -834,9 +831,9 @@
834 831 if (! $is_preview)
835 832 {
836 833 if ( ($this->is_mobile && ! $network->forMobile() ) || $this->is_desktop && ! $network->forDesktop() )
837 834 {
838 - continue;
835 + continue;
839 836 }
840 837 }
841 838 $w->tell('display/parse/network', $network);
842 839