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
22 lines
710 B
PHP
22 lines
710 B
PHP
<?php
|
|
// if uninstall.php is not called by WordPress, die
|
|
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
die;
|
|
}
|
|
|
|
if ( ! defined( 'BREEZE_PLUGIN_DIR' ) ) {
|
|
define( 'BREEZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
|
}
|
|
|
|
// Helper functions.
|
|
require_once BREEZE_PLUGIN_DIR . 'inc/helpers.php';
|
|
require_once BREEZE_PLUGIN_DIR . 'inc/functions.php';
|
|
require_once( BREEZE_PLUGIN_DIR . 'inc/breeze-configuration.php' );
|
|
//config to cache
|
|
require_once( BREEZE_PLUGIN_DIR . 'inc/cache/config-cache.php' );
|
|
// Load Store Local Files class.
|
|
require_once( BREEZE_PLUGIN_DIR . 'inc/class-breeze-store-files-locally.php' );
|
|
|
|
require_once( BREEZE_PLUGIN_DIR . 'inc/breeze-admin.php' );
|
|
|
|
Breeze_Admin::plugin_uninstall_hook();
|