refactor(2meet-data-optimizer-hivepress-addon): remove HPCT-era interceptors and query rewriters
- Delete 7 interceptors + 5 query rewriters that read/write hpct_* tables no site has (only an empty hpct_latepoint_idx exists) - Drop their loading/registration in TMDO_HP_Bootstrap, back-compat aliases, integration bootstrap, and ListingMetaInterceptorTest - Verify: unit 141 OK, integration 49 OK, bootstrap smoke OK; phpcs 34E/40W → 25E/28W - PR: PR-014
This commit is contained in:
@@ -29,8 +29,6 @@ define( 'TMDO_HIVEPRESS_FILE', TMDO_HIVEPRESS_PATH . '2meet-data-optimizer-hivep
|
||||
define( 'TMDO_HIVEPRESS_VERSION', '0.1.0' );
|
||||
|
||||
// ── AddOn classes ──────────────────────────────────────────────────────────
|
||||
// Superset of the unit bootstrap's list: the integration suite also exercises
|
||||
// the interceptors, which the unit suite does not load.
|
||||
|
||||
$tmdo_hp_files = array(
|
||||
'includes/class-tmdo-hivepress.php',
|
||||
@@ -54,12 +52,6 @@ $tmdo_hp_files = array(
|
||||
foreach ( glob( TMDO_HIVEPRESS_PATH . 'includes/hivepress/adapters/*.php' ) ?: array() as $tmdo_hp_glob ) {
|
||||
$tmdo_hp_files[] = 'includes/hivepress/adapters/' . basename( $tmdo_hp_glob );
|
||||
}
|
||||
foreach ( glob( TMDO_HIVEPRESS_PATH . 'includes/interceptors/*.php' ) ?: array() as $tmdo_hp_glob ) {
|
||||
$tmdo_hp_files[] = 'includes/interceptors/' . basename( $tmdo_hp_glob );
|
||||
}
|
||||
foreach ( glob( TMDO_HIVEPRESS_PATH . 'includes/query/*.php' ) ?: array() as $tmdo_hp_glob ) {
|
||||
$tmdo_hp_files[] = 'includes/query/' . basename( $tmdo_hp_glob );
|
||||
}
|
||||
|
||||
foreach ( $tmdo_hp_files as $tmdo_hp_file ) {
|
||||
$tmdo_hp_path = TMDO_HIVEPRESS_PATH . $tmdo_hp_file;
|
||||
|
||||
Reference in New Issue
Block a user