Handling receipt based on admin choice.

Consists a fix for CiviCRM4.2 and WordPress 3.5.1. Handling receipt
based on admin choice.