PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.89
WindPress – Tailwind CSS integration for WordPress v3.2.89
3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 All 143 releases
← All changes | src/Utils/Debug.php +3 -3 3.0.163.2.89 View file →
@@ -26,9 +26,9 @@
26 26 private static Stopwatch $stopwatch;
27 27 /**
28 28 * Get the stopwatch instance.
29 29 */
30 - public static function stopwatch() : Stopwatch
30 + public static function stopwatch(): Stopwatch
31 31 {
32 32 if (!isset(self::$stopwatch)) {
33 33 self::$stopwatch = new Stopwatch(\true);
34 34 }
@@ -45,14 +45,14 @@
45 45 $stopwatchEvent = self::stopwatch()->getSectionEvents('__root__');
46 46 if ($stopwatchEvent === []) {
47 47 return;
48 48 }
49 - $log = '=== ' . \gmdate('Y-m-d H:i:s', \time()) . ' ===' . \PHP_EOL;
49 + $log = '=== ' . gmdate('Y-m-d H:i:s', time()) . ' ===' . \PHP_EOL;
50 50 foreach ($stopwatchEvent as $ev) {
51 51 $log .= (string) $ev . \PHP_EOL;
52 52 }
53 53 $log .= \PHP_EOL;
54 - $path = \wp_upload_dir()['basedir'] . '/windpress/debug/stopwatch.log';
54 + $path = wp_upload_dir()['basedir'] . '/windpress/debug/stopwatch.log';
55 55 try {
56 56 \WindPress\WindPress\Utils\Common::save_file($log, $path, \FILE_APPEND);
57 57 } catch (Throwable $throwable) {
58 58 }