[wp-hackers] overriding pluggable.php functions

Ryan McCue ryanmccue at cubegames.net
Sat Jan 10 22:44:59 GMT 2009


Otto wrote:
> Alternatively, one could use Exceptions. Raise the exception, catch
> it, then do the default logic if it's the exception you're looking
> for. This would be the ideal way, but I'm not sure exceptions are 100%
> PHP4 compatible in all cases.
>   

Exceptions are PHP5+ only, unfortunately, so they're out of the picture
until WordPress goes PHP5+ only.

-- 
Ryan McCue
<http://cubegames.net/>



More information about the wp-hackers mailing list