{p{p{p{p{p@{p@{p/debug/.dwz/x86_64-linux-gnu/libabsl20220623t64.debugn +5I%i.OWD 05b604e09af3bc45d43ef3b716a15eac34a7bb.debug.shstrtab.note.gnu.property.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.plt.sec.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.dynamic.data.bss.gnu_debugaltlink.gnu_debuglink  $1oD; 88CKo  (Xo8 8 @gx x PqB {v  p  %HH  Z\'\'|''x=x-=-=-?/x@0@@@@0@0R040 xed> $info The report data to add our health check to. * * @return array The modified report data. */ public static function filter_include_migration_health_check_info( array $info = [] ): array { $issue_reports = []; $health_check = tribe( Health_Check::class ); // Check if we have flagged as "migrated" but we show a mismatch of data in our tables. if ( ! $health_check->is_event_data_healthy() ) { $issue_reports[] = "Missing `Event` Table Data"; } if ( ! $health_check->is_occurrence_data_healthy() ) { $issue_reports[] = "Missing `Occurrences` Table Data"; } if ( $health_check->is_event_table_missing() ) { $issue_reports[] = "`Event` Table Missing"; } if ( $health_check->is_occurrence_table_missing() ) { $issue_reports[] = "`Occurrences` Table Missing"; } $reports = empty( $issue_reports ) ? 'Good!' : implode( ' | ', $issue_reports ); // Add health checks here. $migration_health_check = [ 'Custom Tables Health Check' => $reports // If no bad reports, it's good. ]; return array_merge( $info, $migration_health_check ); } /** * Handles the feature deactivation. * * @since 6.0.0 */ public static function deactivate() { $services = tribe(); // @todo Should we drop the tables here, gracefully, if no data was generated? $services->make( Schema_Builder::class )->clean(); } }