@@ -1,19 +1,19 @@ |
||
1 | -<?php defined('WPINC') || die; ?> |
|
1 | +<?php defined( 'WPINC' ) || die; ?> |
|
2 | 2 | |
3 | 3 | <table class="glbb-grid"> |
4 | 4 | <thead> |
5 | 5 | <tr> |
6 | - <th><?= esc_html__('Timer Name', 'blackbar'); ?></th> |
|
7 | - <th><?= esc_html__('Memory Used', 'blackbar'); ?></th> |
|
8 | - <th><?= esc_html__('Total Time', 'blackbar'); ?></th> |
|
6 | + <th><?= esc_html__( 'Timer Name', 'blackbar' ); ?></th> |
|
7 | + <th><?= esc_html__( 'Memory Used', 'blackbar' ); ?></th> |
|
8 | + <th><?= esc_html__( 'Total Time', 'blackbar' ); ?></th> |
|
9 | 9 | </tr> |
10 | 10 | </thead> |
11 | 11 | <tbody> |
12 | - <?php foreach ($module->entries() as $entry) : ?> |
|
12 | + <?php foreach( $module->entries() as $entry ) : ?> |
|
13 | 13 | <tr> |
14 | - <td><?= esc_html($entry['name']); ?></td> |
|
15 | - <td><?= (string) size_format($entry['memory'], 2); ?></td> |
|
16 | - <td><?= esc_html($entry['time']); ?></td> |
|
14 | + <td><?= esc_html( $entry[ 'name' ] ); ?></td> |
|
15 | + <td><?= (string) size_format( $entry[ 'memory' ], 2 ); ?></td> |
|
16 | + <td><?= esc_html( $entry[ 'time' ] ); ?></td> |
|
17 | 17 | </tr> |
18 | 18 | <?php endforeach; ?> |
19 | 19 | </tbody> |