Skip to content

Commit a0fa6f2

Browse files
committed
HTML API: Make META tag test data provider static.
Developed in WordPress#9318. Follow-up to [60502]. Props jonsurrell, mukesh27. See #63738. git-svn-id: https://develop.svn.wordpress.org/trunk@60503 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 59fa804 commit a0fa6f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/html-api/wpHtmlProcessorMetaTag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct( $html ) {
4747
/**
4848
* Data provider.
4949
*/
50-
public function data_unsupported_meta_tags(): array {
50+
public static function data_unsupported_meta_tags(): array {
5151
return array(
5252
'With charset' => array( '<meta charset="utf8">', 'Cannot yet process META tags with charset to determine encoding.' ),
5353
'With CHARSET' => array( '<meta CHARSET="utf8">', 'Cannot yet process META tags with charset to determine encoding.' ),

0 commit comments

Comments
 (0)