CRM-13689 fix - Print Case Report button (from Manage Case) throws a set of fatal errors in WordPress, but NOT in Drupal

http://issues.civicrm.org/jira/browse/CRM-13689
Merge pull request #1889 from monishdeb/CRM-13689

Crm 13689 fix - Print Case Report button (from Manage Case) throws a set of fatal errors in WordPress, but NOT in Drupal