jdevalk/wordpress-seo — pull request #7 by sc0ttkclark (2013-02-28 21:54:55+00:00)
Title: Check wpseo_use_page_analysis before calculate

When saving, PHP fatals out when calculate_results tries to call 'Yoast_TextStatistics' but it doesn't exist, because wpseo_use_page_analysis has disabled it.

This extra check avoids running the page analysis related functionality during save / etc, which is where it fatals out.