Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo and improve test description
  • Loading branch information
sirreal committed Aug 19, 2025
commit 3927310d9624be35a373f7d61cdad2257afd4d0d
4 changes: 2 additions & 2 deletions tests/phpunit/tests/blocks/editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,8 @@ public function data_block_editor_rest_api_preload_adds_missing_leading_slash()
* @covers ::block_editor_rest_api_preload
*
* Some valid JSON-encoded data is dangerous to embed in HTML without appropriate
* escaping. This test includes prints an example of such data that would prevent
* the enclosing `<script>` from closing on its apparent closer and remain open.
* escaping. This test includes an example of data that would prevent the enclosing
* `<script></script>` tag from closing on its apparent closer and remain open.
*/
public function test_ensure_preload_data_script_tag_closes() {
add_theme_support( 'html5', array( 'script' ) );
Expand Down