checkpoint: pre-audit baseline state

This commit is contained in:
Dwindi Ramadhana
2026-06-06 00:29:10 +07:00
parent 579aab1b2b
commit ae70e4aea9
38 changed files with 4061 additions and 3149 deletions

View File

@@ -218,6 +218,18 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php endforeach; ?>
</tbody>
</table>
<div class="form-check mt-3">
<input class="form-check-input" type="checkbox" id="wpaw-allow-openrouter-fallback"
name="wp_agentic_writer_settings[allow_openrouter_fallback]" value="1"
<?php checked( ! empty( $allow_openrouter_fallback ) ); ?> />
<label class="form-check-label" for="wpaw-allow-openrouter-fallback">
<?php esc_html_e( 'Allow automatic fallback to OpenRouter when selected provider fails', 'wp-agentic-writer' ); ?>
</label>
<div class="form-text text-warning">
<?php esc_html_e( 'Off by default to prevent unexpected OpenRouter charges.', 'wp-agentic-writer' ); ?>
</div>
</div>
</div>
</div>
</div>