diff --git a/src/wp-includes/interactivity-api/interactivity-api.php b/src/wp-includes/interactivity-api/interactivity-api.php index d10cc824c0950..a1a97542fc8c3 100644 --- a/src/wp-includes/interactivity-api/interactivity-api.php +++ b/src/wp-includes/interactivity-api/interactivity-api.php @@ -183,6 +183,6 @@ function wp_interactivity_data_wp_context( array $context, string $store_namespa * @param string $store_namespace Optional. The unique store namespace identifier. * @return array The context for the specified store namespace. */ -function wp_interactivity_get_context( string $store_namespace = '' ): array { +function wp_interactivity_get_context( ?string $store_namespace = null ): array { return wp_interactivity()->get_context( $store_namespace ); }