[wp-hackers] Re: [wp-svn] [5087] trunk: (int)er the dragon.

Matt Mullenweg m at mullenweg.com
Fri Mar 23 02:05:24 GMT 2007


Ryan Boren wrote:
> These can return WP_Error objects.  Casting to int breaks them.  I
> don't think we should cast to int return values from our own
> functions.  They should return an int or WP_Error as appropriate.

Thanks.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com


More information about the wp-hackers mailing list