Skip to content

Commit

Permalink
Interactivity API: Variable name correction in api-reference.md (#60056)
Browse files Browse the repository at this point in the history
Unlinked contributors: steveariss.
  • Loading branch information
steveariss authored Mar 22, 2024
1 parent eaa34eb commit aa4c608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactivity/docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ This code
```php
wp_interactivity_state( 'myPlugin', array( 'greeting' => 'Hello, World!' ) );
$html = '<div data-wp-text="myPlugin::state.greeting"></div>';
$html_content = '<div data-wp-text="myPlugin::state.greeting"></div>';
$processed_html = wp_interactivity_process_directives( $html_content );
echo $processed_html;
```
Expand Down

1 comment on commit aa4c608

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in aa4c608.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8388295089
📝 Reported issues:

Please sign in to comment.