[wp-hackers] 1.5.1: Important Bugs

Ryan Boren ryan at boren.nu
Tue Apr 5 17:26:47 GMT 2005


On Mon, 2005-04-04 at 21:21 -0700, Matthew Mullenweg wrote:
> 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.

I added it as-is for now.  I'll go back and split the arrays later.

Ryan




More information about the wp-hackers mailing list