This commit introduces a more reliable and consistent approach to setting up the development environment using backups: - Add setup-from-backup.sh script for environment setup from existing backups - Standardize script naming and organization - Move obsolete scripts to bin/obsolete directory - Update documentation with new workflow instructions - Create migration guide for transitioning to new workflow - Update Memory Bank with workflow improvements The new workflow provides: - More reliable environment setup - Faster setup process - Offline development capability - Consistent development environments across team members Breaking changes: - setup-dev.sh is replaced by setup-from-backup.sh - sync-and-setup.sh is replaced by separate scripts - verify-with-wpcli.sh is no longer used Migration path is documented in MIGRATION_GUIDE.md
14 lines
1 KiB
PHP
14 lines
1 KiB
PHP
<div class="akismet-enter-api-key-box centered">
|
|
<button class="akismet-enter-api-key-box__reveal"><?php esc_html_e( 'Manually enter an API key', 'akismet' ); ?></button>
|
|
<div class="akismet-enter-api-key-box__form-wrapper">
|
|
<form action="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" method="post">
|
|
<?php wp_nonce_field( Akismet_Admin::NONCE ); ?>
|
|
<input type="hidden" name="action" value="enter-key">
|
|
<h3 class="akismet-enter-api-key-box__header" id="akismet-enter-api-key-box__header"><?php esc_html_e( 'Enter your API key', 'akismet' ); ?></h3>
|
|
<div class="akismet-enter-api-key-box__input-wrapper">
|
|
<input id="key" name="key" type="text" size="15" value="" placeholder="<?php esc_attr_e( 'API key', 'akismet' ); ?>" class="akismet-enter-api-key-box__key-input regular-text code" aria-labelledby="akismet-enter-api-key-box__header">
|
|
<input type="submit" name="submit" id="submit" class="akismet-button" value="<?php esc_attr_e( 'Connect with API key', 'akismet' ); ?>">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|