You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$results = $wpdb->get_results( "SELECT menu_order FROM $wpdb->posts WHERE ID = " . $id ); // unsafe
}
}
}
functioninsecure_wpdb_query_14() {
Haven't checked if it's causing any tangible problems, but it may cause confusion, etc. DirectDBUnitTest::test_unsafe_code does have an error, which might be related: Undefined array key 9 but it's not immediately obvious because of #50. Probably a low priority.
The text was updated successfully, but these errors were encountered:
wporg-code-analysis/tests/db/DirectDBUnitTest.php-bad.inc
Lines 123 to 146 in c04e35a
Haven't checked if it's causing any tangible problems, but it may cause confusion, etc.
DirectDBUnitTest::test_unsafe_code
does have an error, which might be related:Undefined array key 9
but it's not immediately obvious because of #50. Probably a low priority.The text was updated successfully, but these errors were encountered: