As a Drupal developer, I'm well aware of the enormous sample bias inherent in this study: Drupal folks don't commit PHP to code forges because they commit it to Drupal.org, which built its own code forge back in the mid-2000s and has a community culture that strongly encourages its use.
Similarly, Wordpress runs a plugin repository where the Wordpress folks probably keep most of their code.
Meanwhile, this study also doesn't count CPAN as a code forge, so pitchfork-wielding Perl programmers will be arriving on this thread in 3...2...1 seconds to make this argument again, only in a much stronger form. Only a fraction of PHP programming involves Drupal or Wordpress, but my impression is that nearly everything that gets done in Perl is eligible for CPAN, which has been around longer than any of Github, SourceForge, Google Code or CodePlex.