diff options
Diffstat (limited to 'plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php')
-rw-r--r-- | plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php index 12577b09..9f66d436 100644 --- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php +++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php @@ -20,7 +20,7 @@ use Automattic\Jetpack\Status; */ class JITM { - const PACKAGE_VERSION = '2.2.0'; + const PACKAGE_VERSION = '2.2.17'; /** * The configuration method that is called from the jetpack-config package. @@ -198,7 +198,7 @@ class JITM { $message_path = $this->get_message_path(); $query_string = _http_build_query( $_GET, '', ',' ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended - $current_screen = wp_unslash( $_SERVER['REQUEST_URI'] ); + $current_screen = isset( $_SERVER['REQUEST_URI'] ) ? wp_unslash( $_SERVER['REQUEST_URI'] ) : ''; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput -- Escaped below ?> <div class="jetpack-jitm-message" data-nonce="<?php echo esc_attr( wp_create_nonce( 'wp_rest' ) ); ?>" |