[wp-hackers] Why WP_Error Sucks

Ryan McCue lists at rotorised.com
Tue Jul 24 13:21:21 UTC 2012


Otto wrote:
> Exceptions and try/catch don't parse in PHP 4 environments, leading to
> fatal parsing errors.

I replied to your comment on my post, but to reiterate here: that's only
a problem for the very few files that are loaded before WP checks for
PHP 5+. These are small enough that it doesn't really matter (and is
really no different to protected/private keywords, etc).

-- 
Ryan McCue
<http://ryanmccue.info/>


More information about the wp-hackers mailing list