Skip to content

Commit f3fff76

Browse files
authored
Fix comment on esc_html__ usage in ValidateDomain.php
Updated comment to reflect the change in syntax validity.
1 parent 8e7fa93 commit f3fff76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WPForms/Tests/TestFiles/PHP/ValidateDomain.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
_nx( 'Invalid', 'Invalid', 10, 'Invalid', 'wpforms' );
3131

3232

33-
// Valid syntax when the text domain is not specified.
34-
esc_html__( 'Valid' );
33+
// Invalid syntax when the text domain is not specified.
34+
esc_html__( 'Invalid' );
3535

3636
// Invalid - not a string as the last argument.
3737
$bulk_counts['read'] = 25;

0 commit comments

Comments
 (0)