diff --git a/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.inc b/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.inc index 679ce45f35..28ec5d6901 100644 --- a/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.inc +++ b/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.inc @@ -58,7 +58,7 @@ attachment_url_to_postid(); // error get_posts(); // warning wp_get_recent_posts(); // warning -get_children(); // error +get_children(); // warning wp_get_post_terms(); // error wp_get_post_categories(); // error wp_get_post_tags(); // error diff --git a/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.php b/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.php index 93d12c4998..998ab0bb36 100644 --- a/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.php +++ b/WordPress/Tests/VIP/RestrictedFunctionsUnitTest.php @@ -43,7 +43,6 @@ public function getErrorList() 55 => 1, 56 => 1, 57 => 1, - 61 => 1, 62 => 1, 63 => 1, 64 => 1, @@ -79,6 +78,7 @@ public function getWarningList() 19 => 1, 58 => 1, 59 => 1, + 61 => 1, 72 => 1, );