| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package Freemius |
| 4 | 4 | * @copyright Copyright (c) 2015, Freemius, Inc. |
| 5 | - * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
| 5 | + * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 | |
| 6 | 6 | * @since 1.1.7.3 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -11,20 +11,20 @@ | ||
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | $log_book = FS_Logger::get_log(); |
| 14 | 14 | ?> |
| 15 | -<h1><?php fs_echo( 'Log' ) ?></h1> | |
| 15 | +<h1><?php fs_echo_inline( 'Log' ) ?></h1> | |
| 16 | 16 | |
| 17 | 17 | <table class="widefat" style="font-size: 11px;"> |
| 18 | 18 | <thead> |
| 19 | 19 | <tr> |
| 20 | 20 | <th>#</th> |
| 21 | - <th><?php fs_echo( 'id' ) ?></th> | |
| 22 | - <th><?php fs_echo( 'type' ) ?></th> | |
| 23 | - <th><?php fs_echo( 'function' ) ?></th> | |
| 24 | - <th><?php fs_echo( 'message' ) ?></th> | |
| 25 | - <th><?php fs_echo( 'file' ) ?></th> | |
| 26 | - <th><?php fs_echo( 'timestamp' ) ?></th> | |
| 21 | + <th><?php fs_esc_html_echo_inline( 'ID', 'id' ) ?></th> | |
| 22 | + <th><?php fs_esc_html_echo_inline( 'Type' ) ?></th> | |
| 23 | + <th><?php fs_esc_html_echo_inline( 'Function' ) ?></th> | |
| 24 | + <th><?php fs_esc_html_echo_inline( 'Message' ) ?></th> | |
| 25 | + <th><?php fs_esc_html_echo_inline( 'File' ) ?></th> | |
| 26 | + <th><?php fs_esc_html_echo_inline( 'Timestamp' ) ?></th> | |
| 27 | 27 | </tr> |
| 28 | 28 | </thead> |
| 29 | 29 | <tbody> |
| 30 | 30 | |
| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | if ( isset( $log['file'] ) ) { |
| 59 | 59 | echo substr( $log['file'], $logger->get_file() ) . ':' . $log['line']; |
| 60 | 60 | } |
| 61 | 61 | ?></td> |
| 62 | - <td><?php echo number_format( 100 * ( $log['timestamp'] - WP_FS__SCRIPT_START_TIME ), 2 ) . ' ' . fs_text( 'ms' ) ?></td> | |
| 62 | + <td><?php echo number_format( 100 * ( $log['timestamp'] - WP_FS__SCRIPT_START_TIME ), 2 ) . ' ' . fs_text_x_inline( 'ms', 'milliseconds' ) ?></td> | |
| 63 | 63 | </tr> |
| 64 | 64 | <?php $i ++; endforeach ?> |
| 65 | 65 | </tbody> |
| 66 | 66 | </table> |