Skip to content

Commit

Permalink
Adding escaping function in wp_interactivity_data_wp_context PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ptesei committed Jun 13, 2024
1 parent 7f70d68 commit c907498
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 @@ -92,7 +92,7 @@ function wp_interactivity_config( string $store_namespace, array $config = array
*
* Example:
*
* <div <?php echo wp_interactivity_data_wp_context( array( 'isOpen' => true, 'count' => 0 ) ); ?>>
* <div <?php echo wp_kses_data( wp_interactivity_data_wp_context( array( 'isOpen' => true, 'count' => 0 ) ) ); ?>>
*
* @since 6.5.0
*
Expand Down

0 comments on commit c907498

Please sign in to comment.