Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
66.67% covered (warning)
66.67%
2 / 3
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2/**
3 * Module Name: Activity Log
4 * Module Description: A record of every event on your site, so you can see what happened and roll back when something goes wrong.
5 * Sort Order: 38
6 * Recommendation Order: 12
7 * First Introduced: 16.3-a.3
8 * Requires Connection: Yes
9 * Requires User Connection: Yes
10 * Auto Activate: Yes
11 * Module Tags: Recommended
12 * Feature: Security
13 * Additional Search Queries: activity, log, activity log, history, events, audit, audit log, rewind, restore, roll back, rollback
14 *
15 * @package automattic/jetpack
16 */
17
18use Automattic\Jetpack\Activity_Log\Jetpack_Activity_Log;
19
20if ( ! defined( 'ABSPATH' ) ) {
21    exit( 0 );
22}
23
24// Bootstrap the Activity Log package. This file is only loaded by
25// Jetpack::load_modules() when the `activity-log` module is active, so the
26// admin page and REST routes are wired up only while the module is on.
27Jetpack_Activity_Log::initialize();