Skip to content

Commit

Permalink
Update wp_interactivity_get_context types
Browse files Browse the repository at this point in the history
  • Loading branch information
DAreRodz committed May 24, 2024
1 parent 42e3e62 commit 48ebafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/interactivity-api/interactivity-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

0 comments on commit 48ebafd

Please sign in to comment.