Fixed PHP 5.4 E_STRICT errors with current()
Merge pull request #3721 from woothemes/php-strict-errors

E_STRICT in php5.4 for reference types.