@@ -7,7 +7,8 @@ discard block |
||
| 7 | 7 | <td><?= __('No entries found.', 'blackbar'); ?></td> |
| 8 | 8 | </tr> |
| 9 | 9 | </tbody> |
| 10 | - <?php else : ?> |
|
| 10 | + <?php else { |
|
| 11 | + : ?> |
|
| 11 | 12 | <thead> |
| 12 | 13 | <tr> |
| 13 | 14 | <th>Message</th> |
@@ -18,7 +19,9 @@ discard block |
||
| 18 | 19 | <tbody> |
| 19 | 20 | <?php foreach ($profiler->entries() as $entry) : ?> |
| 20 | 21 | <tr> |
| 21 | - <td><?= esc_html($entry['name']); ?></td> |
|
| 22 | + <td><?= esc_html($entry['name']); |
|
| 23 | +} |
|
| 24 | +?></td> |
|
| 22 | 25 | <td style="text-align: right;"><?= esc_html(sprintf('%.2f', $entry['time'])); ?> ms</td> |
| 23 | 26 | <td style="text-align: right;"><?= esc_html($entry['memory']); ?> KB</td> |
| 24 | 27 | </tr> |
@@ -8,9 +8,12 @@ |
||
| 8 | 8 | </tr> |
| 9 | 9 | </tbody> |
| 10 | 10 | </table> |
| 11 | -<?php else : ?> |
|
| 11 | +<?php else { |
|
| 12 | + : ?> |
|
| 12 | 13 | <form method="get" class="glbb-actions-filter"> |
| 13 | - <input class="glbb-input" type="text" name="glbb_actions_callback" id="glbb_actions_callback" placeholder="<?= __('Find Callbacks Containing', 'blackbar'); ?>"> |
|
| 14 | + <input class="glbb-input" type="text" name="glbb_actions_callback" id="glbb_actions_callback" placeholder="<?= __('Find Callbacks Containing', 'blackbar'); |
|
| 15 | +} |
|
| 16 | +?>"> |
|
| 14 | 17 | <input class="glbb-input glbb-input-small" type="text" name="glbb_actions_min_time" id="glbb_actions_min_time" placeholder="<?= __('Minimum Total Time', 'blackbar'); ?>"> |
| 15 | 18 | </form> |
| 16 | 19 | <table style="top:-10px;"> |
@@ -6,11 +6,14 @@ |
||
| 6 | 6 | <tr> |
| 7 | 7 | <td><?= __('No entries found.', 'blackbar'); ?></td> |
| 8 | 8 | </tr> |
| 9 | - <?php else : ?> |
|
| 9 | + <?php else { |
|
| 10 | + : ?> |
|
| 10 | 11 | <?php foreach ($console->entries() as $entry) : ?> |
| 11 | 12 | <tr> |
| 12 | 13 | <td class="glbb-small"> |
| 13 | - <span class="glbb-info glbb-<?= $entry['errname']; ?>"> |
|
| 14 | + <span class="glbb-info glbb-<?= $entry['errname']; |
|
| 15 | +} |
|
| 16 | +?>"> |
|
| 14 | 17 | <?= esc_html($entry['name']); ?> |
| 15 | 18 | </span> |
| 16 | 19 | </td> |