Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 5
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * View template file for network activation notice.
4 *
5 * @html-template Jetpack::load_view
6 * @package automattic/jetpack
7 */
8
9if ( ! defined( 'ABSPATH' ) ) {
10    exit( 0 );
11}
12
13if ( isset( $_GET['jetpack-notice'] ) && 'dismiss' === $_GET['jetpack-notice'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
14    ?>
15<div id="message" class="error">
16    <p><?php esc_html_e( 'Jetpack is network-activated and notices cannot be dismissed.', 'jetpack' ); ?></p>
17</div>
18    <?php
19}