| @@ -10,9 +10,9 @@ | ||
| 10 | 10 | <div class="metabox-holder"> |
| 11 | 11 | <div id="debug-log" class="postbox"> |
| 12 | 12 | <h2><?php esc_html_e( 'Debug Log', 'convertkit' ); ?></h2> |
| 13 | 13 | <p class="description"> |
| 14 | - <?php esc_html_e( 'Use this tool to help debug ConvertKit plugin functionality.', 'convertkit' ); ?><br /> | |
| 14 | + <?php esc_html_e( 'Use this tool to help debug Kit plugin functionality.', 'convertkit' ); ?><br /> | |
| 15 | 15 | <?php esc_html_e( 'For performance, the last 500 lines of the log are displayed. Use the Download Log option to review the full log.', 'convertkit' ); ?><br /> |
| 16 | 16 | </p> |
| 17 | 17 | |
| 18 | 18 | <textarea readonly="readonly" id="debug-log-textarea" class="large-text convertkit-monospace" rows="15"><?php echo esc_textarea( $log->read() ); ?></textarea> |
| @@ -27,16 +27,10 @@ | ||
| 27 | 27 | 'primary', |
| 28 | 28 | 'convertkit-download-debug-log', |
| 29 | 29 | false |
| 30 | 30 | ); |
| 31 | - | |
| 32 | - submit_button( | |
| 33 | - __( 'Clear log', 'convertkit' ), | |
| 34 | - 'secondary', | |
| 35 | - 'convertkit-clear-debug-log', | |
| 36 | - false | |
| 37 | - ); | |
| 38 | 31 | ?> |
| 32 | + <input type="submit" name="convertkit-clear-debug-log" id="convertkit-clear-debug-log" class="button button-secondary" value="<?php esc_attr_e( 'Clear log', 'convertkit' ); ?>" /> | |
| 39 | 33 | </p> |
| 40 | 34 | <p><?php esc_html_e( 'Log file', 'convertkit' ); ?>: <code><?php echo esc_attr( $log->get_filename() ); ?></code></p> |
| 41 | 35 | <?php |
| 42 | 36 | } |