PluginProbe
MaxButtons – Create buttons / 6.28
MaxButtons – Create buttons v6.28
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
← All changes | classes/admin-class.php +2 -2 7.1.16.28 View file →
@@ -251,9 +251,9 @@
251 251 if ($paged > 0)
252 252 $args["paged" ] = $paged;
253 253
254 254
255 - $button = MB()->getClass('button');
255 + $button = new MaxButton();
256 256 $buttons = $admin->getButtons($args);
257 257
258 258 echo "<div id='maxbuttons'><div class='preview-buttons'>";
259 259
@@ -359,9 +359,9 @@
359 359 if (! is_dir($dir))
360 360 return false;
361 361
362 362 $file = fopen( trailingslashit($dir) . "/maxbuttons.log", "a+");
363 - $now = new \DateTime();
363 + $now = new DateTime() ;
364 364 $now_format = $now->format("d/M/Y H:i:s");
365 365
366 366 $write_string = "[" . $now_format . "] $action - $message ( $caller )";
367 367 fwrite($file, $write_string);