- Navigate to the WordPress plugin directory of your development installation.
- Navigate to the ch8-bug-tracker directory and edit ch8-bug-tracker.php.
- Find the ch8bt_config_page function and locate the bracket that closes out the if statement (<?php } ?>) situated toward the end of its body.
- Insert the following code block right before the closing bracket from the if statement identified in the previous step:
<?php } elseif ( isset( $_GET['id'] ) && ( 'new' == $_GET['id'] || is_numeric( $_GET['id'] ) ) ) { $bug_id = intval( $_GET['id'] ); $mode = 'new'; // Query database if numeric id is present if ( $bug_id > 0 ) { $bug_query = 'select * from ' . $wpdb->get_blog_prefix(); $bug_query .= 'ch8_bug_data where bug_id = ...