PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3
Jetpack – WP Security, Backup, Speed, & Growth v16.3
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php +2 -2 12.0.3 → 16.3 View file →
@@ -67,9 +67,9 @@
67 67 case 'public-api.wordpress.com':
68 68 case 'jetpack.wordpress.com':
69 69 case 'jetpack.com':
70 70 case 'dashboard.wordpress.com':
71 - $host = isset( $headers['Host'] ) ? $headers['Host'] : $url_host;
71 + $host = $headers['Host'] ?? $url_host;
72 72 $original_url = $url;
73 73 $url = preg_replace(
74 74 '@^(https?://)' . preg_quote( $url_host, '@' ) . '(?=[/?#].*|$)@',
75 75 '${1}' . $sandbox,
@@ -222,9 +222,9 @@
222 222 * constant is set.
223 223 *
224 224 * Attached to the `admin_bar_menu` action.
225 225 *
226 - * @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
226 + * @param \WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar instance.
227 227 */
228 228 public function admin_bar_add_sandbox_item( $wp_admin_bar ) {
229 229 if ( ! Constants::get_constant( 'JETPACK__SANDBOX_DOMAIN' ) ) {
230 230 return;