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
29 lines
No EOL
817 B
PHP
29 lines
No EOL
817 B
PHP
<?php
|
|
|
|
//phpcs:disable VariableAnalysis
|
|
// There are "undefined" variables here because they're defined in the code that includes this file as a template.
|
|
|
|
?>
|
|
<div id="akismet-plugin-container">
|
|
<div class="akismet-masthead">
|
|
<div class="akismet-masthead__inside-container">
|
|
<?php Akismet::view( 'logo' ); ?>
|
|
</div>
|
|
</div>
|
|
<div class="akismet-lower">
|
|
<?php Akismet_Admin::display_status(); ?>
|
|
<div class="akismet-boxes">
|
|
<?php
|
|
|
|
if ( Akismet::predefined_api_key() ) {
|
|
Akismet::view( 'predefined' );
|
|
} elseif ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) {
|
|
Akismet::view( 'connect-jp', compact( 'akismet_user' ) );
|
|
} else {
|
|
Akismet::view( 'activate' );
|
|
}
|
|
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|