According to the MLB rulebook. Here is the definition of "Wild Pitch" and "Passed Ball".
10.13 Wild Pitches And Passed Balls
A wild pitch is defined in Rule 2.00 (Wild Pitch). A passed ball is a statistic charged against a catcher whose action has caused a runner or runners to advance, as set forth in this Rule 10.13.
(a) The official scorer shall charge a pitcher with a wild pitch when a legally delivered ball is so high, so wide or so low that the catcher does not stop and control the ball by ordinary effort, thereby permitting a runner or runners to advance. The official scorer shall charge a pitcher with a wild pitch when a legally delivered ball touches the ground or home plate before reaching the catcher and is not handled by the catcher, thereby permitting a runner or runners to advance. When the third strike is a wild pitch, permitting the batter to reach first base, the official scorer shall score a strikeout and a wild pitch.
(b) The official scorer shall charge a catcher with a passed ball when the catcher fails to hold or to control a legally pitched ball that should have been held or controlled with ordinary effort, thereby permitting a runner or runners to advance.
From my view, definately wild pitches.