PluginProbe
Social Share Buttons / 1.19
Social Share Buttons v1.19
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 | admin/page_editor.php +3 -5 1.301.19 View file →
@@ -29,10 +29,8 @@
29 29 }
30 30 else {
31 31 $collection_id = 0;
32 32 }
33 -
34 -$url = mbSocial()->get_page_url();
35 33 ?>
36 34
37 35 <form class='mb-ajax-form save-on-key' data-action='save-share'>
38 36
@@ -39,9 +37,9 @@
39 37
40 38 <?php if($number_of_collections > 0) : ?>
41 39 <div class='help-side collection_switcher'>
42 40 <h3><?php _e('Your Social Groups','mbsocial'); ?></h3>
43 - <?php
41 + <?php //
44 42
45 43 echo '<div class="item heading"><span>' . __('name', 'mbsocial') . '</span><span>' . __('no buttons', 'mbsocial') . '</span><span>' . __('shortcode', 'mbsocial') . '</span></div>';
46 44
47 45 foreach($collection_ids as $id) {
@@ -58,9 +56,9 @@
58 56
59 57
60 58 if ( Install::isPRO() )
61 59 {
62 - $link = '<a href="' . esc_url(add_query_arg('social_id', $id, $url)) . '"><span>' . $name . '</span>';
60 + $link = '<a href="' . add_query_arg('social_id', $id) . '"><span>' . $name . '</span>';
63 61 $linkend = '</a>';
64 62 }
65 63 else {
66 64 $link = '<span>' . $name . '</span>';
@@ -76,9 +74,9 @@
76 74 }
77 75
78 76 if ( Install::isPRO() )
79 77 {
80 - $link = '<a href="' . esc_url(add_query_arg('social_id', 0, $url)) . '" title="' . __('Add', 'mbsocial') . '"> <span class="plus">+</span> ' . __('Add', 'mbsocial') . '</a>';
78 + $link = '<a href="' . add_query_arg('social_id', 0) . '" title="' . __('Add', 'mbsocial') . '"> <span class="plus">+</span> ' . __('Add', 'mbsocial') . '</a>';
81 79 }
82 80 else {
83 81 $link = '<a><span class="plus">+</span> ' . __('Add', 'mbsocial') . '</a>';
84 82 }