No Description

debugger.php 1.1KB

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Loading the various functions used for Jetpack Debugging.
  4. *
  5. * @package automattic/jetpack
  6. */
  7. /* Jetpack Connection Testing Framework */
  8. require_once 'debugger/class-jetpack-cxn-test-base.php';
  9. /* Jetpack Connection Tests */
  10. require_once 'debugger/class-jetpack-cxn-tests.php';
  11. /* Jetpack Debug Data */
  12. require_once 'debugger/class-jetpack-debug-data.php';
  13. /* The "In-Plugin Debugger" admin page. */
  14. require_once 'debugger/class-jetpack-debugger.php';
  15. /* General Debugging Functions */
  16. require_once 'debugger/debug-functions.php';
  17. add_filter( 'debug_information', array( 'Jetpack_Debug_Data', 'core_debug_data' ) );
  18. add_filter( 'site_status_tests', 'jetpack_debugger_site_status_tests' );
  19. add_action( 'wp_ajax_health-check-jetpack-local_testing_suite', 'jetpack_debugger_ajax_local_testing_suite' );
  20. add_action( 'admin_enqueue_scripts', 'jetpack_debugger_enqueue_site_health_scripts' );
  21. add_action( 'wp_ajax_jetpack_sync_progress_check', 'jetpack_debugger_sync_progress_ajax' );
  22. add_action( 'wp_ajax_jetpack_debugger_full_sync_start', 'jetpack_debugger_full_sync_start' );