Skip to content

Commit 82db116

Browse files
committed
Update sanitize-term-field.php
1 parent 478d3a5 commit 82db116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/return/sanitize-term-field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
assertType('int<0, max>|string', sanitize_term_field(Faker::string(), Faker::string(), $termId, $taxonomy, 'edit'));
5555
assertType('int<0, max>|string', sanitize_term_field(Faker::string(), Faker::string(), $termId, $taxonomy, 'js'));
5656

57-
// Non constant field in any other context than raw => mixed
57+
// Non constant field in any other context than attribute|edit|js|raw => mixed
5858
assertType('mixed', sanitize_term_field(Faker::string(), Faker::string(), $termId, $taxonomy, 'db'));
5959
assertType('mixed', sanitize_term_field(Faker::string(), Faker::string(), $termId, $taxonomy, 'display'));
6060
assertType('mixed', sanitize_term_field(Faker::string(), Faker::string(), $termId, $taxonomy, 'rss'));

0 commit comments

Comments
 (0)