Warnings when importing Theme Unit Test
-
I just used the latest version of Theme Unit Test supplied by WordPress itself (codex) and got some warnings when importing:
Undefined variable: _menu_item_type
Type: PHP Notice
Line: 890
File: /myurl/wp-content/plugins/wordpress-importer/wordpress-importer.php
(this occurs 3 times also in line 888 and 886)Array to string conversion
Type: PHP Notice
Line: 884
File: /myurl/wp-content/plugins/wordpress-importer/wordpress-importer.phpwp_get_http is deprecated since version 4.4.0! Use WP_Http instead.
Type: PHP Notice
Line: 3831
File: /myurl/wp-includes/functions.phpI am using PHP 7.1
Can somebody analyse and correct?
[ No bumping please. ]
The topic ‘Warnings when importing Theme Unit Test’ is closed to new replies.