| @@ -1,0 +1,15 @@ | ||
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * View template file for network activation notice. | |
| 4 | + * | |
| 5 | + * @html-template Jetpack::load_view | |
| 6 | + * @package automattic/jetpack | |
| 7 | + */ | |
| 8 | + | |
| 9 | +if ( isset( $_GET['jetpack-notice'] ) && 'dismiss' === $_GET['jetpack-notice'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended | |
| 10 | + ?> | |
| 11 | +<div id="message" class="error"> | |
| 12 | + <p><?php esc_html_e( 'Jetpack is network-activated and notices cannot be dismissed.', 'jetpack' ); ?></p> | |
| 13 | +</div> | |
| 14 | + <?php | |
| 15 | +} | |