paulirish/infinite-scroll — pull request #172 by benbalter (2012-05-20 17:35:28+00:00)
Title: Update presets.php to use wp_get_themes since get_themes is deprecated starting in 3.4

Note: in 3.4, the way WordPress organizes themes changed significantly. Themes are now keyed by theme slug (stylesheet) rather than by theme name (title).

As a result, there's a bit of duplication / normalizing of theme data to ensure back compatability pre 3.4.

Internally, presets.php always expects, and always returns data keyed to theme slug, and translates it internally for pre-3.4 functions as needed.

This fixes #169.