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-collections.php +1 -17 1.181.5 View file →
@@ -137,24 +137,8 @@
137 137 else
138 138 return false; // no binds, don't check.
139 139 }
140 140
141 - // When MB PRO is configured to output CSS via file.
142 - static function outputFileCSS()
143 - {
144 - $collection_id = intval($_GET['id']);
145 - $doc_id = intval($_GET['doc']);
146 - $collection = new collection($collection_id);
147 - $css = $collection->getDisplayCSS($doc_id);
148 - if ($css)
149 - {
150 - header( "Content-type: text/css; charset: UTF-8" );
151 - echo $css;
152 - }
153 - exit();
154 -
155 - }
156 -
157 141 /* Try to find the current place we are at in the site ( front / blog / page etc ) .*/
158 142 protected static function getCurrentHook()
159 143 {
160 144 $hook = '';
@@ -191,9 +175,9 @@
191 175 $hook = 'display_' . $this_post_type;
192 176 }
193 177
194 178 }
195 -
179 +
196 180
197 181 return $hook;
198 182 }
199 183