kollapsminoriteten/wp-content/plugins/jetpack/modules/scan/scan.php

22 lines
490 B
PHP
Raw Permalink Normal View History

2020-06-23 13:49:54 +02:00
<?php
/**
* Jetpack Scan features that show up on the jetpack admin side.
* - Adds a admin bar notice when the site has threats.
*
2021-04-27 08:32:47 +02:00
* @package automattic/jetpack
2020-06-23 13:49:54 +02:00
*/
namespace Automattic\Jetpack\Scan;
2025-12-12 13:13:07 +01:00
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 );
}
2023-12-07 09:44:11 +01:00
if ( ! apply_filters( 'jetpack_disable_scan', false ) ) {
require_once __DIR__ . '/class-admin-bar-notice.php';
require_once __DIR__ . '/class-admin-sidebar-link.php';
2020-06-23 13:49:54 +02:00
2023-12-07 09:44:11 +01:00
Admin_Bar_Notice::instance();
Admin_Sidebar_Link::instance();
}