0 ) { global $wpdb; $tt24_table_entries = $wpdb->prefix . 'tt24_entries'; $tt24_table_fields = $wpdb->prefix . 'tt24_entry_fields'; $tt24_table_forms = $wpdb->prefix . 'tt24_forms'; // Fetch the Parent Entry and join the Form Title // FIX: Silencing false-positive DB warnings // phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared // phpcs:disable WordPress.DB.DirectDatabaseQuery.DirectQuery // phpcs:disable WordPress.DB.DirectDatabaseQuery.NoCaching $tt24_entry = $wpdb->get_row( $wpdb->prepare( " SELECT e.*, f.title as form_name, f.form_settings FROM {$tt24_table_entries} e LEFT JOIN {$tt24_table_forms} f ON e.form_id = f.id WHERE e.id = %d ", $tt24_entry_id ) ); // phpcs:enable if ( ! $tt24_entry ) { echo '
' . esc_html__( 'Error: Entry not found or has been deleted.', '24tt-unrestricted-forms' ) . '
' . esc_html__( 'Error: The entries table class could not be loaded.', '24tt-unrestricted-forms' ) . '
'; return; } $tt24_entries_table = new TT24_Entries_List_Table(); $tt24_entries_table->prepare_items(); ?>%s