[wp-hackers] 1.5.1: Important Bugs
Matthew Mullenweg
m at mullenweg.com
Tue Apr 5 04:21:42 GMT 2005
Ryan Boren wrote:
> I'll commit it tomorrow if there are no objections. Please check over
> the code. I changed it to use str_replace() instead of preg_replace().
> preg_replace() didn't seem necessary. str_replace() is faster.
It would be even faster if we didn't loop over each, both arguments to
str_replace can be arrays, though the array code won't be as pretty.
--
Matt Mullenweg
http://photomatt.net | http://wordpress.org
http://pingomatic.com | http://cnet.com
More information about the wp-hackers
mailing list